Opened 3 years ago

#13451 new Patch - Feature

Change UPNP Class for Recorded TV from videoItem to videoItem.videoBroadcast subclass

Reported by: nerddtvg Owned by: dblain
Priority: minor Milestone: needs_triage
Component: MythTV - UPnP Version: Unspecified
Severity: medium Keywords: UPnP ContentDirectory videoBroadcast
Cc: Ticket locked: no


The Content Directory v4 Service lists the videoBroadcast subclass as "A videoBroadcast instance represents a continuous stream from a video broadcast (for example, a conventional TV channel or a Webcast)" which is the perfect class for recorded TV.

An example of the usefulness of this is Windows Media Player. It categories Music, Videos, Pictures, and Recorded TV in its interface. Currently MythTV lists all shows under Videos because they're generic videoItem classes. However, HDHomeRun devices categorize their channels as videoItem.videoBroadcast which places them under Recorded TV (even though those are live channels).

The change would be to change upnpcdstv.cpp. (latest commit at the time of submitting this)

upnpcdstv.cpp Line 1059: Old Constructor: CDSObject::CreateVideoItem?

New Constructor: CDSObject::CreateVideoBroadcast?

The function already exists in upnpcdsobjects.cpp and is setup for this purpose.


Change History (0)

Note: See TracTickets for help on using tickets.