Modify

Opened 4 years ago

Last modified 4 years ago

#12012 assigned Patch - Bug Fix

Abbreviated show names don't work for Title

Reported by: mythtv-dev@… Owned by: dekarl
Priority: minor Milestone: unknown
Component: MythTV - Video Library Version: Unspecified
Severity: low Keywords:
Cc: Ticket locked: no

Description

When parsing the filename to create the title for the video, the system removes all dots (periods), however, when there are multiple single characters these are likely an abbreviation. Examples

House M.D G.I Joe

The issue is that when a lookup is done against tmdb, thetvdb, there is no match as what is searched is "House M D" or "G I Joe".

There are 2 ways to solve this. In the metadata Lookup, or in the logic to parse the filename. Metadata lookup would cover more areas, however, at this point, the user may have altered the name, so we should lookup exactly what they have asked.

Pull will be attached shortly.

Attachments (0)

Change History (2)

comment:1 Changed 4 years ago by mythtv-dev@…

added https://github.com/MythTV/mythtv/pull/64

this has the fix, and associated unit tests.

comment:2 Changed 4 years ago by dekarl

  • Owner set to dekarl
  • Status changed from new to assigned

I added some unit test to see how it works out, see [f8a238e076]. I'd prefer it to return "House M.D." and "G.I. Joe", but I'm not sure if that can be done without improving other cases for the worse.

Add Comment

Modify Ticket

Action
as assigned The owner will remain dekarl.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.