Kodi Community Forum
TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - 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)
+---- Thread: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) (/showthread.php?tid=282157)



RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - primaeval - 2018-04-04

(2018-04-03, 03:41)gottahavit Wrote: hidden input wont work as rpc needs dialog.

to reproduce scroll issue, I just turn on shortcuts type index.  have guide, type like 030 to go to a channel. It scrolls that channel to top but when you come back to guide you can't scroll up from channel 030.  It thinks thats the first channel.
 
Input.ExecuteAction works without a dialog eg:

Code:
http://localhost:8080/jsonrpc?Input.ExecuteAction

[{"jsonrpc":"2.0","method":"Input.ExecuteAction","params":{"action":"number0"},"id":40}]

The possible actions are here: https://kodi.wiki/view/JSON-RPC_API/v8#Input.Action

You can change channel without the number dialog with 3 calls for the number and "shift" to begin the sequence if you use that Setting.

[EDIT] Use DoctorEggs new "Sort Index" shortcut type and grab the channel numbers from source.db with
Code:
select weight, title from channels;
and the logos if you want to make a visual web page too.


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - mzup - 2018-04-04

(2018-04-04, 14:09)primaeval Wrote: Does it do the same with the Default skin?
 No it does not. It works as it should. Saves the setting.


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - primaeval - 2018-04-04

Is the actual exit.on.back setting in settings.xml changing?

This is the bit of code that closes TVGF if it is set to true and play.minimized is false (play in the small window).
https://github.com/primaeval/script.tvguide.fullscreen/blob/80337aed991572111d33796bb6041a449a0a4ecb/gui.py#L969


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - mzup - 2018-04-04

(2018-04-04, 17:24)primaeval Wrote: Is the actual exit.on.back setting in settings.xml changing?

This is the bit of code that closes TVGF if it is set to true and play.minimized is false (play in the small window).
https://github.com/primaeval/script.tvguide.fullscreen/blob/80337aed991572111d33796bb6041a449a0a4ecb/gui.py#L969
 Yes it does change in the xml file.  It is not a big deal to me. I just wanted to point it out.


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - bluebug - 2018-04-04

hi i am using windows 10 , kodi krypton with aeon nox i have been looking for a epg as i have my own m3u list and come across this app , i have tried to load my m3u but all i get is cannot load data please try again later is there a way to set this program to run m3u list thanks


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - primaeval - 2018-04-04

Thanks. I'd like to get it fixed if possible.
So it's definitely something with the WMC skin?
Is there an error in the kodi.log?


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - primaeval - 2018-04-04

(2018-04-04, 18:07)bluebug Wrote: hi i am using windows 10 , kodi krypton with aeon nox i have been looking for a epg as i have my own m3u list and come across this app , i have tried to load my m3u but all i get is cannot load data please try again later is there a way to set this program to run m3u list thanks
 Did you add an xmltv file in Settings\Source and the m3u in Settings\Optional?


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - bluebug - 2018-04-04

(2018-04-04, 18:15)primaeval Wrote:
(2018-04-04, 18:07)bluebug Wrote: hi i am using windows 10 , kodi krypton with aeon nox i have been looking for a epg as i have my own m3u list and come across this app , i have tried to load my m3u but all i get is cannot load data please try again later is there a way to set this program to run m3u list thanks
 Did you add an xmltv file in Settings\Source and the m3u in Settings\Optional?hi thanks for your reply sorry iam not sure what a xmltv file is all i have is a m3u list can i make a xmltv file up thanks



RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - primaeval - 2018-04-04

(2018-04-04, 18:23)bluebug Wrote:
(2018-04-04, 18:15)primaeval Wrote:
(2018-04-04, 18:07)bluebug Wrote: hi i am using windows 10 , kodi krypton with aeon nox i have been looking for a epg as i have my own m3u list and come across this app , i have tried to load my m3u but all i get is cannot load data please try again later is there a way to set this program to run m3u list thanks
 Did you add an xmltv file in Settings\Source and the m3u in Settings\Optional?hi thanks for your reply sorry iam not sure what a xmltv file is all i have is a m3u list can i make a xmltv file up thanks
 TV Guide Fullscreen might be a bit tricky for you to start with.
It might be easier to have a look for a TV Guide with pre-configured program data.
TVGF is quite powerful but can be a bit complicated to set up.

What country do you need data for?

The most flexible way is to make your own xmltv program data file with Webgrab+Plus. http://www.webgrabplus.com/
That isn't that easy either but covers almost every TV channel on the planet.
You can use this to automate some of the steps. https://forum.kodi.tv/showthread.php?tid=285918


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - bluebug - 2018-04-04

hi thanks for your reply i have looked at webplus but unable to figure it out , i did find a xmltv file online added the url and url to m3u and i get the same error it was not possible to load program data check settings or try later ,i am trying to get  all uk and usa data for my m3u list thanks


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - primaeval - 2018-04-04

(2018-04-04, 18:45)bluebug Wrote: hi thanks for your reply i have looked at webplus but unable to figure it out , i did find a xmltv file online added the url and url to m3u and i get the same error it was not possible to load program data check settings or try later ,i am trying to get  all uk and usa data for my m3u list thanks
 For US/Canada you could use edit4ever's addon.
https://github.com/edit4ever/script.module.zap2epg

For UK you could try my simple "tvguide.co.uk now 2" Source in Settings\Lab2.

You could pull in the US xmltv in Settings\Lab3 too.

There are a few places you can pay for xmltv data like SchedulesDirect.org and iptv-epg.com

Webgrab isn't too tricky if you follow my quick start guides for the configurator addon.

There are also plenty of xmltv sources on Github and Google if your search powers are up to it.
Some probably connect to sites with banned addons, so you're own your own there.


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - bluebug - 2018-04-04

(2018-04-04, 19:01)primaeval Wrote:
(2018-04-04, 18:45)bluebug Wrote: hi thanks for your reply i have looked at webplus but unable to figure it out , i did find a xmltv file online added the url and url to m3u and i get the same error it was not possible to load program data check settings or try later ,i am trying to get  all uk and usa data for my m3u list thanks
 For US/Canada you could use edit4ever's addon.
https://github.com/edit4ever/script.module.zap2epg

For UK you could try my simple "tvguide.co.uk now 2" Source in Settings\Lab2.

You could pull in the US xmltv in Settings\Lab3 too.

There are a few places you can pay for xmltv data like SchedulesDirect.org and iptv-epg.com

Webgrab isn't too tricky if you follow my quick start guides for the configurator addon.

There are also plenty of xmltv sources on Github and Google if your search powers are up to it.
Some probably connect to sites with banned addons, so you're own your own there.

many thanks for your reply i  will have another look at webplus , i am not very good at searching for infomation thanks for your help


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - mzup - 2018-04-04

(2018-04-04, 18:13)primaeval Wrote: Thanks. I'd like to get it fixed if possible.
So it's definitely something with the WMC skin?
Is there an error in the kodi.log?
 No error in log.


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - coremailrx8 - 2018-04-05

I'm having issues with the XML parser. 

When I load a previously working xml epg from webgrab, after resetting epg data and reset "everything, it starts parsing the xml data, but then it stops and hangs. I restart Kodi, and the the EPG data shows up, but it looks partial. So I wonder if the full parsing took effect.

More importantly, I have a different epg.xml file generated by a different service (it only loads a few hours of programming) . It works great on pvr iptv simple, but it doesn't load your addon, it throws a parsing error.
Quote: 17:11:27.409 T:6912   ERROR:   File "C:\KodiTest\portable_data\addons\script.tvguide.fullscreen\source.py", line 522, in _updateChannelAndProgramListCaches
17:11:27.410 T:6912   ERROR:     for item in self.source.getDataFromExternal(date, ch_list, progress_callback):
17:11:27.410 T:6912   ERROR:   File "C:\KodiTest\portable_data\addons\script.tvguide.fullscreen\source.py", line 1904, in getDataFromExternal
17:11:27.410 T:6912   ERROR:     for v in chain(self.getDataFromExternal2(self.xmltvFile, date, ch_list, progress_callback)):
17:11:27.410 T:6912   ERROR:   File "C:\KodiTest\portable_data\addons\script.tvguide.fullscreen\source.py", line 1991, in parseXMLTV
17:11:27.410 T:6912   ERROR:     for event, elem in context:
17:11:27.410 T:6912   ERROR:   File "C:\KodiTest\system\python\Lib\xml\etree\ElementTree.py", line 1271, in next
17:11:27.411 T:6912   ERROR:     raise e
17:11:27.411 T:6912   ERROR: ParseError: not well-formed (invalid token): line 199, column 45



RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - primaeval - 2018-04-05

Send me a link to the xmltv file.
Usually it is an unescaped xml character.
Something like & that should be &
Otherwise it is probably a unicode character.

Look in the xml file at line 199, column 45