Kodi Community Forum
Problem with channels imported from addons - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Program Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=151)
+----- Forum: PseudoTV / PseudoTV Live (https://forum.kodi.tv/forumdisplay.php?fid=231)
+----- Thread: Problem with channels imported from addons (/showthread.php?tid=344821)



Problem with channels imported from addons - cowscrubber - 2019-06-21

There's this TV network that offers free live streams of its channels. Their stream URLs expire, so I made an addon which scrapes the website for working URLs each time it plays.
I import these videos into PseudoTV, but what it saves is the URL that expires. So after just a day, the channels imported from the addon are broken. This happens even after channel resets.

Is there a way to force PseudoTV to get new URLs from the addon every so often?

Below is the addon I made. I am a novice coder, so please forgive if my code is not ideal.
https://github.com/cowscrubber/HunanTV-Kodi-Addon

Thanks