You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original issue 1803 created by Omertron on 2011-01-24T10:35:35.000Z:
The best way to go about this is have a conf file that lets a user make there own regex code to tell the scanner to scan the dir name rather then the file name. Example Say I have a folder structure like so
-Californication-S01
--Californication.S01E01.DVDRip.XviD
---xxx-cali101.r00
--Californication.S01E02.DVDRip.XviD
---xxx-cali102.r00
With the above example we have two problems one is yamj cant tell its tv the next is yamj cant tell what tv show it is. If we could make our own regex to do this for us it does not break yamj for the rest of the people
in my conf It would match this xxx-cali101.r00 which in turn we can then have yamj say ok the file name matches the regex string Scan the directory name of one up from the file. So it would pull Californication.S01E01.DVDRip.XviD as the name. Which you could pull the name of the show the season and episode to pass on to the scanner. There only becomes a slight problem with this is when you also want to include nfo files with said example. Two options are look for any nfo in the one up directory or match the nfo to the original xxx-cali101.r00
The text was updated successfully, but these errors were encountered:
Original issue 1803 created by Omertron on 2011-01-24T10:35:35.000Z:
The best way to go about this is have a conf file that lets a user make there own regex code to tell the scanner to scan the dir name rather then the file name. Example Say I have a folder structure like so
-Californication-S01
--Californication.S01E01.DVDRip.XviD
---xxx-cali101.r00
--Californication.S01E02.DVDRip.XviD
---xxx-cali102.r00
With the above example we have two problems one is yamj cant tell its tv the next is yamj cant tell what tv show it is. If we could make our own regex to do this for us it does not break yamj for the rest of the people
Using this regex
(s[0-9]{1,2}e[0-9]{1,2})|^(xxx|xxxx)-.+[0-9]{2,}.|[0-9]+x[0-9]+..+-xxx|.+.[0-9]{2,}..+-(xxx)|hdtv-xxx|hdtv..+xxxx
in my conf It would match this xxx-cali101.r00 which in turn we can then have yamj say ok the file name matches the regex string Scan the directory name of one up from the file. So it would pull Californication.S01E01.DVDRip.XviD as the name. Which you could pull the name of the show the season and episode to pass on to the scanner. There only becomes a slight problem with this is when you also want to include nfo files with said example. Two options are look for any nfo in the one up directory or match the nfo to the original xxx-cali101.r00
The text was updated successfully, but these errors were encountered: