MediaBrowser / Emby.AutoOrganize

Auto-organize plugin for Emby Server
MIT License
21 stars 18 forks source link

Slash ('/') in MovieFolderPattern gets replaced by Space (' ') in GetValidFilename #33

Open kreiger opened 4 years ago

kreiger commented 4 years ago

I like to organize my movies by year/name, e.g. "Library/Movies/2019/Movie name (2019)/".

When i set Movie folder pattern to "%my/%mn (%my)", the slash gets replaced by a space, and the movie gets sorted into "Library/Movies/2019 Movie name (2019)/".

Not sure what the best way to solve this is, but i don't think slash should be considered an invalid char for this pattern.

LukePulverenti commented 4 years ago

Hi, I'm pretty sure that option is intended to be filename only and is not intended to contain directory separators. Also I thought there was an option about putting movies into their own folders but i could be wrong.

kreiger commented 4 years ago

This is the option for the directory name.

It'd be nice if it could be extended to contain directory separators for more than one level of directories, so consider this a feature request please.