[mythtv-commits] Ticket #13451: Change UPNP Class for Recorded TV from videoItem to videoItem.videoBroadcast subclass

MythTV noreply at mythtv.org
Mon Apr 22 02:19:10 UTC 2019


#13451: Change UPNP Class for Recorded TV from videoItem to
videoItem.videoBroadcast subclass
-------------------------+-------------------------------------------------
     Reporter:           |      Owner:  dblain
  nerddtvg               |
         Type:  Patch -  |     Status:  new
  Feature                |
     Priority:  minor    |  Milestone:  needs_triage
    Component:  MythTV   |    Version:  Unspecified
  - UPnP                 |   Keywords:  UPnP ContentDirectory
     Severity:  medium   |  videoBroadcast
Ticket locked:  0        |
-------------------------+-------------------------------------------------
 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.

 https://github.com/MythTV/mythtv/blob/541281f5d674fbb52d8dc6f40333a6e02eafbf50/mythtv/programs/mythbackend/upnpcdstv.cpp#L1059
 (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.

 Reference:
 http://www.upnp.org/specs/av/UPnP-av-ContentDirectory-v4-Service.pdf

-- 
Ticket URL: <https://code.mythtv.org/trac/ticket/13451>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list