Opened 11 years ago

Closed 11 years ago

#6942 closed defect (invalid)

Mythvideo filename parsing issues

Reported by: mythtv@… Owned by: Anduin Withers
Priority: minor Milestone: 0.22
Component: Plugin - MythVideo Version: head
Severity: medium Keywords:
Cc: Ticket locked: no


Since changeset 21509, filename parsing in mythvideo is significantly better - however there is an issue where the filename contains something numeric after the episode designation. For example: "Warehouse.13.S01E09.720p.HDTV.x264-CTU.mkv" will parse out to "Warehouse 13 S01E" season 9 episode 720.

The problem seems to be the allowance of a space as a episode marker in metadata.cpp line 1418. If the space is removed, then it works as expected.

Not sure how many folks are using spaces between season and episode designations, but the syntax above is extremely common.

Attachments (1)

filename_parsing.diff (836 bytes) - added by mythtv@… 11 years ago.
Patch for metadata.cpp

Download all attachments as: .zip

Change History (2)

comment:1 Changed 11 years ago by robertm

Resolution: invalid
Status: newclosed

I will not sacrifice the parsing of legitimate filenames (Season 1 Episode 1 - subtitle.mpg) to support stolen ones, least of all in a feature request without a patch.

Changed 11 years ago by mythtv@…

Attachment: filename_parsing.diff added

Patch for metadata.cpp

Note: See TracTickets for help on using tickets.