Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#11071 closed Patch - Feature (Won't Fix)

have ttvdb strip leading zeros from season and episode

Reported by: joel@… Owned by:
Priority: minor Milestone: unknown
Component: MythTV - Mythmetadatalookup Version: Unspecified
Severity: medium Keywords:
Cc: Ticket locked: yes

Description

It would be nice (for me, and perhaps others) to have ttvdb strip leading zeros from the season and episode arguments. It seems more likely that ttvdb would be called with decimal numbers with leading zeros than someone intentionally specifying the season and episode in octal :)

Attachments (1)

ttvdb.patch (614 bytes ) - added by joel@… 14 years ago.
Possible patch

Download all attachments as: .zip

Change History (4)

by joel@…, 14 years ago

Attachment: ttvdb.patch added

Possible patch

comment:1 by Raymond Wagner, 14 years ago

Resolution: Won't Fix
Status: newclosed

Unnecessary. The values are stored internally as unsigned integers, and the grabber script is called with no 0 padding.

in reply to:  1 comment:2 by joel@…, 14 years ago

Replying to wagnerrp:

Unnecessary. The values are stored internally as unsigned integers, and the grabber script is called with no 0 padding.

I agree that when called from within Myth, this change is unnecessary. But it would be nice if one were calling ttvdb from an external script importing shows into Myth. This is how I ran into the problem - flexget sometimes zero-pads the episode number.

comment:3 by Raymond Wagner, 14 years ago

Ticket locked: set

Whatever you're doing externally with that script will simply need to conform to the behavior MythTV uses internally. MythTV will not make concessions to facilitate the use of tools whose intended purpose is the illegal downloading of content.

Note: See TracTickets for help on using tickets.