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-29

(2019-01-29, 18:10)georgepana Wrote:
(2019-01-29, 10:38)primaeval Wrote:
(2019-01-29, 06:46)georgepana Wrote: Thanks.  It was something in that url that would not allow for EPG.  Tried it with a couple of the other guides (not as nice as your version) Renegade and Ivue and the same problem.  However, played around with webgrab and tvtv.us and got a good and stable EPG going now.  Thanks for your help.

I have another question:  I am noticing strange artifacts/overlap every 10 pages or so.  At first I thought it is related to the EPG font size, and that I had chosen a font that was too large. But even if I bring the font way down it still shows the strange ghosting/overlap.  Here are a couple of pics, one with font size 15, one with font size 10. 

https://imgur.com/a/Pr0d7uz           --- font 15

https://imgur.com/a/tOzHHHj          --- font 10



Have you seen that before?  Is it something that can be fixed?

Thank you for your help.  
 There are two programs with overlapping times on that channel.
You might have two channels with the same name in the xmltv.
It could be a problem with zero duration but I thought there was some code that dealt with that.
Look in the channel listing with the 1 key or see if there is something strange in the xmltv program times.  

The main stream is a URL XML that I am paying for. Is there a way to look at the XML structure of that?  There is no actual XML file for download.  

The XML I use in Lab 3 to add to that is a webgrab of a local tvtv.us local listing, but the overlap already happened before I added the extra channels. 

Also, another question.  Is there a way to assign a "last channel" key, or is one perhaps already in place? 
 The xmltv files get downloaded before they are added to the database.
Look for
userdata\addon_data\script.tvguide.fullscreen\xmltv.xml

You can also use this to look in source.db
https://sqlitebrowser.org/

I think 0 (zero) will play the Last Channel. Here are most of the commands that I remembered to document.
https://github.com/primaeval/script.tvguide.fullscreen/wiki/Commands

There is also an Action Editor in Lab1 where you can change most actions.
They also need to be assigned to a physical button or key in keymap.xml.
You could use the Kodi Keymap Editor addon to do that easily.


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - JQZ* - 2019-01-30

(2019-01-28, 23:01)primaeval Wrote: I haven't tried it myself but look carefully at the paths:
/data/app/org.xbmc.kodi-2
That looks like a custom build path for Kodi.

I have: /data/app/org.xbmc.kodi-1 - No org.xbmc.kodi-2
 
(2019-01-28, 23:01)primaeval Wrote: You might have some luck with a tool that can modify an app's permissions like this:
https://play.google.com/store/apps/details?id=ccc71.at.free&hl=en
Again I haven't tried it with Kodi.

I can edit permissions with Total Commander. I tried doing that with packages.xml after I discovered the one I modified was being restored. I suspect anything else I change permissions on will have the same fate.
 
(2019-01-28, 23:01)primaeval Wrote: The long way round is to build Kodi for Android yourself and set the permissions there.
I would suggest you only try this if you are a Linux and Android expert. 
 
Yeah... that's not me. Smile


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

(2019-01-29, 18:51)primaeval Wrote:
(2019-01-29, 18:10)georgepana Wrote:
(2019-01-29, 10:38)primaeval Wrote:  There are two programs with overlapping times on that channel.
You might have two channels with the same name in the xmltv.
It could be a problem with zero duration but I thought there was some code that dealt with that.
Look in the channel listing with the 1 key or see if there is something strange in the xmltv program times.  

The main stream is a URL XML that I am paying for. Is there a way to look at the XML structure of that?  There is no actual XML file for download.  

The XML I use in Lab 3 to add to that is a webgrab of a local tvtv.us local listing, but the overlap already happened before I added the extra channels. 

Also, another question.  Is there a way to assign a "last channel" key, or is one perhaps already in place?  
 The xmltv files get downloaded before they are added to the database.
Look for
userdata\addon_data\script.tvguide.fullscreen\xmltv.xml

You can also use this to look in source.db
https://sqlitebrowser.org/

I think 0 (zero) will play the Last Channel. Here are most of the commands that I remembered to document.
https://github.com/primaeval/script.tvguide.fullscreen/wiki/Commands

There is also an Action Editor in Lab1 where you can change most actions.
They also need to be assigned to a physical button or key in keymap.xml.
You could use the Kodi Keymap Editor addon to do that easily. 

Thanks for the info.  I have activated the Number keys to allow me to jump to channels via their numbers, so 0 won't work for "Last Channel".  I went into the Action editor and changed the entry in "Play Last Channel" from KEY_BUTTON_0 to KEY_BUTTON_Y.   But, Y won't work.  I still have to assign a physical key in keymap.xml.  I loaded the Keymap Editor but am not sure where to assign the physical button.  I see multiple folders, starting with "Global", then "Fullscreen Video", then "Fullscreen Live TV", and so forth.  There is also a folder called "Virtual Keyboard", another one is labelled "Other."   I can't seem to find the right folder, can you point me in the right direction?

As for the issue with the overlapping channel data, I looked in the XMLTV file and all seems right with the world.  For that channel the listings appear to go in the right sequence - a program is showing to start at 000100 (1 pm) and ends at 000130 (1.30 pm), then the next program starts up at 1.30 and ends at 2.30, and so forth.  Haven't been able to find an overlapping time frame.  Strange.  One thing that I noticed was that for Monday there were a bunch of channels with that overlap error because a scheduled event that was previously published on all TV listings had been changed.  In this instance the "State of the Union Address" that was supposedly to be given by the President to Congress was scheduled for Monday 8 PM.  That was postponed because of the government shutdown (here in the US).  So, the channels affected were CNN, MSNBC, FoxNews, C-Span, ABC, NBC, CBS, FOX, and some more.  Each of those channels were showing the new programming (such as game shows, TV shows, etc.) but ghosted over each of those channels was the programming item "State of the Union Address."  

Anyway, not that big of a deal.  Just wondering if you had come across this problem before.   Let me know where in the Keymap Editor I need to assign that Y key for "Play Last Channel", if you could.

Thanks,

George


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

(2019-02-01, 04:35)georgepana Wrote:
(2019-01-29, 18:51)primaeval Wrote:
(2019-01-29, 18:10)georgepana Wrote: The main stream is a URL XML that I am paying for. Is there a way to look at the XML structure of that?  There is no actual XML file for download.  

The XML I use in Lab 3 to add to that is a webgrab of a local tvtv.us local listing, but the overlap already happened before I added the extra channels. 

Also, another question.  Is there a way to assign a "last channel" key, or is one perhaps already in place?  
 The xmltv files get downloaded before they are added to the database.
Look for
userdata\addon_data\script.tvguide.fullscreen\xmltv.xml

You can also use this to look in source.db
https://sqlitebrowser.org/

I think 0 (zero) will play the Last Channel. Here are most of the commands that I remembered to document.
https://github.com/primaeval/script.tvguide.fullscreen/wiki/Commands

There is also an Action Editor in Lab1 where you can change most actions.
They also need to be assigned to a physical button or key in keymap.xml.
You could use the Kodi Keymap Editor addon to do that easily.  

Thanks for the info.  I have activated the Number keys to allow me to jump to channels via their numbers, so 0 won't work for "Last Channel".  I went into the Action editor and changed the entry in "Play Last Channel" from KEY_BUTTON_0 to KEY_BUTTON_Y.   But, Y won't work.  I still have to assign a physical key in keymap.xml.  I loaded the Keymap Editor but am not sure where to assign the physical button.  I see multiple folders, starting with "Global", then "Fullscreen Video", then "Fullscreen Live TV", and so forth.  There is also a folder called "Virtual Keyboard", another one is labelled "Other."   I can't seem to find the right folder, can you point me in the right direction?

As for the issue with the overlapping channel data, I looked in the XMLTV file and all seems right with the world.  For that channel the listings appear to go in the right sequence - a program is showing to start at 000100 (1 pm) and ends at 000130 (1.30 pm), then the next program starts up at 1.30 and ends at 2.30, and so forth.  Haven't been able to find an overlapping time frame.  Strange.  One thing that I noticed was that for Monday there were a bunch of channels with that overlap error because a scheduled event that was previously published on all TV listings had been changed.  In this instance the "State of the Union Address" that was supposedly to be given by the President to Congress was scheduled for Monday 8 PM.  That was postponed because of the government shutdown (here in the US).  So, the channels affected were CNN, MSNBC, FoxNews, C-Span, ABC, NBC, CBS, FOX, and some more.  Each of those channels were showing the new programming (such as game shows, TV shows, etc.) but ghosted over each of those channels was the programming item "State of the Union Address."  

Anyway, not that big of a deal.  Just wondering if you had come across this problem before.   Let me know where in the Keymap Editor I need to assign that Y key for "Play Last Channel", if you could.

Thanks,

George 
 Send or pm a link to your xmltv that has the overlap problem and I'll see if I can work out what is wrong.

I don't think you can map Button Y to mimic another button.
It is a physical button on a game controller.

I mapped up ACTION_ROTATE_PICTURE_CCW to PLAY_LAST_CHANNEL in "Lab1 \ Action Editor"
and mapped up "Global \ Pictures \ Rotate Picture CCW" to "y" which is key 61529 on my keyboard in "Kodi \ Keymap Editor".

You can see the Keymap Editor Actions here:
https://github.com/tamland/xbmc-keymap-editor/blob/master/actions.py
and the Action Editor actions and commands here:
https://github.com/primaeval/script.tvguide.fullscreen/blob/master/ActionEditor.py

The default Kodi keymaps might give you some clues too.
https://github.com/xbmc/xbmc/blob/master/system/keymaps/keyboard.xml

I could have made the Action Editor map directly from a key to a command but then I couldn't do mouse actions etc.
Some TV Guide forks have done it that way.

The US has become stranger than fiction these days. Biff Tannen in the White House. When is Marty McFly going to turn up and save the day?


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - georgepana - 2019-02-02

(2019-02-01, 10:53)primaeval Wrote: I don't think you can map Button Y to mimic another button.
It is a physical button on a game controller.

I mapped up ACTION_ROTATE_PICTURE_CCW to PLAY_LAST_CHANNEL in "Lab1 \ Action Editor"
and mapped up "Global \ Pictures \ Rotate Picture CCW" to "y" which is key 61529 on my keyboard in "Kodi \ Keymap Editor".

That worked well, thanks.   

Yes, things are cray cray here, probably for another year and a half, the insane are running the asylum.  I hadn't thought of it, but I guess the Biff Tannen comparison is apt:

https://www.prnewswire.com/news-releases/new-book-compares-back-to-the-future-bully-biff-tannen-to-president-trump-sad-donald-biff-trump-is-president-by-paul-orwell-300733498.html

https://www.rollingstone.com/politics/politics-news/back-to-the-future-writer-biff-is-donald-trump-190408/


The XML with the ghosting issue is inside  kodi/userdata/addon_data/script.tvguide.fullscreen, right?  The XMLTV.xml file?     

Here is a link to that file:

https://drive.google.com/open?id=1lc_G1yAc4A_-zJeBehNNnnf5hRC0uH6j


Thanks again for your help.

George


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

(2019-02-02, 11:14)georgepana Wrote:
(2019-02-01, 10:53)primaeval Wrote: I don't think you can map Button Y to mimic another button.
It is a physical button on a game controller.

I mapped up ACTION_ROTATE_PICTURE_CCW to PLAY_LAST_CHANNEL in "Lab1 \ Action Editor"
and mapped up "Global \ Pictures \ Rotate Picture CCW" to "y" which is key 61529 on my keyboard in "Kodi \ Keymap Editor".

That worked well, thanks.   

Yes, things are cray cray here, probably for another year and a half, the insane are running the asylum.  I hadn't thought of it, but I guess the Biff Tannen comparison is apt:

https://www.prnewswire.com/news-releases/new-book-compares-back-to-the-future-bully-biff-tannen-to-president-trump-sad-donald-biff-trump-is-president-by-paul-orwell-300733498.html

https://www.rollingstone.com/politics/politics-news/back-to-the-future-writer-biff-is-donald-trump-190408/


The XML with the ghosting issue is inside  kodi/userdata/addon_data/script.tvguide.fullscreen, right?  The XMLTV.xml file?     

Here is a link to that file:

https://drive.google.com/open?id=1lc_G1yAc4A_-zJeBehNNnnf5hRC0uH6j


Thanks again for your help.

George 
 Whoever made that xmltv was really sloppy.
There are loads of overlapping programs and wrong durations.
eg
https://imgur.com/a/FNevwIc

See if you can get them to fix it.
If they can't let me know and I might be able to do something about the durations.


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

  
Try version 0.17.415.
I've added a fix to make the end date of a program no greater than the start of the next program.
It won't fix the case of two programs starting at the same time on the same channel but it seems to fix most of your problems.


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - georgepana - 2019-02-02

(2019-02-02, 13:49)primaeval Wrote:
(2019-02-02, 11:14)georgepana Wrote:  
  
Try version 0.17.415.
I've added a fix to make the end date of a program no greater than the start of the next program.
It won't fix the case of two programs starting at the same time on the same channel but it seems to fix most of your problems. 
 Yes, that worked great.  Not a single overlap listing with the new version.  Didn't even know you had a newer version as your Kodi repository has .414 as the latest.  Got the script for .415 from your github link.  It works great now with the fix.  Appreciated.  I was able to use the Action Editor in Lab 1 in combination with the Keymap Editor to map the Shift key on my Windows keyboard as the "Last Channel" button. I'll be playing around with mapping for remote controls on Android devices next, but looks easy to accomplish. 

Thanks for your assist and a most excellent TV Guide for Kodi.  

George


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - georgepana - 2019-02-02

Another question.  The XML you saw there is one that comes from an IPTV provider via a URL.  I customized it in TV Guide Fullscreen with better logos in many instances than came initially. I also changed the order of channels, moved all US based channels to the top and sorted the channels by topic (i.e. news channels together, kids channels together, sports channels together, etc.)   When I changed the source URL to another provider altogether everything was scrambled, the order of channels was lost, the logo were back to "stock", so I would have to go in and sort all channels as well as load logos from my logos folder (which I have placed in Kodi\media).  Luckily I had copied my Kodi folder before doing this, so I was able to go back to that and get my formatting back. 

I think that there is nothing that can be done about it to lock my channels as sorted into place going from one URL to the next (different providers) but figured I wanted to check with you if there might be a trick of some kind.


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

(2019-02-02, 18:02)georgepana Wrote: Another question.  The XML you saw there is one that comes from an IPTV provider via a URL.  I customized it in TV Guide Fullscreen with better logos in many instances than came initially. I also changed the order of channels, moved all US based channels to the top and sorted the channels by topic (i.e. news channels together, kids channels together, sports channels together, etc.)   When I changed the source URL to another provider altogether everything was scrambled, the order of channels was lost, the logo were back to "stock", so I would have to go in and sort all channels as well as load logos from my logos folder (which I have placed in Kodi\media).  Luckily I had copied my Kodi folder before doing this, so I was able to go back to that and get my formatting back. 

I think that there is nothing that can be done about it to lock my channels as sorted into place going from one URL to the next (different providers) but figured I wanted to check with you if there might be a trick of some kind.
 If you are making the xmltv yourself you should be able to set the channel order however you like.
How are you doing it?
You can reorder them in "xmltv Meld" or in a webgrab config file.

TVGF will follow the xmltv order unless you import your m3u stream playlist in Settings \ Optional and enable the button to sort by m3u order.

You could mess around in source.db with the weight field of channels to re-order them if you like playing with sql.


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - georgepana - 2019-02-03

(2019-02-02, 19:12)primaeval Wrote:
(2019-02-02, 18:02)georgepana Wrote: Another question.  The XML you saw there is one that comes from an IPTV provider via a URL.  I customized it in TV Guide Fullscreen with better logos in many instances than came initially. I also changed the order of channels, moved all US based channels to the top and sorted the channels by topic (i.e. news channels together, kids channels together, sports channels together, etc.)   When I changed the source URL to another provider altogether everything was scrambled, the order of channels was lost, the logo were back to "stock", so I would have to go in and sort all channels as well as load logos from my logos folder (which I have placed in Kodi\media).  Luckily I had copied my Kodi folder before doing this, so I was able to go back to that and get my formatting back. 

I think that there is nothing that can be done about it to lock my channels as sorted into place going from one URL to the next (different providers) but figured I wanted to check with you if there might be a trick of some kind.
 If you are making the xmltv yourself you should be able to set the channel order however you like.
How are you doing it?
You can reorder them in "xmltv Meld" or in a webgrab config file.

TVGF will follow the xmltv order unless you import your m3u stream playlist in Settings \ Optional and enable the button to sort by m3u order.

You could mess around in source.db with the weight field of channels to re-order them if you like playing with sql. 
I am only making a supplement xmltv file myself using webgrab mixing two local tvtv.us origins (NY and Tampa)  before running it through webgrab.  The main source, though, is via a url from an IPTV provider that I am paying a monthly fee to.  The URL is in this format:

http://kstv.xyz:8080/xmltv.php?username=xxxxxxxx&password=xxxxxxxxx

So, there really isn't an actual file to look at and manipulate, just that remote link.  My channel lineup and Logo linkup works great with one provider, but when I purchased a month of service from another provider and plugged that into TVGF it was starting from scratch.   I had copied my Kodi folder, so the settings for that one provider are safe.  I probably just create a new "master" setup for that new provider and save it.  That way if I flip back to the earlier provider I have it all ready to go.   Just have to keep multiple Kodi folders handy, and use the appropriate one depending on which provider I use.  

I figured there isn't really anything to be done, but thought I ask if somehow channels can be locked into place before a remote URL is used as a source.  

Have a great Sunday.


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

(2019-02-03, 05:15)georgepana Wrote:
(2019-02-02, 19:12)primaeval Wrote:
(2019-02-02, 18:02)georgepana Wrote: Another question.  The XML you saw there is one that comes from an IPTV provider via a URL.  I customized it in TV Guide Fullscreen with better logos in many instances than came initially. I also changed the order of channels, moved all US based channels to the top and sorted the channels by topic (i.e. news channels together, kids channels together, sports channels together, etc.)   When I changed the source URL to another provider altogether everything was scrambled, the order of channels was lost, the logo were back to "stock", so I would have to go in and sort all channels as well as load logos from my logos folder (which I have placed in Kodi\media).  Luckily I had copied my Kodi folder before doing this, so I was able to go back to that and get my formatting back. 

I think that there is nothing that can be done about it to lock my channels as sorted into place going from one URL to the next (different providers) but figured I wanted to check with you if there might be a trick of some kind.
 If you are making the xmltv yourself you should be able to set the channel order however you like.
How are you doing it?
You can reorder them in "xmltv Meld" or in a webgrab config file.

TVGF will follow the xmltv order unless you import your m3u stream playlist in Settings \ Optional and enable the button to sort by m3u order.

You could mess around in source.db with the weight field of channels to re-order them if you like playing with sql.  
I am only making a supplement xmltv file myself using webgrab mixing two local tvtv.us origins (NY and Tampa)  before running it through webgrab.  The main source, though, is via a url from an IPTV provider that I am paying a monthly fee to.  The URL is in this format:

http://kstv.xyz:8080/xmltv.php?username=xxxxxxxx&password=xxxxxxxxx

So, there really isn't an actual file to look at and manipulate, just that remote link.  My channel lineup and Logo linkup works great with one provider, but when I purchased a month of service from another provider and plugged that into TVGF it was starting from scratch.   I had copied my Kodi folder, so the settings for that one provider are safe.  I probably just create a new "master" setup for that new provider and save it.  That way if I flip back to the earlier provider I have it all ready to go.   Just have to keep multiple Kodi folders handy, and use the appropriate one depending on which provider I use.  

I figured there isn't really anything to be done, but thought I ask if somehow channels can be locked into place before a remote URL is used as a source.  

Have a great Sunday. 
 Channels can come and go in the xmltv source add get added to the epg without changing the channel order, I think.
But if you change sources it will trigger a channel reset.

There are a few things you could try:

Make a local m3u with all your streams in and use that to fix the order in Optional.

Use webgrab to merge the files. I expect you can fix the order somehow but I haven't tried it.
http://www.webgrabplus.com/content/solved-merge-xmltv-epg-url

Use tv_merge from the xmltv org tools.
http://manpages.ubuntu.com/manpages/bionic/man1/tv_merge.1p.html

Use my "xmltv Meld" addon to merge the xmltv files and re-order the channels.


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

(2019-02-03, 05:15)georgepana Wrote:
(2019-02-02, 19:12)primaeval Wrote:
(2019-02-02, 18:02)georgepana Wrote: Another question.  The XML you saw there is one that comes from an IPTV provider via a URL.  I customized it in TV Guide Fullscreen with better logos in many instances than came initially. I also changed the order of channels, moved all US based channels to the top and sorted the channels by topic (i.e. news channels together, kids channels together, sports channels together, etc.)   When I changed the source URL to another provider altogether everything was scrambled, the order of channels was lost, the logo were back to "stock", so I would have to go in and sort all channels as well as load logos from my logos folder (which I have placed in Kodi\media).  Luckily I had copied my Kodi folder before doing this, so I was able to go back to that and get my formatting back. 

I think that there is nothing that can be done about it to lock my channels as sorted into place going from one URL to the next (different providers) but figured I wanted to check with you if there might be a trick of some kind.
 If you are making the xmltv yourself you should be able to set the channel order however you like.
How are you doing it?
You can reorder them in "xmltv Meld" or in a webgrab config file.

TVGF will follow the xmltv order unless you import your m3u stream playlist in Settings \ Optional and enable the button to sort by m3u order.

You could mess around in source.db with the weight field of channels to re-order them if you like playing with sql.  
I am only making a supplement xmltv file myself using webgrab mixing two local tvtv.us origins (NY and Tampa)  before running it through webgrab.  The main source, though, is via a url from an IPTV provider that I am paying a monthly fee to.  The URL is in this format:

http://kstv.xyz:8080/xmltv.php?username=xxxxxxxx&password=xxxxxxxxx

So, there really isn't an actual file to look at and manipulate, just that remote link.  My channel lineup and Logo linkup works great with one provider, but when I purchased a month of service from another provider and plugged that into TVGF it was starting from scratch.   I had copied my Kodi folder, so the settings for that one provider are safe.  I probably just create a new "master" setup for that new provider and save it.  That way if I flip back to the earlier provider I have it all ready to go.   Just have to keep multiple Kodi folders handy, and use the appropriate one depending on which provider I use.  

I figured there isn't really anything to be done, but thought I ask if somehow channels can be locked into place before a remote URL is used as a source.  

Have a great Sunday. 
I've added an experimental setting in version 0.17.416.
Settings \ Source \ Keep xmltv Channels on Source Change (experimental)

It might do what you need.
You'll have to experiment with it and the "Reset on Start" and "File Download Interval" settings.

Beware that for local files it checks to see if the modified date is greater than the xmltv.xml in addon_data before it will load the new one.


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - georgepana - 2019-02-10

(2019-02-03, 11:19)primaeval Wrote:
(2019-02-03, 05:15)georgepana Wrote:
(2019-02-02, 19:12)primaeval Wrote:  If you are making the xmltv yourself you should be able to set the channel order however you like.
How are you doing it?
You can reorder them in "xmltv Meld" or in a webgrab config file.

TVGF will follow the xmltv order unless you import your m3u stream playlist in Settings \ Optional and enable the button to sort by m3u order.

You could mess around in source.db with the weight field of channels to re-order them if you like playing with sql.  
I am only making a supplement xmltv file myself using webgrab mixing two local tvtv.us origins (NY and Tampa)  before running it through webgrab.  The main source, though, is via a url from an IPTV provider that I am paying a monthly fee to.  The URL is in this format:

http://kstv.xyz:8080/xmltv.php?username=xxxxxxxx&password=xxxxxxxxx

So, there really isn't an actual file to look at and manipulate, just that remote link.  My channel lineup and Logo linkup works great with one provider, but when I purchased a month of service from another provider and plugged that into TVGF it was starting from scratch.   I had copied my Kodi folder, so the settings for that one provider are safe.  I probably just create a new "master" setup for that new provider and save it.  That way if I flip back to the earlier provider I have it all ready to go.   Just have to keep multiple Kodi folders handy, and use the appropriate one depending on which provider I use.  

I figured there isn't really anything to be done, but thought I ask if somehow channels can be locked into place before a remote URL is used as a source.  

Have a great Sunday.  
I've added an experimental setting in version 0.17.416.
Settings \ Source \ Keep xmltv Channels on Source Change (experimental)

It might do what you need.
You'll have to experiment with it and the "Reset on Start" and "File Download Interval" settings.

Beware that for local files it checks to see if the modified date is greater than the xmltv.xml in addon_data before it will load the new one. 
 Thank you for that.  I'll make good use of this.  

Is there a way to run the program twice in one instance of Kodi, for backup purposes?  I assume I could do a separate profile, but I am wondering if there is any way to have 2 TVGFs side by side, of course not running simultaneously.


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

(2019-02-10, 02:33)georgepana Wrote:
(2019-02-03, 11:19)primaeval Wrote:
(2019-02-03, 05:15)georgepana Wrote: I am only making a supplement xmltv file myself using webgrab mixing two local tvtv.us origins (NY and Tampa)  before running it through webgrab.  The main source, though, is via a url from an IPTV provider that I am paying a monthly fee to.  The URL is in this format:

http://kstv.xyz:8080/xmltv.php?username=xxxxxxxx&password=xxxxxxxxx

So, there really isn't an actual file to look at and manipulate, just that remote link.  My channel lineup and Logo linkup works great with one provider, but when I purchased a month of service from another provider and plugged that into TVGF it was starting from scratch.   I had copied my Kodi folder, so the settings for that one provider are safe.  I probably just create a new "master" setup for that new provider and save it.  That way if I flip back to the earlier provider I have it all ready to go.   Just have to keep multiple Kodi folders handy, and use the appropriate one depending on which provider I use.  

I figured there isn't really anything to be done, but thought I ask if somehow channels can be locked into place before a remote URL is used as a source.  

Have a great Sunday.  
I've added an experimental setting in version 0.17.416.
Settings \ Source \ Keep xmltv Channels on Source Change (experimental)

It might do what you need.
You'll have to experiment with it and the "Reset on Start" and "File Download Interval" settings.

Beware that for local files it checks to see if the modified date is greater than the xmltv.xml in addon_data before it will load the new one.   
 Thank you for that.  I'll make good use of this.  

Is there a way to run the program twice in one instance of Kodi, for backup purposes?  I assume I could do a separate profile, but I am wondering if there is any way to have 2 TVGFs side by side, of course not running simultaneously.  
There can be only one TVGF.

If you really wanted you could clone the addon and change every instance of script.tvguide.fullscreen to script.tvguide.fullscreen2 including the folder.
or use one of the other TV Guide forks.

The way I usually do it is make a profile for kids and switch to it with a keymap or favourite to LoadProfile()
eg
keymap.xml
xml:
 <keymap>
  <global>
    <keyboard>
      <f2>LoadProfile(kids)</f2>
      <f1>LoadProfile(Master User)</f1>
    </keyboard>
  </global>
</keymap>
or
favourites.xml
xml:
<favourite name="Kids">LoadProfile(Kids)</favourite>