hi,
I use the this script http://www.filebot.net/scripts/sorty.groovy for renaming tv series.
when the title of the episode contains slashes (like http://tv-series.me/switched-at-birth-s ... eeddesire/) the rename doesn't sanitizes the slashes by converting them to something safe but blindly creates the subdirectoies (here /human/desire.mp4) and creates a mess.
is there a workaround?
stork
slashes in titles create subdirs when renaming
Re: slashes in titles create subdirs when renaming
p.s. this is on windows..
Re: slashes in titles create subdirs when renaming
The path is entirely defined by the formats you've set. You can set any special handling and custom replacement logic there.
I suppose here's the issue:
(complex bindings give you direct access to the object model but there's no auto-cleanup)
Where you should use something like:
(simple string bindings include auto-cleanup of path separators)
I suppose here's the issue:
Code: Select all
{episode}
Where you should use something like:
Code: Select all
{n} - {s00e00} - {t}
Please read the FAQ and How to Request Help.
Re: slashes in titles create subdirs when renaming
Hi the problem is when you use for example {localize.eng.t} it does not sanitize, should like {t}
Re: slashes in titles create subdirs when renaming
Unfortunately, the format engine can only sanitize top-level bindings implicitly. If you do more complex things in your code then you need to sanitize things yourself as desired.
e.g.
e.g.
Code: Select all
{localize.eng.t.slash(' ')}
Please read the FAQ and How to Request Help.