lad1337 / Sick-Beard

PVR & episode guide that downloads and manages all your TV shows
http://code.google.com/p/sickbeard/
GNU General Public License v3.0
70 stars 26 forks source link

Air by date shows are not working properly in anime-development #13

Open orangepeelbeef opened 11 years ago

orangepeelbeef commented 11 years ago

The show is not marked as an anime show, it is marked as air by date, but the post processor seems to think it's an anime.

Processing folder /opt/downloads/incoming/The.Colbert.Report.2013.09.04.Gary.England.720p.HDTV.x264-EVOLVE Processing /opt/downloads/incoming/The.Colbert.Report.2013.09.04.Gary.England.720p.HDTV.x264-EVOLVE/The.Colbert.Report.2013.09.04.Gary.England.720p.HDTV.x264-EVOLVE.mkv (None) Parser for 'The.Colbert.Report.2013.09.04.Gary.England.720p.HDTV.x264-EVOLVE.mkv' locked. Starting to parse now Trying to get the tvdbid for The Colbert Report Found the colbert report in the exception list Trying to get the tvdbid for The Colbert Report Found the colbert report in the exception list Parsed :The.Colbert.Report.2013.09.04.Gary.England.720p.HDTV.x264-EVOLVE.mkv into: The Colbert Report - absolute_numbers: [201] [ABD: False] [ANIME: True] [whichReg: ['anime_bare']] Parser for '/opt/downloads/incoming/The.Colbert.Report.2013.09.04.Gary.England.720p.HDTV.x264-EVOLVE/The.Colbert.Report.2013.09.04.Gary.England.720p.HDTV.x264-EVOLVE.mkv' locked. Starting to parse now Trying to get the tvdbid for The Colbert Report Found the colbert report in the exception list Trying to get the tvdbid for The Colbert Report Found the colbert report in the exception list Parsed :/opt/downloads/incoming/The.Colbert.Report.2013.09.04.Gary.England.720p.HDTV.x264-EVOLVE/The.Colbert.Report.2013.09.04.Gary.England.720p.HDTV.x264-EVOLVE.mkv into: The Colbert Report - absolute_numbers: [201] [ABD: False] [ANIME: True] [whichReg: ['anime_bare']] Parser for 'The.Colbert.Report.2013.09.04.Gary.England.720p.HDTV.x264-EVOLVE The.Colbert.Report.2013.09.04.Gary.England.720p.HDTV.x264-EVOLVE.mkv' locked. Starting to parse now Trying to get the tvdbid for The Colbert Report Found the colbert report in the exception list Trying to get the tvdbid for The Colbert Report Found the colbert report in the exception list Parsed :The.Colbert.Report.2013.09.04.Gary.England.720p.HDTV.x264-EVOLVE The.Colbert.Report.2013.09.04.Gary.England.720p.HDTV.x264-EVOLVE.mkv into: The Colbert Report - absolute_numbers: [201] [ABD: False] [ANIME: True] [whichReg: ['anime_bare']] Parser for 'The.Colbert.Report.2013.09.04.Gary.England.720p.HDTV.x264-EVOLVE' locked. Starting to parse now Trying to get the tvdbid for The Colbert Report Found the colbert report in the exception list Trying to get the tvdbid for The Colbert Report Found the colbert report in the exception list Parsed :The.Colbert.Report.2013.09.04.Gary.England.720p.HDTV.x264-EVOLVE into: The Colbert Report - absolute_numbers: [201] [ABD: False] [ANIME: True] [whichReg: ['anime_bare']] Found NO result in history for 'The.Colbert.Report.2013.09.04.Gary.England.720p.HDTV.x264-EVOLVE' Found result in history: (79274, 9, []) Processing failed for /opt/downloads/incoming/The.Colbert.Report.2013.09.04.Gary.England.720p.HDTV.x264-EVOLVE/The.Colbert.Report.2013.09.04.Gary.England.720p.HDTV.x264-EVOLVE.mkv:

lad1337 commented 11 years ago

The setting if its an anime or air by date show does not affect the parsing because at that point sb does not know if which show it is... therefor we parse it

but then there is this

Trying to get the tvdbid for The Colbert Report
Found the colbert report in the exception list

at that point the parser should change if it knows what kind of show it is i have to take a closer look at it to see if it is something that should be fixed by the parser logic or the anime regex

maybe in general it is a good idea to have some regex that only try to get the name/show and from there on choose a regex

orangepeelbeef commented 11 years ago

I know this worked in the normal anime branch, I switched to the anime_development branch not too long ago and it seems to have been broken since. Unfortunately i'm not exactly sure when it broke, i only noticed it a few days ago. Actually when i switched it somehow lost the Air by date status on the show, and I had to edit the show and re-save it. Then it started downloading again, but it fails postprocess every time.

Anthirian commented 11 years ago

I have recently created a fix for a similar issue. The anime_bare regex was too liberal and processed the first three digits of a quality as absolute numbers. I have managed to fix this by modifying the regex. Since the regex is now different, could you try again to see if the issue persists and post a log?

orangepeelbeef commented 11 years ago

Postprocessing results Processing folder /opt/downloads/incoming/The.Colbert.Report.2011.11.29.Tinariwen.HDTV.XviD-FQM Processing /opt/downloads/incoming/The.Colbert.Report.2011.11.29.Tinariwen.HDTV.XviD-FQM/the.colbert.report.2011.11.29.hdtv.xvid-fqm.avi (None) Parser for 'the.colbert.report.2011.11.29.hdtv.xvid-fqm.avi' locked. Starting to parse now Trying to get the tvdbid for the colbert report Found the colbert report in the exception list Trying to get the tvdbid for the colbert report Found the colbert report in the exception list Parsed :the.colbert.report.2011.11.29.hdtv.xvid-fqm.avi into: the colbert report - absolute_numbers: [201] [ABD: False] [ANIME: True] [whichReg: ['anime_bare']] Parser for '/opt/downloads/incoming/The.Colbert.Report.2011.11.29.Tinariwen.HDTV.XviD-FQM/the.colbert.report.2011.11.29.hdtv.xvid-fqm.avi' locked. Starting to parse now Trying to get the tvdbid for The Colbert Report Found the colbert report in the exception list Trying to get the tvdbid for The Colbert Report Found the colbert report in the exception list Parsed :/opt/downloads/incoming/The.Colbert.Report.2011.11.29.Tinariwen.HDTV.XviD-FQM/the.colbert.report.2011.11.29.hdtv.xvid-fqm.avi into: The Colbert Report - absolute_numbers: [201] [ABD: False] [ANIME: True] [whichReg: ['anime_bare']] Parser for 'The.Colbert.Report.2011.11.29.Tinariwen.HDTV.XviD-FQM the.colbert.report.2011.11.29.hdtv.xvid-fqm.avi' locked. Starting to parse now Trying to get the tvdbid for The Colbert Report Found the colbert report in the exception list Trying to get the tvdbid for The Colbert Report Found the colbert report in the exception list Parsed :The.Colbert.Report.2011.11.29.Tinariwen.HDTV.XviD-FQM the.colbert.report.2011.11.29.hdtv.xvid-fqm.avi into: The Colbert Report - absolute_numbers: [201] [ABD: False] [ANIME: True] [whichReg: ['anime_bare']] Parser for 'The.Colbert.Report.2011.11.29.Tinariwen.HDTV.XviD-FQM' locked. Starting to parse now Trying to get the tvdbid for The Colbert Report Found the colbert report in the exception list Trying to get the tvdbid for The Colbert Report Found the colbert report in the exception list Parsed :The.Colbert.Report.2011.11.29.Tinariwen.HDTV.XviD-FQM into: The Colbert Report - absolute_numbers: [201] [ABD: False] [ANIME: True] [whichReg: ['anime_bare']] Found NO result in history for 'The.Colbert.Report.2011.11.29.Tinariwen.HDTV.XviD-FQM' Found result in history: (79274, 8, []) Processing failed for /opt/downloads/incoming/The.Colbert.Report.2011.11.29.Tinariwen.HDTV.XviD-FQM/the.colbert.report.2011.11.29.hdtv.xvid-fqm.avi:

same results at least using manual post processing

orangepeelbeef commented 11 years ago
       Loading config from /opt/sabnzbd/scripts/autoProcessTV.cfg

Processing folder /opt/downloads/incoming/The.Colbert.Report.2013.10.03.David.Finkel.720p.HDTV.x264-LMAO.1

Processing /opt/downloads/incoming/The.Colbert.Report.2013.10.03.David.Finkel.720p.HDTV.x264-LMAO.1/The.Colbert.Report.2013.10.03.David.Finkel.720p.HDTV.x264-LMAO.mkv (The.Colbert.Report.2013.10.03.David.Finkel.720p.HDTV.x264-LMAO.nzb)

Parser for 'The.Colbert.Report.2013.10.03.David.Finkel.720p.HDTV.x264-LMAO.mkv' locked. Starting to parse now

Trying to get the tvdbid for The Colbert Report

Found the colbert report in the exception list

Trying to get the tvdbid for The Colbert Report

Found the colbert report in the exception list

Parsed :The.Colbert.Report.2013.10.03.David.Finkel.720p.HDTV.x264-LMAO.mkv into: The Colbert Report - absolute_numbers: [201] [ABD: False] [ANIME: True] [whichReg: ['anime_bare']]

Parser for 'The.Colbert.Report.2013.10.03.David.Finkel.720p.HDTV.x264-LMAO.nzb' locked. Starting to parse now

Trying to get the tvdbid for The Colbert Report

Found the colbert report in the exception list

Trying to get the tvdbid for The Colbert Report

Found the colbert report in the exception list

Parsed :The.Colbert.Report.2013.10.03.David.Finkel.720p.HDTV.x264-LMAO.nzb into: The Colbert Report - absolute_numbers: [201] [ABD: False] [ANIME: True] [whichReg: ['anime_bare']]

Parser for '/opt/downloads/incoming/The.Colbert.Report.2013.10.03.David.Finkel.720p.HDTV.x264-LMAO.1/The.Colbert.Report.2013.10.03.David.Finkel.720p.HDTV.x264-LMAO.mkv' locked. Starting to parse now

Trying to get the tvdbid for The Colbert Report

Found the colbert report in the exception list

Trying to get the tvdbid for The Colbert Report

Found the colbert report in the exception list

Parsed :/opt/downloads/incoming/The.Colbert.Report.2013.10.03.David.Finkel.720p.HDTV.x264-LMAO.1/The.Colbert.Report.2013.10.03.David.Finkel.720p.HDTV.x264-LMAO.mkv into: The Colbert Report - absolute_numbers: [201] [ABD: False] [ANIME: True] [whichReg: ['anime_bare']]

Parser for 'The.Colbert.Report.2013.10.03.David.Finkel.720p.HDTV.x264-LMAO.1 The.Colbert.Report.2013.10.03.David.Finkel.720p.HDTV.x264-LMAO.mkv' locked. Starting to parse now

Trying to get the tvdbid for The Colbert Report

Found the colbert report in the exception list

Trying to get the tvdbid for The Colbert Report

Found the colbert report in the exception list

Parsed :The.Colbert.Report.2013.10.03.David.Finkel.720p.HDTV.x264-LMAO.1 The.Colbert.Report.2013.10.03.David.Finkel.720p.HDTV.x264-LMAO.mkv into: The Colbert Report - absolute_numbers: [201] [ABD: False] [ANIME: True] [whichReg: ['anime_bare']]

Parser for 'The.Colbert.Report.2013.10.03.David.Finkel.720p.HDTV.x264-LMAO.1' locked. Starting to parse now

Trying to get the tvdbid for The Colbert Report

Found the colbert report in the exception list

Trying to get the tvdbid for The Colbert Report

Found the colbert report in the exception list

Parsed :The.Colbert.Report.2013.10.03.David.Finkel.720p.HDTV.x264-LMAO.1 into: The Colbert Report - absolute_numbers: [201] [ABD: False] [ANIME: True] [whichReg: ['anime_bare']]

Found NO result in history for 'The.Colbert.Report.2013.10.03.David.Finkel.720p.HDTV.x264-LMAO.nzb'

Found NO result in history for 'The.Colbert.Report.2013.10.03.David.Finkel.720p.HDTV.x264-LMAO'

Found result in history: (79274, 10, [])

Processing failed for /opt/downloads/incoming/The.Colbert.Report.2013.10.03.David.Finkel.720p.HDTV.x264-LMAO.1/The.Colbert.Report.2013.10.03.David.Finkel.720p.HDTV.x264-LMAO.mkv:

orangepeelbeef commented 11 years ago

I am willing to help troubleshoot this issue, but i'm not sure where to start, so any pointers would be great.

Anthirian commented 11 years ago

Sorry for not responding lately. I am quite busy with other stuff these days.

The problem seems to be that the anime_bare regex matches air-by-date shows while it shouldn't. This is because the regex is too broad. It looks like it matches 201 as the absolute number instead of the year.

I think the most elegant way to fix this would be to modify the anime_bare regex some more, like I did when I fixed #17. I would try this if I can find the time to do this, but unfortunately that is not the case in the coming weeks.

PS. Please indent your (posted) bug logs by 4 spaces for better readability. Just use a decent text editor for this and paste it here.

lad1337 commented 11 years ago

@Anthirian thanks i am incredible busy as well