Dutchsea
User
| Posts: 60 |   |

|
Re: split movies - 2008/08/02 16:09
Hi Klaas,
I think I have found what causing this issue with the files names.
My TV series are files as follows:
/volume1/video/series/series name/Season #/series name - {s}x{e} - episode name
(where {s} is the season number and {e} is the episode number)
Examples: /volume1/video/series/House/Season 3/House - 3x11 - Words and Deeds.avi /volume1/video/series/Bones/Season 1/House - 1x03 - A Boy in the Tree.avi /volume1/video/series/Blake's 7/Season 4/Blake's 7 - 4x06 - Headhunter.avi
I use 1 media location for all TV shows: /volume1/video/series
During the media search the files are checked for series name, season number, episode number and episode name, based on the file name and the directories in which the file is stored.
I noticed via the log that the choice of the media location (set in the config menu) determines which directories are used in the check.
In my example using the media location /volume1/video/series the check is based on the sub-directories and file name of /volume1/video/series: series name/Season #/series name - {s}x{e} - episode name
So for /volume1/video/series/House/Season 3/House - 3x11 - Words and Deeds.avi the following path is used in the check:
/House/Season 3/House - 3x11 - Words and Deeds.avi
This is called the "Expressions to test for path" in the log. The 12 ways used to test the expression (the array part in the log) are not compatible with this path. You can notice that in my case the path has the information about the series name (house) twice: once in the directory name (House) and once in the filename (House). Also the season number information is listed twice: once in the directory name (Season 3) ans once in the filename (3x11)
The 12 ways used to test the path (the array) are simply not designed to handle paths with double information.
So what to do (in my case):
A. I can change the media location (in the config menu) to the directory where the files are stored. In my example change it to:
/volume1/video/series/House/Season 3 (used to be /volume1/video/series)
In that case the path used in the check changes to :
House - 3x11 - Words and Deeds.avi (note that the directories house and season 3 are gone)
And this path works fine (fits well with rule 2 of the array check)
It does mean that I need to add separate media locations in the config menu for each each season of all series. This will create a lot of media locations. I hope this does not have an effect on the performance (testing this now)
B. Changing all the files names by deleting the series name and the season number. (And keep the media location: /volume1/video/series)
In my example the file name changes to:
volume1/video/series/House/Season 3/11 - Words and Deeds.avi (note that the series name House and the episode number 3x have been deleted from the file name)
In that case the path used in the check changes to:
House/Season 3/11 - Words and Deeds.avi
This seems to fit well with rule 4 of the array check.
Concluding:
As in my case adding the media locations is much less work compared to changing all files names, I used option A.
I am not sure if this is the way it should work. I dont remember that I had this issues in version 1.20.
Long story but it may help others with the same problem.
SwissCenter 1.20.1 Synology CS407 firmware DSM 2.0-0598 Pinnacle SC200 - firmware 21-63 Windows XP SP2 Linux on Synology PHP 5.2.0 MySQL 5.0.51 Apache 2.2.3 (Unix) |