Page 1 of 1

New filename adds file to subfolders

Posted: 10 May 2020, 02:37
by pattcz
I encounter maybe some weird behaviour. When new filename is for example "Dorohedoro - 1x02 - In the Bag | Eat Quietly During Meals | My Neighbor the Sorcerer.mkv" (without quotes) , then it create multiple subfolders "In the Bag/Eat Quietly During Meals/My Neighbour the Sorcerer.mkv"

Can be this avoided without manual correction ?
Thank you for suggestion.

Re: New filename adds file to subfolders

Posted: 10 May 2020, 04:16
by rednoah
Are you using a custom format?

:arrow: I recommend using {plex} instead, that'll implicitly take care of everything:
viewtopic.php?t=4116

Re: New filename adds file to subfolders

Posted: 10 May 2020, 06:18
by pattcz
i am using format {n} - {s00e00} - {t} , but if it scrap name with "/" for example from tvdb or anidb it create subfolder. If i manually delete all "/" it rename correctly. Is there some thing to ignore "/" in name ?

Re: New filename adds file to subfolders

Posted: 10 May 2020, 07:59
by rednoah
Your format is responsible for generating the appropriate destination path, that includes dealing (or not dealing) with "/" in some form or shape depending on your preferences:
https://www.filebot.net/naming.html


:arrow: I recommend using {plex.name} as format instead, since the {plex} binding will implicitly take care of all the corner cases including this one:
viewtopic.php?t=4116

Re: New filename adds file to subfolders

Posted: 10 May 2020, 14:03
by pattcz
Ok , i willl try it.