Opened 12 years ago

Closed 12 years ago

#6114 closed enhancement (fixed)

Viewing recordings via UpNP: use description as subtitle when subtitle is empty

Reported by: anonymous Owned by: dblain
Priority: minor Milestone: unknown
Component: upnp Version: unknown
Severity: medium Keywords:
Cc: Ticket locked: no


The EPG subtitle info is not always present. Don't know if it's the local cable provider or a general "feature" here in Finland, but none of the entries in the recorded table has data for subtitle field.

So far this only makes browsing recordings via UpNP a little cumbersome, as the subtitle info is used distinguish episodes. Using description info when subtitle is not available could be one workaround. Attached a tiny example patch (against 0.21-fixes, looks like the same logic would go with the trunk too). Don't know if it breaks something, the string length 128 is the size of subtitle field in recorded table, just in case.

I mostly use the UpNP for playback, maybe this same thing causes problems also in another components. If so, then more general solution is needed.

Attachments (1)

mythupnpdiff.patch (640 bytes) - added by anonymous 12 years ago.

Download all attachments as: .zip

Change History (2)

Changed 12 years ago by anonymous

Attachment: mythupnpdiff.patch added

comment:1 Changed 12 years ago by dblain

Resolution: fixed
Status: newclosed

(In [20369]) Fixes #6114 - Adds description to title if subtitle is empty

Note: See TracTickets for help on using tickets.