multiple move_to entries doesn't seem to work

May 5, 2011 at 11:36 PM

First of all, great script.

I've tried various combinations of multiple move_to entries but the second entry never works.  The first one always works.  Log shows the second entry being detected, then checking the dest folder but no moving and no errors -- seems like it just gets skipped.

Snippet of log example:

 

Processing Family Guy_WTTGDT_2011_05_01_19_36_12.wtv
... title is 'Family Guy'
... FetchSeriesID returning 75978 from cache
... returning default language code en
... SeriesIsInIgnoreList
...... ignore list is empty
...... returning False
... SeriesIsNotInOnlyList
...... only list is empty
...... returning False
... retrieved episode information from cache
... testing against the subtitle metadata
... trying to find an episode that matches 'And Then There Were Fewer'
... matched against season 9 and episode 1
... got interim name of Family Guy - S09E01 - And Then There Were Fewer.wtv
... remapped name is Family Guy - S09E01 - And Then There Were Fewer.wtv
... checking S:\ServerFolders\Recorded TV\TV\Family Guy
... checking D:\tvencoding\Family Guy
... creating series folder in S:\ServerFolders\Recorded TV\TV\Family Guy
... creating season folder in S:\ServerFolders\Recorded TV\TV\Family Guy\Season 09
... moving to 'S:\ServerFolders\Recorded TV\TV\Family Guy\Season 09\Family Guy - S09E01 - And Then There Were Fewer.wtv'

Coordinator
May 6, 2011 at 1:18 PM

Thanks for the feedback.

I'll start by describing how the script should be working. When it has more than one "move to" folder, it looks under each path to see if there is a folder that matches the programme's name. This is shown in your log output with:

... checking S:\ServerFolders\Recorded TV\TV\Family Guy
... checking D:\tvencoding\Family Guy

If the script finds a folder with the programme name, it will use that "move to" folder. If it doesn't find a folder, it will always create the programme folder under the first "move to" folder.

So, if you need or want the programmes to be stored anywhere other than the first "move to" folder, you must manually create the programme folder under the appropriate "move to" folder path. But please only create one otherwise (looking at the script) it is likely that the script will always use the last one it finds.

Hopefully the above makes sense and also fits in with what you are seeing on your computer.

Regards

Philip