Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
  • 1
  • 157
  • 158
  • 159(current)
  • 160
  • 161
  • 201
TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;)
@doctor Eggs I don't click on TV Guide Fullscreen - WMC. I know once it is there, then no need to click again.
Reply
(2018-03-21, 02:34)Daveabuk Wrote: Hi, great work btw.

I'm trying to import my PVR playlist but only BBC1 is showing on the channel lists. When I go on Stream Setup and select strm|m3u it doesnt matter what channel I select in my m3u file only BBC1 is there. If I select import import playlist and choose my m3u nothing seems to happen and if I select Import PVR nothing happens. I think I must be doing something wrong. Any help would be great. Thank you.

EDIT: Ok so I've found that I need to selectewhat channels to display. Is there a way around this where I can just show the channels what are inside my m3u file?

EDIT AGAIN: So I figured it out, the channels will display according the XMLTV data. The problem I'm facing is that doesn't seem to want to work. Even though it works through IPTV Simple Client. The XMLTV data is a link directly from my IPTV provider. Am I missing something in settings? Thanks.
 If you use the PVR import it will link to the Kodi PVR and try to play the channels through the normal Kodi PVR player.
Look in the addons.ini file to see what it is linking to.
userdata\addon_data\script.tvguide.fullscreen\addons.ini

If you use an m3u file that has plugin:// links instead of simple http:// links you are at the mercy of whatever the addon that the plugin:// link uses.
Some assume that you have come in through the front door and load up the channels as you go through the addon menu.

You can turn which channels are visible in the Menu\Channels dialog.

When you change an xmltv source it is best to do a "Settings\Source\Reset on Start" once to clear out the channel list.
Turn it off again the next time you start TVGF.
Reply
primaeval Wrote:Was edit4ever's post about his addon of any use?
I encountered a few problems with zap2epg.  But it is a good start and I hope it will improve.  Especially I think it needs to support Zap2 & Titan user accounts. 

https://forum.kodi.tv/showthread.php?tid...pid2716747
Quote:If you need something complicated you'll probably have to use Webgrab+Plus. LibreELEC has a built in service to run the Webgrab program.
Yes, this might be an option if nothing else works. My LibreELEC box does not have a lot of RAM or fast hardware, so running .NET apps is not my first choice. And Webgrab does not yet support some of the EPG sources I need.  I may explore this option further.  The complication is to combine IPTV channels and OTA tuner channels in the same EPG, where program data for IPTV comes from the web and program data for OTA channels comes from the video data stream.  The TV Headend PVR client EPG works for OTA channels.  So I need to get IPTV channels into the PVR client, or I need to get OTA channels into TVGuide Fullscreen.

It's funny, in LibreELEC settings | About, it says: "simple enough for anyone to convert a bare HTPC into a fully configured media machine in under 15 minutes."  Well I've been working on this for several years and I'm not finished yet.  So I hope the people who do that GSOC thing will think about making a setup wizard that works for people who want to build a custom EPG.
Quote:I've made a little addon to help making setting up the channels a bit easier.
That is a nice tool. Could use support for Titan TV or Dish EPG services. Tried to create an account with TV.com but the CAPTCHA seems to be broken. "There was a problem with the sign up process."
Quote:My yo.tv source used to be good for grabbing from lots of different providers but that is broken right now. You could see if you could fix it if you know a bit of python.
I am no expert - I would work on this if it would help, but the U.S. EPG there is empty and they dont respond to emails regarding their future plans for the service.
Quote:If anyone knows of an easily scrapable single web page for US/CA/EU etc tv guide data please let me know.
If you create a web account for TitanTV or Zap2it, you can select and save a favorite channel lineup. That might be easier to scrape than all of those sites which just put up the whole catalog.
Reply
(2018-03-21, 22:38)MB32 Wrote:
primaeval Wrote:Was edit4ever's post about his addon of any use?
I encountered a few problems with zap2epg.  But it is a good start and I hope it will improve.  Especially I think it needs to support Zap2 & Titan user accounts. 

https://forum.kodi.tv/showthread.php?tid...pid2716747
Quote:If you need something complicated you'll probably have to use Webgrab+Plus. LibreELEC has a built in service to run the Webgrab program.
Yes, this might be an option if nothing else works. My LibreELEC box does not have a lot of RAM or fast hardware, so running .NET apps is not my first choice. And Webgrab does not yet support some of the EPG sources I need.  I may explore this option further.  The complication is to combine IPTV channels and OTA tuner channels in the same EPG, where program data for IPTV comes from the web and program data for OTA channels comes from the video data stream.  The TV Headend PVR client EPG works for OTA channels.  So I need to get IPTV channels into the PVR client, or I need to get OTA channels into TVGuide Fullscreen.

It's funny, in LibreELEC settings | About, it says: "simple enough for anyone to convert a bare HTPC into a fully configured media machine in under 15 minutes."  Well I've been working on this for several years and I'm not finished yet.  So I hope the people who do that GSOC thing will think about making a setup wizard that works for people who want to build a custom EPG.
Quote:I've made a little addon to help making setting up the channels a bit easier.
That is a nice tool. Could use support for Titan TV or Dish EPG services. Tried to create an account with TV.com but the CAPTCHA seems to be broken. "There was a problem with the sign up process."
Quote:My yo.tv source used to be good for grabbing from lots of different providers but that is broken right now. You could see if you could fix it if you know a bit of python.
I am no expert - I would work on this if it would help, but the U.S. EPG there is empty and they dont respond to emails regarding their future plans for the service.
Quote:If anyone knows of an easily scrapable single web page for US/CA/EU etc tv guide data please let me know.
If you create a web account for TitanTV or Zap2it, you can select and save a favorite channel lineup. That might be easier to scrape than all of those sites which just put up the whole catalog.    
Did you read the posts from @Infidelus about fixing his tvheadend xmltv source? It might be worth talking to him.
https://forum.kodi.tv/showthread.php?tid...pid2658491

@usphil also had some problems with Directv that I think he fixed.
https://forum.kodi.tv/showthread.php?tid...pid2690297
Reply
(2018-03-21, 14:25)primaeval Wrote:
(2018-03-21, 02:34)Daveabuk Wrote: Hi, great work btw.

I'm trying to import my PVR playlist but only BBC1 is showing on the channel lists. When I go on Stream Setup and select strm|m3u it doesnt matter what channel I select in my m3u file only BBC1 is there. If I select import import playlist and choose my m3u nothing seems to happen and if I select Import PVR nothing happens. I think I must be doing something wrong. Any help would be great. Thank you.

EDIT: Ok so I've found that I need to selectewhat channels to display. Is there a way around this where I can just show the channels what are inside my m3u file?

EDIT AGAIN: So I figured it out, the channels will display according the XMLTV data. The problem I'm facing is that doesn't seem to want to work. Even though it works through IPTV Simple Client. The XMLTV data is a link directly from my IPTV provider. Am I missing something in settings? Thanks.
 If you use the PVR import it will link to the Kodi PVR and try to play the channels through the normal Kodi PVR player.
Look in the addons.ini file to see what it is linking to.
userdata\addon_data\script.tvguide.fullscreen\addons.ini

If you use an m3u file that has plugin:// links instead of simple http:// links you are at the mercy of whatever the addon that the plugin:// link uses.
Some assume that you have come in through the front door and load up the channels as you go through the addon menu.

You can turn which channels are visible in the Menu\Channels dialog.

When you change an xmltv source it is best to do a "Settings\Source\Reset on Start" once to clear out the channel list.
Turn it off again the next time you start TVGF.   
 Right, so I have done that and linked my m3u file from my PVR client. The prolem now is the XMLTV data isn't working. This is working with PVR Client. The format is below;

xml:
<channel id="Channel 5HD">
<display-name lang="en">Channel 5 HD</display-name>
<icon src="http://tv.sky.com/logo/248/60/skychb4058.png"/>
<url>http://www.tv.sky.com</url>
</channel>

<programme start="20180320044500 +0000" stop="20180320051000 +0000" channel="Channel 5HD">
<title lang="en">House Doctor</title>
<desc lang="en">
A compilation of highlights from the home-staging series presented by Californian interior designer Ann Maurice. Focusing on a dilapidated Bournemouth house. [SL.(n)
</desc>
<category lang="en">Entertainment</category>
<category lang="en">Home</category>
<icon src="http://epgstatic.sky.com/epgdata/1.0/paimage/18/0/webANXhousedoctor5.jpg"/>
<episode-num system="onscreen">S3E9</episode-num>
</programme>

But I'm still getting the Oops error even after resetting on start. Any ideas with this? Thank you for the reply.
Reply
In Kodi log, here is what I've found.

xml:
22:51:15.132 T:5192   ERROR:   File "C:\Users\hp\AppData\Roaming\Kodi\addons\script.tvguide.fullscreen\source.py", line 522, in _updateChannelAndProgramListCaches
22:51:15.134 T:5192   ERROR:     for item in self.source.getDataFromExternal(date, ch_list, progress_callback):
22:51:15.134 T:5192   ERROR:   File "C:\Users\hp\AppData\Roaming\Kodi\addons\script.tvguide.fullscreen\source.py", line 1904, in getDataFromExternal
22:51:15.134 T:5192   ERROR:     for v in chain(self.getDataFromExternal2(self.xmltvFile, date, ch_list, progress_callback)):
22:51:15.134 T:5192   ERROR:   File "C:\Users\hp\AppData\Roaming\Kodi\addons\script.tvguide.fullscreen\source.py", line 1972, in parseXMLTV
22:51:15.134 T:5192   ERROR:     event, root = context.next()
22:51:15.134 T:5192   ERROR:   File "C:\Program Files (x86)\Kodi\system\python\Lib\xml\etree\ElementTree.py", line 1271, in next
22:51:15.135 T:5192   ERROR:     raise e
22:51:15.135 T:5192   ERROR: ParseError: syntax error: line 1, column 0
Reply
Exclamation 
version 0.0.384
- Settings\Appearance\Channel Shortcut Type += Sort Number  (thanks Doctor-Eggs)
 
Quote:Allows the channel shortcut to use the sort number instead of the index. This way when the user changes the category, the channel number stays the same.
Reply
(2018-03-22, 01:00)Daveabuk Wrote: In Kodi log, here is what I've found.

xml:
22:51:15.132 T:5192   ERROR:   File "C:\Users\hp\AppData\Roaming\Kodi\addons\script.tvguide.fullscreen\source.py", line 522, in _updateChannelAndProgramListCaches
22:51:15.134 T:5192   ERROR:     for item in self.source.getDataFromExternal(date, ch_list, progress_callback):
22:51:15.134 T:5192   ERROR:   File "C:\Users\hp\AppData\Roaming\Kodi\addons\script.tvguide.fullscreen\source.py", line 1904, in getDataFromExternal
22:51:15.134 T:5192   ERROR:     for v in chain(self.getDataFromExternal2(self.xmltvFile, date, ch_list, progress_callback)):
22:51:15.134 T:5192   ERROR:   File "C:\Users\hp\AppData\Roaming\Kodi\addons\script.tvguide.fullscreen\source.py", line 1972, in parseXMLTV
22:51:15.134 T:5192   ERROR:     event, root = context.next()
22:51:15.134 T:5192   ERROR:   File "C:\Program Files (x86)\Kodi\system\python\Lib\xml\etree\ElementTree.py", line 1271, in next
22:51:15.135 T:5192   ERROR:     raise e
22:51:15.135 T:5192   ERROR: ParseError: syntax error: line 1, column 0
That error usually comes up when the xml doesn't have the correct syntax.
Run the xml through an online checker to find the errors. https://www.xmlvalidation.com/
It probably is due to a character that hasn't been escaped properly. https://en.wikipedia.org/wiki/List_of_XM...references
zap2xml has that problem by default. Have a look at this post. https://forum.kodi.tv/showthread.php?tid...pid2572226
Reply
I've been experimenting with the recording forks of IPTV Simple Client but it is a can of worms and very hard to build so I've made a python addon that y'all might be interested in.
IPTV Recorder
plugin.video.iptv.recorder
https://forum.kodi.tv/showthread.php?tid=329991

TVGF can already record with AutoPlayWiths and ffmpeg.
Reply
(2018-03-22, 09:46)primaeval Wrote:
(2018-03-22, 01:00)Daveabuk Wrote: In Kodi log, here is what I've found.

xml:
22:51:15.132 T:5192   ERROR:   File "C:\Users\hp\AppData\Roaming\Kodi\addons\script.tvguide.fullscreen\source.py", line 522, in _updateChannelAndProgramListCaches
22:51:15.134 T:5192   ERROR:     for item in self.source.getDataFromExternal(date, ch_list, progress_callback):
22:51:15.134 T:5192   ERROR:   File "C:\Users\hp\AppData\Roaming\Kodi\addons\script.tvguide.fullscreen\source.py", line 1904, in getDataFromExternal
22:51:15.134 T:5192   ERROR:     for v in chain(self.getDataFromExternal2(self.xmltvFile, date, ch_list, progress_callback)):
22:51:15.134 T:5192   ERROR:   File "C:\Users\hp\AppData\Roaming\Kodi\addons\script.tvguide.fullscreen\source.py", line 1972, in parseXMLTV
22:51:15.134 T:5192   ERROR:     event, root = context.next()
22:51:15.134 T:5192   ERROR:   File "C:\Program Files (x86)\Kodi\system\python\Lib\xml\etree\ElementTree.py", line 1271, in next
22:51:15.135 T:5192   ERROR:     raise e
22:51:15.135 T:5192   ERROR: ParseError: syntax error: line 1, column 0
That error usually comes up when the xml doesn't have the correct syntax.
Run the xml through an online checker to find the errors. https://www.xmlvalidation.com/
It probably is due to a character that hasn't been escaped properly. https://en.wikipedia.org/wiki/List_of_XM...references
zap2xml has that problem by default. Have a look at this post. https://forum.kodi.tv/showthread.php?tid...pid2572226 
 I have tried the link you mentioned, but the website is giving an error and after it's been uploaded. I have tried on Codebeautify.org and that returned Valid XML. Am I missing something at the beginning of the XML file? If so, I can create a python script to pull the data, include something, and then get Kodi to pull the new XML file. As the data is hosted on my providers server that's the best I can do. Thanks for your help.
Reply
(2018-03-22, 13:41)Daveabuk Wrote:
(2018-03-22, 09:46)primaeval Wrote:
(2018-03-22, 01:00)Daveabuk Wrote: In Kodi log, here is what I've found.

xml:
22:51:15.132 T:5192   ERROR:   File "C:\Users\hp\AppData\Roaming\Kodi\addons\script.tvguide.fullscreen\source.py", line 522, in _updateChannelAndProgramListCaches
22:51:15.134 T:5192   ERROR:     for item in self.source.getDataFromExternal(date, ch_list, progress_callback):
22:51:15.134 T:5192   ERROR:   File "C:\Users\hp\AppData\Roaming\Kodi\addons\script.tvguide.fullscreen\source.py", line 1904, in getDataFromExternal
22:51:15.134 T:5192   ERROR:     for v in chain(self.getDataFromExternal2(self.xmltvFile, date, ch_list, progress_callback)):
22:51:15.134 T:5192   ERROR:   File "C:\Users\hp\AppData\Roaming\Kodi\addons\script.tvguide.fullscreen\source.py", line 1972, in parseXMLTV
22:51:15.134 T:5192   ERROR:     event, root = context.next()
22:51:15.134 T:5192   ERROR:   File "C:\Program Files (x86)\Kodi\system\python\Lib\xml\etree\ElementTree.py", line 1271, in next
22:51:15.135 T:5192   ERROR:     raise e
22:51:15.135 T:5192   ERROR: ParseError: syntax error: line 1, column 0
That error usually comes up when the xml doesn't have the correct syntax.
Run the xml through an online checker to find the errors. https://www.xmlvalidation.com/
It probably is due to a character that hasn't been escaped properly. https://en.wikipedia.org/wiki/List_of_XM...references
zap2xml has that problem by default. Have a look at this post. https://forum.kodi.tv/showthread.php?tid...pid2572226  
 I have tried the link you mentioned, but the website is giving an error and after it's been uploaded. I have tried on Codebeautify.org and that returned Valid XML. Am I missing something at the beginning of the XML file? If so, I can create a python script to pull the data, include something, and then get Kodi to pull the new XML file. As the data is hosted on my providers server that's the best I can do. Thanks for your help. 
 pm me a link to the xmltv file and I'll have a look.
Reply
is there a way to run TGFS with a channel and have it start playing that channel?  I want to be able to control it with JSON RPC command
Reply
(2018-03-25, 01:40)gottahavit Wrote: is there a way to run TGFS with a channel and have it start playing that channel?  I want to be able to control it with JSON RPC command
 No. Unless you mean play when you use a channel number shortcut.
https://github.com/primaeval/script.tvgu...tbehaviour

You can scroll to a particular channel on start with command arguments:
https://forum.kodi.tv/showthread.php?tid...pid2647074

rw86 made a mod to restart on playing but I couldn't get it working properly in all cases so I haven't added it in yet.

TVGF runs as a script standalone program so you can't use the normal plugin urls.

It is possible if you really want to do it but it would need a polling mechanism to take commands from another addon.
You might be able to do it by sending the keyboard commands to change a channel.
There are a few ways to set up channel shortcut keys.
Reply
What you could do is use my Addons.ini Player.
You could load up the addons.ini and channel list from TVGF and easily get to that from jsonrpc.
Reply
Thanks for the info. The issue with using key presses is that the RPC command for that only works if you're in a text input with the virtual keyboard up.

I'm not sure I'm following how to use addons.ini to get commands to TVGFS?  I'll look at it but any if would be helpful.
Reply
  • 1
  • 157
  • 158
  • 159(current)
  • 160
  • 161
  • 201

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