Opened 11 years ago

Closed 11 years ago

Last modified 10 years ago

#8152 closed defect (fixed)

Ttvdb.py cannot handle season numbers "Horizon"

Reported by: icarus@… Owned by: Anduin Withers
Priority: minor Milestone: unknown
Component: Plugin - MythVideo Version: 0.22-fixes
Severity: low Keywords:
Cc: Ticket locked: yes

Description

Ttvdb.py cannot return the season numbers for 'Horizon' the BBC2 science program. Where this is such a long running program, thetvdb.com use the year the program was made as the season number. The maximum season number in mythvideo is 100 and an episode of Horizon made last year, for example, will return 2009 and be read by myth as 9.

Change History (3)

comment:1 Changed 11 years ago by robertm

(In [23693]) Refs #8152. Expand spinbox for season in MythVideo? to allow four-digit season numbers. TTVDB.py is actually not an issue at all here, it is fine with those numbers. Likewise, the database accommadates these numbers. This technically solves this bug, but I need to get in front of my box and rethink the theme elements/textareas to make sure they will work properly with such season numbers. In the meantime, the editing of the data and the database info should be fine.

comment:2 Changed 11 years ago by robertm

Resolution: fixed
Status: newclosed

(In [23696]) Fixes #8152. (Although it was already fixed) Slightly modify the regexp for parsing filenames to take into account four-digit season numbers. Tested against filenames 'Horizon 2009x01.mkv' (properly parsed as TV, including metadata download) and 'Star Trek 2009.mkv' (Properly parsed as movie).

comment:3 Changed 10 years ago by beirdo

Ticket locked: set
Note: See TracTickets for help on using tickets.