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. ;) - bizzs - 2019-01-25

I followed your instructions and I received the error notification again.  I looked in the file folder "Userdata\addon_data\service.webgrabplus\" and the webgrab config .xml file and tvguide.co.uk.ini files were there. There was no error log file found.  Thoughts?


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

(2019-01-25, 03:33)bizzs Wrote: I followed your instructions and I received the error notification again.  I looked in the file folder "Userdata\addon_data\service.webgrabplus\" and the webgrab config .xml file and tvguide.co.uk.ini files were there. There was no error log file found.  Thoughts?
 Are you using libreelec version 8.2.5?

Did you enable
Kodi \ Addons \ Box Icon \ Install from Repository \ Libreelec addons \ services \ Webgrab+Plus version 8.2.105

Did you follow my instructions exactly for BBC1 HD?

If you did then I have no idea because it works for me.


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

Hello primaeval.  Really like your TV Guide, the best there is.  I have a question about Lab 3.  I am trying to tie in an additional XML source, but whether I use a URL or an m3u file on my computer it always results in an error right after the remaining time has counted down to zero but before it switches to the EPG view.  The error reads: "Oops, sorry about that. It was not possible to load program data..."  

Is Lab 3 not working at the moment or am I missing a step or settings adjustment that would make it possible to load multiple XML sources into this excellent TV Guide?  

Thanks,

George


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

(2019-01-25, 20:00)georgepana Wrote: Hello primaeval.  Really like your TV Guide, the best there is.  I have a question about Lab 3.  I am trying to tie in an additional XML source, but whether I use a URL or an m3u file on my computer it always results in an error right after the remaining time has counted down to zero but before it switches to the EPG view.  The error reads: "Oops, sorry about that. It was not possible to load program data..."  

Is Lab 3 not working at the moment or am I missing a step or settings adjustment that would make it possible to load multiple XML sources into this excellent TV Guide?  

Thanks,

George
Thanks.
I just tested it and it worked ok for me.
I loaded my main xmltv in Source and an m3u in "Optional\Import m3u" and an xmltv made with "xmltv Meld" in "Lab3\secondary xmltv".

It's usually something to do with non-standard xml characters in your xmltv file.
Have you tried "Source\Fix xmltv html entity errors" ?


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

Hi Primaeval. I just noticed something working with reminders/notifications. If I set a reminder for a program from the EPG grid, the program is highlighted in the grid, and if I again bring up the context menu for the program there, there's an option "Don't Remind". But if I search for a program, bring up the context menu and set a reminder in there, "Don't Remind" doesn't appear when I repeat the search and bring up the context menu on the same program and time. I was wondering if the data in source.db had become corrupted, and looking at notifications in source.sb in sqlite, noticed several variations of the same program depending on how the program was listed in the EPG when I set the reminder. I'm not very learned in how all this works, so I cleared notifications and did a couple tests on a single program.

Adding and removing a reminder via the EPG works normally and adds and removes the program from source.db properly as I described. But when I add a reminder from search results, things are a bit different. There's no 'Don't Remind' for the same program as I wrote. And if I go ahead and set a reminder again, say like I might if I'd set it that way months ago and have forgotten, a 2nd duplicate instance is added to source.db. If at that point I find the program in the grid and set 'Don't Remind', both of the duplicate entries in source.db are removed.

So it all seems to be working correctly except for 'Don't Remind' not being displayed after doing a program search. It's not a huge issue, but it'd be convenient to know the reminder has already been set.

BTW: Thanks for your help a while back trying to get IPTV Recorder working on my Android phone. I did work on it quite a bit afterwards rooting and trying some fixes I found on the XDA Developers site. But nothing worked for me. It's not a very high priority, so I've put it aside for another day if I ever find the urge to get it working again.


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

(2019-01-27, 04:20)JQZ* Wrote: Hi Primaeval. I just noticed something working with reminders/notifications. If I set a reminder for a program from the EPG grid, the program is highlighted in the grid, and if I again bring up the context menu for the program there, there's an option "Don't Remind". But if I search for a program, bring up the context menu and set a reminder in there, "Don't Remind" doesn't appear when I repeat the search and bring up the context menu on the same program and time. I was wondering if the data in source.db had become corrupted, and looking at notifications in source.sb in sqlite, noticed several variations of the same program depending on how the program was listed in the EPG when I set the reminder. I'm not very learned in how all this works, so I cleared notifications and did a couple tests on a single program.

Adding and removing a reminder via the EPG works normally and adds and removes the program from source.db properly as I described. But when I add a reminder from search results, things are a bit different. There's no 'Don't Remind' for the same program as I wrote. And if I go ahead and set a reminder again, say like I might if I'd set it that way months ago and have forgotten, a 2nd duplicate instance is added to source.db. If at that point I find the program in the grid and set 'Don't Remind', both of the duplicate entries in source.db are removed.

So it all seems to be working correctly except for 'Don't Remind' not being displayed after doing a program search. It's not a huge issue, but it'd be convenient to know the reminder has already been set.

BTW: Thanks for your help a while back trying to get IPTV Recorder working on my Android phone. I did work on it quite a bit afterwards rooting and trying some fixes I found on the XDA Developers site. But nothing worked for me. It's not a very high priority, so I've put it aside for another day if I ever find the urge to get it working again.
 Try 0.17.414.
I've put the logic of checking the reminders in the popupmenu code.
I haven't tested with "New", just Once and Always.

Recording on an Android phone is probably not a good idea anyway. If Kodi is not the foreground task Android will probably kill it after a while.


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

(2019-01-27, 11:46)primaeval Wrote:  Try 0.17.414.
I've put the logic of checking the reminders in the popupmenu code.
I haven't tested with "New", just Once and Always.

Brilliant! You wouldn't by any chance have any friends as practical & efficient at US politics as you are with coding would you? I'd back a movement to get them elected in a heartbeat! Wink
 
(2019-01-27, 11:46)primaeval Wrote: Recording on an Android phone is probably not a good idea anyway. If Kodi is not the foreground task Android will probably kill it after a while.

Well unlike many these days, I'm not one to spend a whole lot of time on my smartphone, so it wasn't a huge issue. It was just fun to see if I could get it working. But thanks again for your all your feedback on it p.


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

(2019-01-27, 12:54)JQZ* Wrote: Well unlike many these days, I'm not one to spend a whole lot of time on my smartphone, so it wasn't a huge issue. It was just fun to see if I could get it working. But thanks again for your all your feedback on it p. 
 You shouldn't need to root your phone for IPTV Recorder.
Did you find a version of ffmpeg for your phone architecture?

My usual advice is:

Get "Droid Hardware Info" from the Play Store.
https://play.google.com/store/apps/details?id=com.inkwired.droidinfo&hl=en
Look for the CPU Architecure and Instruction Set on this page of the app.
https://lh3.googleusercontent.com/t7UNvCaNXUD85WbZxAlSalKbaYqU1QrlIOLT69gUhdU55g12b2O9aMwkKkjCfk3PHA=w1920-h946
Download the Khang ffmpeg release that matches best.
https://github.com/Khang-NT/ffmpeg-binary-android/releases


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

(2019-01-27, 13:18)primaeval Wrote:  You shouldn't need to root your phone for IPTV Recorder.
Did you find a version of ffmpeg for your phone architecture?

I did have the right version of ffmpeg, and had it all working. But the issue was the memory on the phone is so small that there's less than 1 GB left of free space. What we were trying to figure out was how to set the 64 GB external SD card I added as internal, as we couldn't get the addon to write to it as an external card.  I think I rooted the phone to try a method of setting the SD as internal for this specific phone that I found on the XDA Developers forums. When that didn't work, and didn't find any other information on what might work for this phone, the fun was basically over. Smile


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

(2019-01-27, 14:37)JQZ* Wrote:
(2019-01-27, 13:18)primaeval Wrote:  You shouldn't need to root your phone for IPTV Recorder.
Did you find a version of ffmpeg for your phone architecture?

I did have the right version of ffmpeg, and had it all working. But the issue was the memory on the phone is so small that there's less than 1 GB left of free space. What we were trying to figure out was how to set the 64 GB external SD card I added as internal, as we couldn't get the addon to write to it as an external card.  I think I rooted the phone to try a method of setting the SD as internal for this specific phone that I found on the XDA Developers forums. When that didn't work, and didn't find any other information on what might work for this phone, the fun was basically over. Smile 
 I can't remember if I posted these links for you but there are two ways to do it.

Mount the sdcard as adoptable storage
https://www.androidcentral.com/adoptable-storage

or make Kodi ask for permission to write to the sdcard
https://forum.kodi.tv/showthread.php?tid=308040&pid=2720292#pid2720292


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

(2019-01-27, 16:50)primaeval Wrote:  I can't remember if I posted these links for you but there are two ways to do it.

Mount the sdcard as adoptable storage
https://www.androidcentral.com/adoptable-storage

or make Kodi ask for permission to write to the sdcard
https://forum.kodi.tv/showthread.php?tid=308040&pid=2720292#pid2720292 

I've not seen the 2nd. But this Go5 is still giving me trouble even though it's rooted. I modified a copy of packages.xml on my PC as was described in that link. But when I drop it back into the Go5 /data/system were it lives, moving or deleting the original and rebooting, the system restores the old copy somehow. Android constantly baffles me.


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

(2019-01-28, 22:32)JQZ* Wrote:
(2019-01-27, 16:50)primaeval Wrote:  I can't remember if I posted these links for you but there are two ways to do it.

Mount the sdcard as adoptable storage
https://www.androidcentral.com/adoptable-storage

or make Kodi ask for permission to write to the sdcard
https://forum.kodi.tv/showthread.php?tid=308040&pid=2720292#pid2720292 

I've not seen the 2nd. But this Go5 is still giving me trouble even though it's rooted. I modified a copy of packages.xml on my PC as was described in that link. But when I drop it back into the Go5 /data/system were it lives, moving or deleting the original and rebooting, the system restores the old copy somehow. Android constantly baffles me.  
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.

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.

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.


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

(2019-01-25, 20:40)primaeval Wrote:
(2019-01-25, 20:00)georgepana Wrote: Hello primaeval.  Really like your TV Guide, the best there is.  I have a question about Lab 3.  I am trying to tie in an additional XML source, but whether I use a URL or an m3u file on my computer it always results in an error right after the remaining time has counted down to zero but before it switches to the EPG view.  The error reads: "Oops, sorry about that. It was not possible to load program data..."  

Is Lab 3 not working at the moment or am I missing a step or settings adjustment that would make it possible to load multiple XML sources into this excellent TV Guide?  

Thanks,

George
Thanks.
I just tested it and it worked ok for me.
I loaded my main xmltv in Source and an m3u in "Optional\Import m3u" and an xmltv made with "xmltv Meld" in "Lab3\secondary xmltv".

It's usually something to do with non-standard xml characters in your xmltv file.
Have you tried "Source\Fix xmltv html entity errors" ? 

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.


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

(2019-01-29, 06:46)georgepana Wrote:
(2019-01-25, 20:40)primaeval Wrote:
(2019-01-25, 20:00)georgepana Wrote: Hello primaeval.  Really like your TV Guide, the best there is.  I have a question about Lab 3.  I am trying to tie in an additional XML source, but whether I use a URL or an m3u file on my computer it always results in an error right after the remaining time has counted down to zero but before it switches to the EPG view.  The error reads: "Oops, sorry about that. It was not possible to load program data..."  

Is Lab 3 not working at the moment or am I missing a step or settings adjustment that would make it possible to load multiple XML sources into this excellent TV Guide?  

Thanks,

George
Thanks.
I just tested it and it worked ok for me.
I loaded my main xmltv in Source and an m3u in "Optional\Import m3u" and an xmltv made with "xmltv Meld" in "Lab3\secondary xmltv".

It's usually something to do with non-standard xml characters in your xmltv file.
Have you tried "Source\Fix xmltv html entity errors" ?  

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.


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

(2019-01-29, 10:38)primaeval Wrote:
(2019-01-29, 06:46)georgepana Wrote:
(2019-01-25, 20:40)primaeval Wrote: Thanks.
I just tested it and it worked ok for me.
I loaded my main xmltv in Source and an m3u in "Optional\Import m3u" and an xmltv made with "xmltv Meld" in "Lab3\secondary xmltv".

It's usually something to do with non-standard xml characters in your xmltv file.
Have you tried "Source\Fix xmltv html entity errors" ?  

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?