Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
  • 1
  • 138
  • 139
  • 140(current)
  • 141
  • 142
  • 201
TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;)
https://github.com/primaeval/script.tvgu...creen/wiki & https://github.com/primaeval/script.tvgu...i/Settings provides a level of explanation.
RPi4, (LibreELEC 11.0) hdmi0 -> Philips 55PUS7304 4K TV, hdmi1 -> Onkyo TX-SR608 AV Receiver
Reply
Here's what I want to do. I have 2 m3u files from 2 different sites that include similar channels. I want to import my xmltv file and configre one m3u file as primary channels and the other as alternate streams.

1. Can I do this?
2. Can I configure everything at the config file level so I can simply start the app and have it work?
3. Can the channel groups from the m3u streams be used as the channel groups in TVGFS?
Reply
Hi,

I've installed the addon on LibreElec 8.1 on a RPi 3. I've pointed the guide to a generated xmltv file usign webgrab++ configured by WebGrab+Plus Configurator. But when I start the guide it returns with an "It was not possible to load program data, check settings or try again later..."
In the kodi.log the following errors appears:

ERROR: File "/storage/.kodi/addons/script.tvguide.fullscreen/source.py", line 383, in _updateChannelAndProgramListCaches
ERROR: self.source.KEY, channel.weight, self.source.KEY])
ERROR: ProgrammingError: You must not use 8-bit bytestrings unless you use a text_factory that can interpret 8-bit bytestrings (like text_factory = str). It is highly recommended that you instead just switch your application to Unicode strings.

I've tried with different xmltv files generated from different providers and I always get the same error. I've tried these xmltv files with "TV Guide" addon without problems.



Thx in advance
Reply
(2017-08-23, 02:26)eric859 Wrote: Here's what I want to do. I have 2 m3u files from 2 different sites that include similar channels. I want to import my xmltv file and configre one m3u file as primary channels and the other as alternate streams.

1. Can I do this?
2. Can I configure everything at the config file level so I can simply start the app and have it work?
3. Can the channel groups from the m3u streams be used as the channel groups in TVGFS?

You can't do that directly.

You can import multiple m3u playlists in "Optional\... m3u Playlist Subscriptions" and use an m3u as the Primary mapping in "Optional\Import m3u".

You can import the Alternative Channel mappings in "Settings\Backup" but as ini files.
Export one first to see what it looks like. They end up in your addon_data folder.

You can't directly load categories from the m3u file.
Show me what they look like and I'll see if I can add them in.

How often do these files change?
Reply
(2017-08-23, 08:31)josegerez Wrote: ^^^

Your xmltv file works ok for me on Win7 Kodi 17.4. I can't check it on LibreELEC 8.1. I only use 7.

I do see that you are using RC1. Is there an update to the final version you can try?

You need to remove the link to the log file as there are some naughty addons in there.
Reply
(2017-08-23, 09:14)primaeval Wrote:
(2017-08-23, 08:31)josegerez Wrote: ^^^

Your xmltv file works ok for me on Win7 Kodi 17.4. I can't check it on LibreELEC 8.1. I only use 7.

I do see that you are using RC1. Is there an update to the final version you can try?

You need to remove the link to the log file as there are some naughty addons in there.

I don't know if there are another version. Just installed yesterday the last one LibreELEC offers and trying what Kodi can do. I've installed several addons to check and I'll will reinstall everything when I've learned some more about this system.
I've already removed the links.
Thanks
Reply
(2017-08-23, 11:00)josegerez Wrote:
(2017-08-23, 09:14)primaeval Wrote:
(2017-08-23, 08:31)josegerez Wrote: ^^^

Your xmltv file works ok for me on Win7 Kodi 17.4. I can't check it on LibreELEC 8.1. I only use 7.

I do see that you are using RC1. Is there an update to the final version you can try?

You need to remove the link to the log file as there are some naughty addons in there.

I don't know if there are another version. Just installed yesterday the last one LibreELEC offers and trying what Kodi can do. I've installed several addons to check and I'll will reinstall everything when I've learned some more about this system.
I've already removed the links.
Thanks

Have you got any other devices you can test on?
It might be something I need to change in the code. It is a never-ending battle with unicode.
Reply
(2017-08-23, 08:55)primaeval Wrote:
(2017-08-23, 02:26)eric859 Wrote: Here's what I want to do. I have 2 m3u files from 2 different sites that include similar channels. I want to import my xmltv file and configre one m3u file as primary channels and the other as alternate streams.

1. Can I do this?
2. Can I configure everything at the config file level so I can simply start the app and have it work?
3. Can the channel groups from the m3u streams be used as the channel groups in TVGFS?

You can't do that directly.

You can import multiple m3u playlists in "Optional\... m3u Playlist Subscriptions" and use an m3u as the Primary mapping in "Optional\Import m3u".

You can import the Alternative Channel mappings in "Settings\Backup" but as ini files.
Export one first to see what it looks like. They end up in your addon_data folder.

You can't directly load categories from the m3u file.
Show me what they look like and I'll see if I can add them in.

How often do these files change?

So I used the primary m3u file in the "Optional\Import m3u" setting. I added the 2nd m3u file which inludes alternate streams in the "Optional\... m3u Playlist Subscriptions" section. All streams load in the Addons location in Menu -> Stream Setup. All the streams have been assigned a primary from when you added code to automatically match Channel ID's in the M3u file with the Channel ID's in the xmltv file. So when I choose a channel, it starts the program with the stream added in the "Optional\Import m3u" setting. So now I want to add an alternate stream from the 2nd m3u file to each channel. When I go into the Menu and do a Stream Setup, I can choose 2 streams from the Addon menu, but it freezes kodi when I try to save the setting. I just want to be able to choose a stream when I select a channel from the EPG. Am I doing something wrong?
Reply
(2017-08-23, 19:43)eric859 Wrote:
(2017-08-23, 08:55)primaeval Wrote:
(2017-08-23, 02:26)eric859 Wrote: Here's what I want to do. I have 2 m3u files from 2 different sites that include similar channels. I want to import my xmltv file and configre one m3u file as primary channels and the other as alternate streams.

1. Can I do this?
2. Can I configure everything at the config file level so I can simply start the app and have it work?
3. Can the channel groups from the m3u streams be used as the channel groups in TVGFS?

You can't do that directly.

You can import multiple m3u playlists in "Optional\... m3u Playlist Subscriptions" and use an m3u as the Primary mapping in "Optional\Import m3u".

You can import the Alternative Channel mappings in "Settings\Backup" but as ini files.
Export one first to see what it looks like. They end up in your addon_data folder.

You can't directly load categories from the m3u file.
Show me what they look like and I'll see if I can add them in.

How often do these files change?

So I used the primary m3u file in the "Optional\Import m3u" setting. I added the 2nd m3u file which inludes alternate streams in the "Optional\... m3u Playlist Subscriptions" section. All streams load in the Addons location in Menu -> Stream Setup. All the streams have been assigned a primary from when you added code to automatically match Channel ID's in the M3u file with the Channel ID's in the xmltv file. So when I choose a channel, it starts the program with the stream added in the "Optional\Import m3u" setting. So now I want to add an alternate stream from the 2nd m3u file to each channel. When I go into the Menu and do a Stream Setup, I can choose 2 streams from the Addon menu, but it freezes kodi when I try to save the setting. I just want to be able to choose a stream when I select a channel from the EPG. Am I doing something wrong?


It shouldn't be freezing. It might be your addon or it might be the guide.
Check if the channels will play ok if the alternative streams are added in "Optional\Import m3u" instead.

It looks like you added the primary channels ok with "Optional\Import m3u".

The "Optional\... m3u Playlist Subscriptions" end up in the addonsi.ini file. You see them in the "Stream Setup\Addons" section.
This is the pool of channels that get matched in the "Choose Stream" or "Add Alt Stream" dialogs.

The Alternative Channels need to be added from "Stream Setup\Addons\Alt Stream" or "Menu\Add Alt Stream".

If you really want to work out what is going on have a look in the source.db file in the addon_data\script.tvguide.fullscreen folder with something like http://sqlitebrowser.org/
You can see the tables for the channel mappings and alternative channel mappings.
Reply
Without having to totally reverse engineer a skin, is there any documentation on skinning TV Guide Fullscreen?

I don't want to build my own, but just tweak one I am using.

Thanks,

Biggy
Reply
(2017-08-23, 20:25)BigOldBoy Wrote: Without having to totally reverse engineer a skin, is there any documentation on skinning TV Guide Fullscreen?

I don't want to build my own, but just tweak one I am using.

Thanks,

Biggy

Not really but it's not too hard. There are a few skins around that you can grab the bits you like from.

The gotchas are really the hidden things in the code in gui.py that add controls or change the images.

The best way to see a control is to make the texture stand out by using something like "background-cover.png" which is a lurid green colour.

What sort of things are you trying to do?
Reply
(2017-08-23, 19:58)primaeval Wrote:
(2017-08-23, 19:43)eric859 Wrote:
(2017-08-23, 08:55)primaeval Wrote: You can't do that directly.

You can import multiple m3u playlists in "Optional\... m3u Playlist Subscriptions" and use an m3u as the Primary mapping in "Optional\Import m3u".

You can import the Alternative Channel mappings in "Settings\Backup" but as ini files.
Export one first to see what it looks like. They end up in your addon_data folder.

You can't directly load categories from the m3u file.
Show me what they look like and I'll see if I can add them in.

How often do these files change?

So I used the primary m3u file in the "Optional\Import m3u" setting. I added the 2nd m3u file which inludes alternate streams in the "Optional\... m3u Playlist Subscriptions" section. All streams load in the Addons location in Menu -> Stream Setup. All the streams have been assigned a primary from when you added code to automatically match Channel ID's in the M3u file with the Channel ID's in the xmltv file. So when I choose a channel, it starts the program with the stream added in the "Optional\Import m3u" setting. So now I want to add an alternate stream from the 2nd m3u file to each channel. When I go into the Menu and do a Stream Setup, I can choose 2 streams from the Addon menu, but it freezes kodi when I try to save the setting. I just want to be able to choose a stream when I select a channel from the EPG. Am I doing something wrong?


It shouldn't be freezing. It might be your addon or it might be the guide.
Check if the channels will play ok if the alternative streams are added in "Optional\Import m3u" instead.

It looks like you added the primary channels ok with "Optional\Import m3u".

The "Optional\... m3u Playlist Subscriptions" end up in the addonsi.ini file. You see them in the "Stream Setup\Addons" section.
This is the pool of channels that get matched in the "Choose Stream" or "Add Alt Stream" dialogs.

The Alternative Channels need to be added from "Stream Setup\Addons\Alt Stream" or "Menu\Add Alt Stream".

If you really want to work out what is going on have a look in the source.db file in the addon_data\script.tvguide.fullscreen folder with something like http://sqlitebrowser.org/
You can see the tables for the channel mappings and alternative channel mappings.

Is something supposed to happen when I select "Stream Setup\Addons\Alt Stream" or "Menu\Add Alt Stream"? Is a window supposed to appear or something, becuase it doesn't seem to do anything. It is like it's just a dead button.
Reply
(2017-08-23, 20:41)eric859 Wrote: Is something supposed to happen when I select "Stream Setup\Addons\Alt Stream" or "Menu\Add Alt Stream"? Is a window supposed to appear or something, becuase it doesn't seem to do anything. It is like it's just a dead button.

There should be a popup for "Stream Setup\Addons\Alt Stream" saying the addon and channel name.
There is a setting that turns that off but I can't remember where right now.

"Menu\Add Alt Stream" should popup the Choose Channel dialog if there are any matches.
Are you sure your channels match the streams?

Try exporting the Channel Mappings and Alternative Channel Mappings in Settings\Backup and have a look at the files in addon_data\script.tvguide.fullscreen to see if the mappings are working.

If you really get stuck you can zip up your addon_data folder and pm me a link.
Reply
(2017-08-23, 21:19)primaeval Wrote:
(2017-08-23, 20:41)eric859 Wrote: Is something supposed to happen when I select "Stream Setup\Addons\Alt Stream" or "Menu\Add Alt Stream"? Is a window supposed to appear or something, becuase it doesn't seem to do anything. It is like it's just a dead button.

There should be a popup for "Stream Setup\Addons\Alt Stream" saying the addon and channel name.
There is a setting that turns that off but I can't remember where right now.

"Menu\Add Alt Stream" should popup the Choose Channel dialog if there are any matches.
Are you sure your channels match the streams?

Try exporting the Channel Mappings and Alternative Channel Mappings in Settings\Backup and have a look at the files in addon_data\script.tvguide.fullscreen to see if the mappings are working.

If you really get stuck you can zip up your addon_data folder and pm me a link.

I sent you a pm. Thanks
Reply
(2017-08-23, 11:02)primaeval Wrote:
(2017-08-23, 11:00)josegerez Wrote:
(2017-08-23, 09:14)primaeval Wrote: Your xmltv file works ok for me on Win7 Kodi 17.4. I can't check it on LibreELEC 8.1. I only use 7.

I do see that you are using RC1. Is there an update to the final version you can try?

You need to remove the link to the log file as there are some naughty addons in there.

I don't know if there are another version. Just installed yesterday the last one LibreELEC offers and trying what Kodi can do. I've installed several addons to check and I'll will reinstall everything when I've learned some more about this system.
I've already removed the links.
Thanks

Have you got any other devices you can test on?
It might be something I need to change in the code. It is a never-ending battle with unicode.

OK. I've tried on a VM with LibreELEC 8.0.2 and it worked fine. I will try this version on my RPi.

Thx for your help.
Reply
  • 1
  • 138
  • 139
  • 140(current)
  • 141
  • 142
  • 201

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