(near-) realtime epg updates
for internet-radio-channels, it would be great if there was a way to push EPG updates to a channel or just the client who subscribes it, ie an api-url where i can POST the currently playing song (that is fetched from the mp3 stream) so it shows up immediatly while playing...
If thats not possible, a way to trigger an EPG-download on the client from the server would also help (then i could inject the titles via XMLTV and trigger an update for that client)...
#1 Updated by Luis Alves 4 months ago
What you're asking doesn't make much sense (at least to me).
You mention a "client". What client? There are dozens of clients that play tvh content!
And then even if tvh was enhanced with what you have in mind the "clients" would need to be enhanced also...
By the way, if the song name is fetched from the mp3 stream (like you mention) then doesn't it make more sense to let the client do it (whatever client it is).
Anyway, for xmltv, tvheadend already allows you to run a grabber script crontab style - for example you can run an epg grabber script every 1 minute.
The grabber script can do whatever you need to fetch the song name and feed it back to tvh.