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 with built-in Addon browser (.ini free) - primaeval - 2016-08-15

(2016-08-15, 22:55)iainmacleod Wrote: I have put in a pull request for my fixes. No idea how I removed a chunk of code. I am not able to test the add-on feature in the stream setup - doesnt appear to work for me. Please let me know if you see anything else needing changes.

I wasn't a fan of cyan at first, but I see that the default skin in Kodi uses isn't for highlights too.

Sent from my OnePlus 2

I'll keep it as the highlight color like little blue leds.


RE: TV Guide with built-in Addon browser (.ini free) - primaeval - 2016-08-15

(2016-08-15, 22:48)Varming Wrote:
(2016-08-15, 14:33)Varming Wrote:
(2016-08-15, 14:25)primaeval Wrote: 0.0.60
- addon folder refresh timer setting

Here you go. There is a Setting in Startup to refresh the Addon Folders on the timer.

Beware that it won't change the channel mapping.
You will have to remove the channel and re-add it if it fails.

Also beware that some addons change the layout of the folder you are viewing, might pop-up interactive dialog boxes and may even stop the video player.

Boom - that was fast! Smile I will test and report back. All the Ruya addons seem to work the same so this could help a lot of users of that service.

Have tested - even after a few hours the channel mapping is invalid again. So the addons.ini free thing sounded good but is a no-go with the Ruya plugins.

If other addons start being sneaky by changing the url every time I'll change the code, but just for one addon it is much too much work.


RE: TV Guide with built-in Addon browser (.ini free) - dannyrobbo - 2016-08-16

hi @primaeval

thanks for getting back to me Smile

Quote:The Add Folder command is to add a folder containing addon streams to the internal addons.ini file.
The next time you open Stream Setup they should be in the Addons list

Quote:The dialog you see above are the matches that are found for your channel from the addons.ini file.

is there anyway to view the streams in my addon list in this dialog window? rather than it showing matches from the add ons.ini file?

also, is there anyway to automate the remove stream feature when a stream fails? or get it to show the dialog with the matches again? rather than immediately going back into the failed stream?

thanks again for your help mate really appreciate it Smile


RE: TV Guide with built-in Addon browser (.ini free) - primaeval - 2016-08-16

(2016-08-16, 05:41)dannyrobbo Wrote: is there anyway to view the streams in my addon list in this dialog window? rather than it showing matches from the add ons.ini file?

also, is there anyway to automate the remove stream feature when a stream fails? or get it to show the dialog with the matches again? rather than immediately going back into the failed stream?

thanks again for your help mate really appreciate it Smile

The addons.ini list is the Addons tab in Stream Setup. It does need re-entering the Stream Setup to refresh at the moment.

Sometimes streams work the second time round, so I don't want to second guess removing them.
It might be difficult to find them again if they are deep in a strm file on another network for example.

It only takes three of four clicks to do another match.


RE: TV Guide with built-in Addon browser (.ini free) - donbrew - 2016-08-19

A couple of unmentionable addons that used to work now produce black screen when started in tvguide fullscreen or do nothing at all; still working in their own apps.

AHHA! disabled alternate streaming, works again!

65 on kodi 16.1, windows 10


RE: TV Guide with built-in Addon browser (.ini free) - iainmacleod - 2016-08-19

Is anyone able to assist me to get the "Choose Stream" button working, every time I press it nothing happens (I am trying to modify a UI for this window, but since I don't see it, I can't work on it). My logs report the following:

14:25:27 T:3668 DEBUG: CInputManager::OnKey: return (0xf00d) pressed, action is Select
14:25:27 T:3668 DEBUG: Keyboard: scancode: 0x1c, sym: 0x000d, unicode: 0x0000, modifier: 0x0
14:25:27 T:296 DEBUG: CAESinkDirectSound::CheckPlayStatus: Resuming Playback
14:25:27 T:2612 DEBUG: Database.eventLoop() >>>>>>>>>> processing command: _getCustomStreamUrl
14:25:28 T:3668 DEBUG: ------ Window Deinit (C:\Users\echon\AppData\Roaming\Kodi\addons\script.tvguide.fullscreen\resources\skins\Default\720p\script-tvguide-menu.xml) ------
14:25:28 T:4252 WARNING: CSkinInfo: failed to load skin settings
14:25:28 T:3668 DEBUG: ------ Window Init (C:\Users\echon\AppData\Roaming\Kodi\addons\script.tvguide.fullscreen\resources\skins\Default\720p\script-tvguide-menu.xml) ------
14:25:28 T:3668 INFO: Loading skin file: C:\Users\echon\AppData\Roaming\Kodi\addons\script.tvguide.fullscreen\resources\skins\Default\720p\script-tvguide-menu.xml, load type: LOAD_ON_GUI_INIT
14:25:28 T:3668 DEBUG: CGUIMediaWindow::GetDirectory ()
14:25:28 T:3668 DEBUG: ParentPath = []
14:25:28 T:3668 ERROR: Control 4000 in window 13001 has been asked to focus, but it can't
14:25:28 T:2612 DEBUG: Database.eventLoop() >>>>>>>>>> processing command: _getCustomStreamUrl

In addition, I have tons of errors in my log, reporting the following:

14:24:13 T:2612 DEBUG: [script.tvguide.fullscreen] strptime error with this date: 20160819053500
14:24:13 T:2612 DEBUG: Previous line repeats 1 times.


RE: TV Guide with built-in Addon browser (.ini free) - primaeval - 2016-08-19

(2016-08-19, 20:26)iainmacleod Wrote: Is anyone able to assist me to get the "Choose Stream" button working, every time I press it nothing happens (I am trying to modify a UI for this window, but since I don't see it, I can't work on it). My logs report the following:

14:25:27 T:3668 DEBUG: CInputManager::OnKey: return (0xf00d) pressed, action is Select
14:25:27 T:3668 DEBUG: Keyboard: scancode: 0x1c, sym: 0x000d, unicode: 0x0000, modifier: 0x0
14:25:27 T:296 DEBUG: CAESinkDirectSound::CheckPlayStatus: Resuming Playback
14:25:27 T:2612 DEBUG: Database.eventLoop() >>>>>>>>>> processing command: _getCustomStreamUrl
14:25:28 T:3668 DEBUG: ------ Window Deinit (C:\Users\echon\AppData\Roaming\Kodi\addons\script.tvguide.fullscreen\resources\skins\Default\720p\script-tvguide-menu.xml) ------
14:25:28 T:4252 WARNING: CSkinInfo: failed to load skin settings
14:25:28 T:3668 DEBUG: ------ Window Init (C:\Users\echon\AppData\Roaming\Kodi\addons\script.tvguide.fullscreen\resources\skins\Default\720p\script-tvguide-menu.xml) ------
14:25:28 T:3668 INFO: Loading skin file: C:\Users\echon\AppData\Roaming\Kodi\addons\script.tvguide.fullscreen\resources\skins\Default\720p\script-tvguide-menu.xml, load type: LOAD_ON_GUI_INIT
14:25:28 T:3668 DEBUG: CGUIMediaWindow::GetDirectory ()
14:25:28 T:3668 DEBUG: ParentPath = []
14:25:28 T:3668 ERROR: Control 4000 in window 13001 has been asked to focus, but it can't
14:25:28 T:2612 DEBUG: Database.eventLoop() >>>>>>>>>> processing command: _getCustomStreamUrl

In addition, I have tons of errors in my log, reporting the following:

14:24:13 T:2612 DEBUG: [script.tvguide.fullscreen] strptime error with this date: 20160819053500
14:24:13 T:2612 DEBUG: Previous line repeats 1 times.

Could you back up a few commits and see if it is something I have changed recently.

If you get errors in the Database eventLoop then something is wrong with the channels or programs.
Try a database reset.


RE: TV Guide with built-in Addon browser (.ini free) - primaeval - 2016-08-19

(2016-08-19, 20:01)donbrew Wrote: A couple of unmentionable addons that used to work now produce black screen when started in tvguide fullscreen or do nothing at all; still working in their own apps.

AHHA! disabled alternate streaming, works again!

65 on kodi 16.1, windows 10

I see you are on win10 but maybe it is similar bug to the one on android.

I thought I had cracked the black screen on android bug today, but it came back to haunt me.
You can get back to the video by pressing info (i) twice or context menu ( c ) twice.

The best way I have found is to disable the osd in Appearance. Then use the fullscreen (tab) button to get back to the epg.
If you use the Default skin the epg is on top of the video window like in osd mode.

I haven't seen the problem in win7 or linux (libreelec), so I thought it was specific to android and derivatives.
Maybe win10 is just as bad.


RE: TV Guide with built-in Addon browser (.ini free) - iainmacleod - 2016-08-19

@primaeval, I have never been able to get the "Choose Stream" function working, on Pi or Windows.

As for the strptime error, I see it on 0.0.65 and 0.0.66.

Sent from my OnePlus 2


RE: TV Guide with built-in Addon browser (.ini free) - primaeval - 2016-08-19

(2016-08-19, 21:41)iainmacleod Wrote: @primaeval, I have never been able to get the "Choose Stream" function working, on Pi or Windows.

As for the strptime error, I see it on 0.0.65 and 0.0.66.

Sent from my OnePlus 2

You need to add a folder full of potential streams first for Choose Stream to work.
The strptime error might be related because there are no streams in addons.ini.

Install iplayerwww if you haven't already.

Stream Setup \ Browse \ iplayerwww \ Watch Live \ Add Folder

If you have BBC One in your xmltv file try Remove Stream then Choose Stream.
You should get lots of streams to choose from.

The Add Folder command adds all the streams to the addons.ini file which is used by Choose Stream.

In the original TV Guide the addons.ini is in the addons folder, not the userdata folder.

I should probably write a help file sometime. Wink

You can always delete the userdata folder and try again.
Look in the files that are made there to see what is what.
Use sqlitebrowser to look in the source.db file.


RE: TV Guide with built-in Addon browser (.ini free) - primaeval - 2016-08-19

(2016-08-19, 20:26)iainmacleod Wrote: Is anyone able to assist me to get the "Choose Stream" button working, every time I press it nothing happens (I am trying to modify a UI for this window, but since I don't see it, I can't work on it). My logs report the following:

14:25:27 T:3668 DEBUG: CInputManager::OnKey: return (0xf00d) pressed, action is Select
14:25:27 T:3668 DEBUG: Keyboard: scancode: 0x1c, sym: 0x000d, unicode: 0x0000, modifier: 0x0
14:25:27 T:296 DEBUG: CAESinkDirectSound::CheckPlayStatus: Resuming Playback
14:25:27 T:2612 DEBUG: Database.eventLoop() >>>>>>>>>> processing command: _getCustomStreamUrl
14:25:28 T:3668 DEBUG: ------ Window Deinit (C:\Users\echon\AppData\Roaming\Kodi\addons\script.tvguide.fullscreen\resources\skins\Default\720p\script-tvguide-menu.xml) ------
14:25:28 T:4252 WARNING: CSkinInfo: failed to load skin settings
14:25:28 T:3668 DEBUG: ------ Window Init (C:\Users\echon\AppData\Roaming\Kodi\addons\script.tvguide.fullscreen\resources\skins\Default\720p\script-tvguide-menu.xml) ------
14:25:28 T:3668 INFO: Loading skin file: C:\Users\echon\AppData\Roaming\Kodi\addons\script.tvguide.fullscreen\resources\skins\Default\720p\script-tvguide-menu.xml, load type: LOAD_ON_GUI_INIT
14:25:28 T:3668 DEBUG: CGUIMediaWindow::GetDirectory ()
14:25:28 T:3668 DEBUG: ParentPath = []
14:25:28 T:3668 ERROR: Control 4000 in window 13001 has been asked to focus, but it can't
14:25:28 T:2612 DEBUG: Database.eventLoop() >>>>>>>>>> processing command: _getCustomStreamUrl

In addition, I have tons of errors in my log, reporting the following:

14:24:13 T:2612 DEBUG: [script.tvguide.fullscreen] strptime error with this date: 20160819053500
14:24:13 T:2612 DEBUG: Previous line repeats 1 times.

What method did you use to add a stream?
If it is not a banned addon can you post the details of the stream from the source.db file.
There might be a problem with an unparseable name or url type.


RE: TV Guide with built-in Addon browser (.ini free) - iainmacleod - 2016-08-19

I didn't realize how the add folder feature worked. I have it working now. Remove folder might be nice on the Add-ons section.

Thanks for the help!!!

Sent from my OnePlus 2


RE: TV Guide with built-in Addon browser (.ini free) - donbrew - 2016-08-20

This is odd!
Overnight both Windows and Pi updated to 0.0.67. Windows works OK, Pi won't start? Using the same xmltv file on the Pi.


RE: TV Guide with built-in Addon browser (.ini free) - primaeval - 2016-08-20

(2016-08-20, 16:33)donbrew Wrote: This is odd!
Overnight both Windows and Pi updated to 0.0.67. Windows works OK, Pi won't start? Using the same xmltv file on the Pi.

Have you got any log messages?


RE: TV Guide with built-in Addon browser (.ini free) - donbrew - 2016-08-20

I don't believe the day my old brain is having.

https://www.dropbox.com/s/zqi7zpme9dhsr3w/kodi.log?dl=0