• 1
  • 172
  • 173
  • 174(current)
  • 175
  • 176
  • 201
TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;)
(2018-09-15, 20:37)M89SE Wrote: Yeah I have been thinking about it for some time now, can't figure out a way to do so. Thank you for your fast answer! Smile
 I had a quick look.
You need a lot of data to launch the PopupMenu
https://github.com/primaeval/script.tvgu...i.py#L1979
So if you try to do that from the ProgramListDialog you would have to pass everything in there to get it to return to the Listing.
It's probably easier to pass some data into the PopupMenu to get it to re-launch the listing view again when it closes.
That should keep you busy for a while.
Reply
Thank you Smile I will share my results here if I will come up with a solution.

With kind regards
Mariusz
Reply
i need to ask, if i put:

python:
d = InfoDialog(program)
d.doModal()

at the end of def onInit(self): the infodialog will show up at start of listing window without closing window, but if i put it as an action button it won't show unless i put self.close() why is that?

ex.

    def showNow()
python:
elif action == ACTION_SHOW_INFO:
            d = InfoDialog(program)
            d.doModal()

    def onAction(self, action):
python:
elif action.getId() == ACTION_SHOW_INFO:
            self.action = ACTION_SHOW_INFO



I forgot to mention i added a Info Dialog screen.

python:
class InfoDialog(xbmcgui.WindowXMLDialog):
Reply
(2018-09-18, 18:40)M89SE Wrote: i need to ask, if i put:

python:
d = InfoDialog(program)
d.doModal()

at the end of def onInit(self): the infodialog will show up at start of listing window without closing window, but if i put it as an action button it won't show unless i put self.close() why is that?

ex.

    def showNow()
python:
elif action == ACTION_SHOW_INFO:
            d = InfoDialog(program)
            d.doModal()

    def onAction(self, action):
python:
elif action.getId() == ACTION_SHOW_INFO:
            self.action = ACTION_SHOW_INFO



I forgot to mention i added a Info Dialog screen.

python:
class InfoDialog(xbmcgui.WindowXMLDialog):
I don't know off the top of my head.
See if you can put that lot in a github commit so I can see the difference between the current version and what you have so far.

I hope you've read the documentation and aren't just winging it. Wink
http://mirrors.kodi.tv/docs/python-docs/...mcgui.html

To understand what gets called by Kodi I would recommend putting in some log() statements at the start of those functions.
eg

python:
def onAction(self, action):
    log(("onAction",action))

I've defined log() at the  top of gui.py so it will output a repr of whatever is passed in in the kodi.log file.
That example is passing in a tuple of "onAction" and action.

I had to do that for all the "on****" functions to work out the execution order of them.
Reply
Well I have to admit I need to read the documentation properly. I've made my own version on tvguide so it has a lot of changes and modifications so I can't put it on github and I'm still in the beginning of learning and trying out different stuff and mixing from other tvguides. I set up the log but I dosent tell me much.

python:
19:25:13.864 T:13496   ERROR: ('onAction', <xbmcgui.Action object at 0x1F722650>)
19:25:13.871 T:13496   ERROR: ('onAction', <xbmcgui.Action object at 0x1F722680>)
19:25:13.878 T:13496   ERROR: ('onAction', <xbmcgui.Action object at 0x1F7225C0>)
19:25:13.885 T:13496   ERROR: ('onAction', <xbmcgui.Action object at 0x1F722728>)
19:25:13.892 T:13496   ERROR: ('onAction', <xbmcgui.Action object at 0x1F722770>)
19:25:13.899 T:13496   ERROR: ('onAction', <xbmcgui.Action object at 0x1F7227B8>)
19:25:13.906 T:13496   ERROR: ('onAction', <xbmcgui.Action object at 0x1F722800>)
19:25:13.914 T:13496   ERROR: ('onAction', <xbmcgui.Action object at 0x1F722848>)
19:25:13.920 T:13496   ERROR: ('onAction', <xbmcgui.Action object at 0x1F722890>)
19:25:13.927 T:13496   ERROR: ('onAction', <xbmcgui.Action object at 0x1F7228D8>)
19:25:13.934 T:13496   ERROR: ('onAction', <xbmcgui.Action object at 0x1F722920>)
19:25:13.941 T:13496   ERROR: ('onAction', <xbmcgui.Action object at 0x1F722968>)
19:25:13.948 T:13496   ERROR: ('onAction', <xbmcgui.Action object at 0x1F7229B0>)
19:25:13.948 T:13496   ERROR: ('onAction', <xbmcgui.Action object at 0x1F7229F8>)
19:25:13.955 T:13496   ERROR: ('onAction', <xbmcgui.Action object at 0x1F722A40>)
19:25:13.955 T:13496   ERROR: ('onAction', <xbmcgui.Action object at 0x1F722A88>)
19:25:13.965 T:13496   ERROR: ('onAction', <xbmcgui.Action object at 0x1F722AD0>)
19:25:13.968 T:13496   ERROR: ('onAction', <xbmcgui.Action object at 0x1F722B18>)
19:25:13.979 T:13496   ERROR: ('onAction', <xbmcgui.Action object at 0x1F722B60>)
19:25:13.982 T:13496   ERROR: ('onAction', <xbmcgui.Action object at 0x1F722BA8>)
19:25:13.993 T:13496   ERROR: ('onAction', <xbmcgui.Action object at 0x1F722BF0>)
19:25:13.996 T:13496   ERROR: ('onAction', <xbmcgui.Action object at 0x1F722C38>)
19:25:14.008 T:13496   ERROR: ('onAction', <xbmcgui.Action object at 0x1F722C80>)
19:25:14.010 T:13496   ERROR: ('onAction', <xbmcgui.Action object at 0x1F722CC8>)
19:25:14.024 T:13496   ERROR: ('onAction', <xbmcgui.Action object at 0x1F722D10>)
19:25:14.039 T:13496   ERROR: ('onAction', <xbmcgui.Action object at 0x1F722D58>)
19:25:14.041 T:13496   ERROR: ('onAction', <xbmcgui.Action object at 0x1F722DA0>)
19:25:14.055 T:13496   ERROR: ('onAction', <xbmcgui.Action object at 0x1F722DE8>)
19:25:14.056 T:13496   ERROR: ('onAction', <xbmcgui.Action object at 0x1F722E30>)
19:25:14.073 T:13496   ERROR: ('onAction', <xbmcgui.Action object at 0x1F722E78>)
19:25:14.092 T:13496   ERROR: ('onAction', <xbmcgui.Action object at 0x1F722EC0>)
19:25:14.227 T:13496   ERROR: ('onAction', <xbmcgui.Action object at 0x1F722F08>)
19:25:14.483 T:13496   ERROR: ('onAction', <xbmcgui.Action object at 0x1F722F50>)
19:25:14.670 T:13496   ERROR: ('onAction', <xbmcgui.Action object at 0x1F722FC8>)
19:25:14.843 T:13496   ERROR: ('onAction', <xbmcgui.Action object at 0x1F722F68>)
19:25:15.004 T:13496   ERROR: ('onAction', <xbmcgui.Action object at 0x1F743968>)
19:25:15.163 T:13496   ERROR: ('onAction', <xbmcgui.Action object at 0x1F743D58>)
19:25:15.330 T:13496   ERROR: ('onAction', <xbmcgui.Action object at 0x1F743098>)
19:25:15.851 T:13496   ERROR: ('onAction', <xbmcgui.Action object at 0x1F743038>)
Reply
If you want to see which action you need the getId() call
http://mirrors.kodi.tv/docs/python-docs/...tml#Action

I was only giving you an idea of where to start putting some log calls in.

You also need to put in log calls in the other places you are interested in to say when they get called or don't.
Reply
Big thank you for your help!
Reply
(2018-09-18, 20:11)M89SE Wrote: Big thank you for your help!
 If you get something going on github it's probably easier to discuss what you're trying to do on there.
Reply
Hey guys, what is the current version and where can I find it?

thanks
bizzs
Reply
(2018-10-21, 22:39)bizzs Wrote: Hey guys, what is the current version and where can I find it?

thanks
bizzs
 repo and source are in the first post.
I would recommend installing the repo if you want bug fixes automatically.
If you grab the zips from the repo note that there is a Jarvis version and a Krypton+ version.

The repo zip is here for your convenience:
https://github.com/primaeval/repository....-0.0.2.zip
Reply
Is there a way to automatically setup the guide from the iptv simple client info?  I can't get things working with my urls from my provider (Limitless)
Reply
(2018-10-31, 22:58)RonnieBoy82 Wrote: Is there a way to automatically setup the guide from the iptv simple client info?  I can't get things working with my urls from my provider (Limitless)
 You should be able to put the xmltv link in "Settings\Source\xmltv" and the m3u in "Settings\Optional\Channel Mappings\Import m3u".
If the xmltv is gzipped you might need to turn on the gz setting and take the .gz off the url.
That will map the channels to streams if the tvg-id values match.

Alternatively you can add the m3u in "Settings\Optional\Manage addons.ini m3u Playlist Subscriptions" and the streams will be added to the addons.ini file.
The channel mappings are then done by name guessing the first time you play a channel.

If you just want to add plugin links to IPTV Simple Client you might like to try out my new "xmltv Meld" addon in Leia.
https://forum.kodi.tv/showthread.php?tid=330668
Reply
Hello all, I just wanted to know if there was a way that I could add a select external player to this great epg guide.  I have a few streams that will not work with the default player.  I have created a playercorefactory xml for kodi assigning a default external player and it plays the streams great, but kodi will crash sometimes when I exit the stream. Further more, I cannot scroll the guide to see the other detailed descriptions without exiting the stream without losing the live play.  Any suggestion on how I can assign an external player withing the tv guide program itself?

Thanks
bizzs
Reply
(2018-11-01, 18:16)bizzs Wrote: Hello all, I just wanted to know if there was a way that I could add a select external player to this great epg guide.  I have a few streams that will not work with the default player.  I have created a playercorefactory xml for kodi assigning a default external player and it plays the streams great, but kodi will crash sometimes when I exit the stream. Further more, I cannot scroll the guide to see the other detailed descriptions without exiting the stream without losing the live play.  Any suggestion on how I can assign an external player withing the tv guide program itself?

Thanks
bizzs
I don't think there is a way at the moment.
The AutoPlayWith timers will use an external player if you have set one in the Settings.
It uses the Kodi PlayWith command to set the playercorefactory player.
https://github.com/primaeval/script.tvgu...th.py#L138

Is there a unique pattern to the urls that you can use in playercorefactory to make them default to an external player?
If not, if you can think of a way to flag them as external I'll see if I can add it into TVGF.
Reply
Thanks for the response.  Mxplayer streams well with minimal buffering where the tv guide default has intermit freezing.  I set my playcorefactory default with mxplayer within the Kodi userdata.  The playercorefactory works, but as I explained it does not play too well with the tv guide and causes kodi to crash when I exit the stream. Also, I am running into some trouble with the epg guide.  I created an xmltv file and the guide loads and stays current for around 3 to 4 days. It then loses the programming information like it expired.  Is there something that I am doing wrong to keep it updated?  I have the source set to load up automatically when the tv guide starts up and I am puzzled why it is losing the guide information.  Any advice?

Thanks
bizzs
Reply
  • 1
  • 172
  • 173
  • 174(current)
  • 175
  • 176
  • 201

Logout Mark Read Team Forum Stats Members Help
TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;)8