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: | 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)
Change History (4)
by , 14 years ago
| Attachment: | ttvdb.patch added |
|---|
follow-up: 2 comment:1 by , 14 years ago
| Resolution: | → Won't Fix |
|---|---|
| Status: | new → closed |
Unnecessary. The values are stored internally as unsigned integers, and the grabber script is called with no 0 padding.
comment:2 by , 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 , 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.

Possible patch