Unwanted spaces after re-install

Support for Windows users
Post Reply
fvb
Posts: 12
Joined: 27 Mar 2017, 19:46

Unwanted spaces after re-install

Post by fvb »

I use Filebot now and then and managed to write some useful syntax some time ago. After a re-install of Win 10 and FileBot from Appstore (4.7.13) it seems as my previous syntax now gives me unwanted spaces when renaming.

In the "Episode Format" window my expressions are like:

Code: Select all

{'S'+s.pad(2)}
{'.'+y}
This outputs as "S01 .2002", eg there is an extra space after S01.

I use linebreaks between the expressions for better readability. Removing the linebreaks also removes the extra space:

Code: Select all

{'S'+s.pad(2)}{'.'+y}
This outputs as "S01.2002", as it did before the re-install.

This is driving me nuts! What am I doing wrong?
User avatar
rednoah
The Source
Posts: 22976
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Unwanted spaces after re-install

Post by rednoah »

I see. This was never specified one way or another. I guess some internal change at some point caused different behaviour.
:idea: Please read the FAQ and How to Request Help.
fvb
Posts: 12
Joined: 27 Mar 2017, 19:46

Re: Unwanted spaces after re-install

Post by fvb »

I back-traced this and found that it was introduced in 4.7.9 (4.7.8 works OK).
rednoah wrote: 12 Oct 2017, 21:17 I see. This was never specified one way or another. I guess some internal change at some point caused different behaviour.
User avatar
rednoah
The Source
Posts: 22976
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Unwanted spaces after re-install

Post by rednoah »

Fixed. The next release will restore the old behavior, so that the following two naming expressions can be considered equivalent:

Code: Select all

{n} - {s00e00} - {t}

Code: Select all

{n}
 - 
{s00e00}
 - 
{t}
:idea: Please read the FAQ and How to Request Help.
fvb
Posts: 12
Joined: 27 Mar 2017, 19:46

Re: Unwanted spaces after re-install

Post by fvb »

rednoah wrote: 18 Oct 2017, 11:30 Fixed. The next release will restore the old behavior, so that the following two naming expressions can be considered equivalent:
Sweet! :D
fvb
Posts: 12
Joined: 27 Mar 2017, 19:46

Re: Unwanted spaces after re-install

Post by fvb »

rednoah wrote: 18 Oct 2017, 11:30 Fixed. The next release will restore the old behavior, so that the following two naming expressions can be considered equivalent
Works like a charm. Thanks!
User avatar
rednoah
The Source
Posts: 22976
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Unwanted spaces after re-install

Post by rednoah »

Thanks for getting back to me with a confirmation that it works now. :)
:idea: Please read the FAQ and How to Request Help.
Post Reply