Kodi Community Forum
CDVDInputStreamPVRManager::ThisIsAHack - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26)
+---- Forum: PVR (https://forum.kodi.tv/forumdisplay.php?fid=136)
+---- Thread: CDVDInputStreamPVRManager::ThisIsAHack (/showthread.php?tid=314563)



CDVDInputStreamPVRManager::ThisIsAHack - MatthewLundberg - 2017-05-18

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.


RE: CDVDInputStreamPVRManager::ThisIsAHack - MatthewLundberg - 2017-06-07

Follow-up.

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

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