How to setContent LiveTV and use TV-related info labels?
#1
Hi,

I am working on two addons which allow to watch live tv streams provided by two different paid services.

Now it's implemented via Virtual Python Folders (which is fine), but functionality of base directory items (I think it's working as movies or files by default) is not enough.

I found, that there is a content type "LiveTV" and special InfoLabels "StartTime", "EndTime", "ChannelNumber" and "ChannelName" which could be usefull (now I can display a programme start or end time just playing with Duration label only), but all my attempts to set this content type and define this labels failed.
Also I saw few addons working with EPG, but they doesn't work for me as well..

Is there any documentation and/or examples how to set this content type and how to use these labels?

Thanks in advance.
Reply
#2
Se vc utiliza o xbmcswift2, utilize o comando:
plugin.set_content('LiveTV')

Caso contrário de o import no xbmcplugin e utilize:
xbmcplugin.setContent(int(sys.argv[1]), 'LiveTV')
Reply
#3
(2015-12-02, 13:50)andrade Wrote: Se vc utiliza o xbmcswift2, utilize o comando:
plugin.set_content('LiveTV')

Caso contrário de o import no xbmcplugin e utilize:
xbmcplugin.setContent(int(sys.argv[1]), 'LiveTV')

Hijacking the thread.

Now how can I get what Content was set via xbmcplugin.setContent ?
Reply

Logout Mark Read Team Forum Stats Members Help
How to setContent LiveTV and use TV-related info labels?0