EPG_TAG.iUniqueBroadcastId as integer not possible with MythTV - Printable Version
+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: PVR Development (/forumdisplay.php?fid=136)
+--- Thread: EPG_TAG.iUniqueBroadcastId as integer not possible with MythTV (/showthread.php?tid=102411)
EPG_TAG.iUniqueBroadcastId as integer not possible with MythTV - dteirney - 2011-05-29 01:47
The unique ID for an EPG entry used to be optional. This was handy for MythTV since there isn't a unique ID for EPG entries (or likely any other backend that surfaces an XMLTV type interface).
Can EPG_TAG.iUniqueBroadcastId either be made optional or converted to a string?
I can make a synthetic unique ID as a string by concatenating the channel ID and a text representation of the start time. Turning that into an integer is much, much harder.
What data are other add-ons using to populate this field?
- opdenkamp - 2011-05-29 03:28
tvheadend does give each tag an id, and it's used to attach epg tags to timer tags e.g.
same as with the recording index, this is used to update tags in xbmc.
- dteirney - 2011-05-29 06:19
What are the options for the MythTV Addon? I can't formulate a unique integer ID for each EPG entry. Right now the MythTV Addon can't work.
MythTV links things based on "Title", "Channel ID", and "Scheduled Start Time". MythTV doesn't have any other concepts of linking things together. The scheduler in MythTV does all of the heavy lifting (so to speak) to schedule recordings.
- opdenkamp - 2011-05-29 11:31
I think you just can keep a counter in the add-on and just give every tag a number. create a ticket on trac or an issue on github if you like these values to be optional instead. I'll have to look into this properly before changing it to optional.
also, have a look at the pvr api changes thread from time to time if you can, as these changes have been in the pvr tree for a while now and they were announced and discussed there.