Kodi Community Forum

Full Version: CDVDInputStreamPVRManager::ThisIsAHack
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
Follow-up.

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

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