CDVDInputStreamPVRManager::ThisIsAHack

  Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
MatthewLundberg Offline
Member
Posts: 61
Joined: Apr 2017
Reputation: 0
Post: #1
ThisIsAHack looks like a hack and sounds like a hack. But it works.

It is the easiest way for me to request that Kodi call back to the PVR to get the stream URL. I need this behavior for the next iteration of the HDHomeRun PVR code.

Is this planned to be deprecated? Perhaps a flag could be used to instruct Kodi to perform this callback. The HDHomeRun PVR code can be adapted of course, but I'm wondering about the time frame.
find quote
MatthewLundberg Offline
Member
Posts: 61
Joined: Apr 2017
Reputation: 0
Post: #2
Follow-up.

This is indeed deprecated. This hack rewrites strStreamURL, calling into the PVR with GetLiveStreamURL.

https://forum.kodi.tv/showthread.php?tid=259830
find quote