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 - 2019-01-19

(2019-01-19, 18:27)bizzs Wrote: Thank you Primaeval for your effort, but this did not work for me.  The streams, logos and xmltv descriptions all lined up perfectly but the channel are all scattered and not in the same channel order as I have setup in tvheadend setup.  Do you think it would be possible to modify your script to where the user could assign his own channel number like tvheadend allows?  For example under the channel configuration section I can double click the cbs channel and assign it number 2. Tvheadend will map the channel in numerical order how I want it to appear in the guide.  This would make life much easier instead of sliding channels from the top to the bottom.  Thoughts?

Thanks
bizzs
 It works that way for me as it is now.
If I move a channel number in tvheadend it will also move in the m3u playlist and then in TVGF.

Are you pulling in the channels in "Optional \ Import m3u" and is "Reset on Start" turned off?


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - bizzs - 2019-01-19

I have entered my url (http://192.168.1.2:9981/playlist) under "Channel Mapping"  "Import m3u" tab on, "m3u source: url", "m3u url" : http://192.168.1.2:9981/playlist,  order channels by m3u position tab in on.  Is this correct ?

bizzs


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - primaeval - 2019-01-19

(2019-01-19, 19:19)bizzs Wrote: I have entered my url (http://192.168.1.2:9981/playlist) under "Channel Mapping"  "Import m3u" tab on, "m3u source: url", "m3u url" : http://192.168.1.2:9981/playlist,  order channels by m3u position tab in on.  Is this correct ?

bizzs
 That looks right.
The xmltv url should be the same but with playlist replaced by xmltv.

Are your tvheadend channels numbered like this:
Image

And when you download them in a browser from the playlist url are they in the same order?
They should download as a channels.m3u file that you can read with a text editor.


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - bizzs - 2019-01-19

My tvheadend page looks the same as yours and the xmltv is under "SOURCE" with xmltv source set to "URL" and the "XMLTV URL" is set to: http://192.168.1.2:9981/xmltv.  As I have explained, the channel guide matches up with the stream mux and the program descriptions are accurate, but  channel lineup is not in the same sequences as tvheadend.


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - primaeval - 2019-01-19

(2019-01-19, 19:40)bizzs Wrote: My tvheadend page looks the same as yours and the xmltv is under "SOURCE" with xmltv source set to "URL" and the "XMLTV URL" is set to: http://192.168.1.2:9981/xmltv.  As I have explained, the channel guide matches up with the stream mux and the program descriptions are accurate, but  channel lineup is not in the same sequences as tvheadend.
 Did you previously import the streams in a different way?

If you delete the addon data folder for TVGF and only add the playlist,xmltv and turn on the new order setting does it work?
userdata\addon_data\script.tvguide.fullscreen

Are the channels in the channels.m3u file in the correct order?
If they are does TVGF follow that order or the xmltv order?


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - bizzs - 2019-01-19

Yes I did.  I am running libreelec with tvheadend.   I just deleted those files and reinstalled.  The lineup is still the same way


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - primaeval - 2019-01-19

(2019-01-19, 19:55)bizzs Wrote: Yes I did.  I am running libreelec with tvheadend.   I just deleted those files and reinstalled.  The lineup is still the same way
 What order is it following; the xmltv.xml or the channels.m3u?
Did you start TVGF at least twice since deleting the addon_data folder?


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - bizzs - 2019-01-19

I opened up my xmltv and it appears that the tv guide script is creating the channel lineup from the way the channels are listed in the xmltv file.  For example, my listing is my local digital stations and the xmltv is showing fox, nbc, pbs etc.  The tvguide script is listing them in the identical order within the guide.


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - primaeval - 2019-01-19

(2019-01-19, 20:10)bizzs Wrote: I opened up my xmltv and it appears that the tv guide script is creating the channel lineup from the way the channels are listed in the xmltv file.  For example, my listing is my local digital stations and the xmltv is showing fox, nbc, pbs etc.  The tvguide script is listing them in the identical order within the guide.
 That is the normal behaviour. The order the channels appear in the xmltv file.

The new switch should change that  to the channels.m3u playlist order
Settings \ Optional \ Import m3u \ Order Channels by m3u Position

Does that change anything?


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - bizzs - 2019-01-19

No it does not.  I wiped everything out like you had instructed and did fresh install.  I did the xmltv file first and explained the results.  I added the m3u and turned on the Order Channels by m3u Position.  I have the same results with the guide, programming information and streams match but channel order is listed identical to the xmltv file order.


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - primaeval - 2019-01-19

(2019-01-19, 20:19)bizzs Wrote: No it does not.  I wiped everything out like you had instructed and did fresh install.  I did the xmltv file first and explained the results.  I added the m3u and turned on the Order Channels by m3u Position.  I have the same results with the guide, programming information and streams match but channel order is listed identical to the xmltv file order.
 It looks like tvheadend on libreelec needs you to explicitly add the channels.m3u on to the end of the playlist path.
Try putting this as the m3u url
http://192.168.1.2:9981/playlist/channels.m3u

Mine wasn't loading the channels.m3u at all without it. Nothing would play.


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - bizzs - 2019-01-19

I tried that url with the m3u extention and it would not play none of the channels at all. I tried downloading that url using windows 10 and I got a 404 error. The original url would download the playlight so I believe that the m3u extension is not recognized within tvheadend.

Thanks
bizzs


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - primaeval - 2019-01-19

(2019-01-19, 23:39)bizzs Wrote: I tried that url with the m3u extention and it would not play none of the channels at all. I tried downloading that url using windows 10 and I got a 404 error. The original url would download the playlight so I believe that the m3u extension is not recognized within tvheadend.

Thanks
bizzs
 You need to find the tvheadend link that works in your version of libreelec.
Maybe http://192.168.1.2:9981/playlist/channels

When you find the right link you should get playable channels in TVGF and a different order than the xmltv order.
You can see the channel mappings in this file when you exit TVGF if it has found the right m3u playlist.
\userdata\addon_data\script.tvguide.fullscreen\custom_stream_urls_autosave.ini

You can also use a something like this to look in the source.db file at the custom_stream_url table.
https://sqlitebrowser.org/

I was using this version of libreelec in a vmware virtual machine.
https://ftp.nluug.nl/mediaplayer/libreelec/LibreELEC-Generic.x86_64-8.95.003.ova


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - bizzs - 2019-01-20

The playlist url that you posted was the one I have been using.  Unfortunately, I am not that good with the programming jargin  I really like your guide and I think it is very cool.  I am not that savy to get this working so I will have to wait and see if there is a fix in the near future before I can use it.

Thanks for all your effort!!
bizzs


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - bizzs - 2019-01-20

Primaeval, can you tell me what operating system and version you are using with tvheadend?  I am thinking about dumping libreelec which is the only system on my server.

Thanks
bizzs