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. ;) - Jeffers24 - 2016-10-06

(2016-10-05, 22:58)RayW1986 Wrote:
(2016-10-05, 16:27)primaeval Wrote:
(2016-10-05, 14:29)Jeffers24 Wrote: I have allocated a stream to a channel and all working good.

How can I see the details of a stream I have added to a channel?

Was it a Favourite, which Addon and option within the addon etc.

So I can review my allocations and change them if I think I now have a better stream.

There is nothing that you can easily see in the addon.

You can go round the back and look in the database in the custom_stream_url table with something like this:
http://sqlitebrowser.org/

It would be a lot of work to link the channel back to the stream visually in the addon.
I don't have the energy to do that.

You Should be able to achieve this easily within the skin files. Add an label control to the OSD with this code:

<label>$INFO[Player.Filenameandpath]</label>

I haven't tested this, but I don't see why it wouldn't work.

EDIT: Just tested, it works.

EDIT 2: However, it will show you the URL and not add-on path.

From the url are you able to determine the addon and stream within the addon that I allocated to the channel.

If I think I have found a better stream for a given channel, I am looking for a quick way to check what stream I have already allocated to a channel so I can decide whether I need to change it.


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

(2016-10-06, 08:33)Jeffers24 Wrote:
(2016-10-05, 16:27)primaeval Wrote:
(2016-10-05, 14:29)Jeffers24 Wrote: I have allocated a stream to a channel and all working good.

How can I see the details of a stream I have added to a channel?

Was it a Favourite, which Addon and option within the addon etc.

So I can review my allocations and change them if I think I now have a better stream.

There is nothing that you can easily see in the addon.

You can go round the back and look in the database in the custom_stream_url table with something like this:
http://sqlitebrowser.org/

It would be a lot of work to link the channel back to the stream visually in the addon.
I don't have the energy to do that.

If it shows me my selection, addon name/stream name within the addon, when I linked the channel in the guide to a stream that's what I was looking for.

Where is this database? I have looked in Kodi>addons and Kodi>User data>addon_data and can't find it?

The database is here:
userdata\addon_data\script.tvguide.fullscreen\source.db

I tried adding the url to the Stream Setup dialog but it looks super messy. So I won't add it in there.

@RayW1986 thanks. Where do you it think makes sense to add the info?

Image


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - TheGame1986 - 2016-10-06

(2016-10-06, 09:17)primaeval Wrote: @RayW1986 thanks. Where do you it think makes sense to add the info?

Image

I would add it to the OSD/InfoBar, in a similar way some Kodi skins have it on their OSD/InfoBar. Mainly because the code I sent you relies on the media actually being played at the time it shows it (I believe).


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - Jeffers24 - 2016-10-06

[quote='primaeval' pid='2431012' dateline='1475738245'

The database is here:
userdata\addon_data\script.tvguide.fullscreen\source.db

[/quote]

When I opened the database it was empty?

I have added all my channel streams by browsing>addon>choose addon stream


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

(2016-10-06, 10:24)Jeffers24 Wrote:
(2016-10-06, 09:17)primaeval Wrote: The database is here:
userdata\addon_data\script.tvguide.fullscreen\source.db

When I opened the database it was empty?

I have added all my channel streams by browsing>addon>choose addon stream

When you use the Add Folder from Browse in Stream Setup the channels in the folder end up in addons.ini.

The database contains the channels from the xmltv file and the mapped channels from Choose Stream in custom_stream_url.


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - TheGame1986 - 2016-10-06

(2016-10-06, 10:24)Jeffers24 Wrote: When I opened the database it was empty?

I have added all my channel streams by browsing>addon>choose addon stream

Also, a stream is not assigned to a channel until you actually play that channel in the TV Guide add-on.

Something I do for my personal set up is keep a spreadsheet of channels and sources. ie for BBC One I have a spreadsheet with the add-ons for BBC iPlayer, Freeview, FilmOn (in that order) so I know where my streams are coming from and the order I prefer them in, in case I need to change it later.


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - Jeffers24 - 2016-10-06

(2016-10-06, 10:29)primaeval Wrote:
(2016-10-06, 10:24)Jeffers24 Wrote:
(2016-10-06, 09:17)primaeval Wrote: The database is here:
userdata\addon_data\script.tvguide.fullscreen\source.db

When I opened the database it was empty?

I have added all my channel streams by browsing>addon>choose addon stream

When you use the Add Folder from Browse in Stream Setup the channels in the folder end up in addons.ini.

The database contains the channels from the xmltv file and the mapped channels from Choose Stream in custom_stream_url.

Just checked the addons.ini file, that is also empty?

This is the path to the db and .ini files I looked at:-

C:\Users\User\AppData\Roaming\Kodi\userdata\addon_data\script.tvguide.fullscreen


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

(2016-10-06, 11:17)Jeffers24 Wrote: Just checked the addons.ini file, that is also empty?

This is the path to the db and .ini files I looked at:-

C:\Users\User\AppData\Roaming\Kodi\userdata\addon_data\script.tvguide.fullscreen

Can you actually play channels and have you added a folder full of tv channels with Browse \ Add Folder ?

pm me your settings.xml file and kodi.log and I'll see if there is anything strange in there.


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

(2016-10-06, 11:24)primaeval Wrote:
(2016-10-06, 11:17)Jeffers24 Wrote: Just checked the addons.ini file, that is also empty?

This is the path to the db and .ini files I looked at:-

C:\Users\User\AppData\Roaming\Kodi\userdata\addon_data\script.tvguide.fullscreen

Can you actually play channels and have you added a folder full of tv channels with Browse \ Add Folder ?

pm me your settings.xml file and kodi.log and I'll see if there is anything strange in there.

I think some of the confusion is because only Add Folder adds the streams to the addons.ini file.
Adding them individually bypasses the addons.ini file and maps them to the channel in the database directly in the custom_stream_url table.
The channel id in that table links to the channel id in the programs table as it does in the xmltv file.


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - Jeffers24 - 2016-10-06

(2016-10-06, 14:00)primaeval Wrote:
(2016-10-06, 11:24)primaeval Wrote:
(2016-10-06, 11:17)Jeffers24 Wrote: Just checked the addons.ini file, that is also empty?

This is the path to the db and .ini files I looked at:-

C:\Users\User\AppData\Roaming\Kodi\userdata\addon_data\script.tvguide.fullscreen

Can you actually play channels and have you added a folder full of tv channels with Browse \ Add Folder ?

pm me your settings.xml file and kodi.log and I'll see if there is anything strange in there.

I think some of the confusion is because only Add Folder adds the streams to the addons.ini file.
Adding them individually bypasses the addons.ini file and maps them to the channel in the database directly in the custom_stream_url table.
The channel id in that table links to the channel id in the programs table as it does in the xmltv file.

Thanks for help again, I can now see what I was looking for in the database, as in below test:-

"plugin://plugin.video.F.T.V/?url=14&mode=125&name=BBC+One+%2814%29&iconimage=http%3A%2F%2Fstatic.filmon.com%2Fcouch%2Fchannels%2F14%2Fextra_big_logo.png&start=na&ch_fanart=na"
"plugin://plugin.video.F.T.V/?url=25&mode=125&name=BBC+Two+%2825%29&iconimage=http%3A%2F%2Fstatic.filmon.com%2Fcouch%2Fchannels%2F25%2Fextra_big_logo.png&start=na&ch_fanart=na"
"plugin://plugin.video.F.T.V/?url=11&mode=125&name=ITV+%2811%29&iconimage=http%3A%2F%2Fstatic.filmon.com%2Fcouch%2Fchannels%2F11%2Fextra_big_logo.png&start=na&ch_fanart=na"


TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - WildPhydeaux - 2016-10-07

Excellent add-on, I'm really enjoying all the work that has gone into creating it. Thank you for this!

I do have a convenience issue and I'm hoping someone can assist or just point in the right direction...

I have to use an add-on called VPN Manager (Zomboided) to allow iPlayer WWW to connect and allow me to access BBC content from home (I'm working in Canada at the moment). I have that app set to connect upon loading iPlayer and disconnect when quitting iPlayer. Works great.

However, if I start the iPlayer stream from TV Guide Fullscreen the VPN Manager does not start. I assume that's because iPlayer is not being started in the typical fashion.

Any ideas? Or is this better directed at the VPN Manager support thread?

Cheers,

RLW


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - iainmacleod - 2016-10-07

(2016-10-07, 00:58)WildPhydeaux Wrote: Excellent add-on, I'm really enjoying all the work that has gone into creating it. Thank you for this!

I do have a convenience issue and I'm hoping someone can assist or just point in the right direction...

I have to use an add-on called VPN Manager (Zomboided) to allow iPlayer WWW to connect and allow me to access BBC content from home (I'm working in Canada at the moment). I have that app set to connect upon loading iPlayer and disconnect when quitting iPlayer. Works great.

However, if I start the iPlayer stream from TV Guide Fullscreen the VPN Manager does not start. I assume that's because iPlayer is not being started in the typical fashion.

Any ideas? Or is this better directed at the VPN Manager support thread?

Cheers,

RLW
Use OpenVPN add-on and make it start at boot up.

Sent from my OnePlus 2


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - WildPhydeaux - 2016-10-07

(2016-10-07, 02:08)iainmacleod Wrote: Use OpenVPN add-on and make it start at boot up.

[size=xx-small][i][url=http://forum.kodi.tv/showthread.php?tid=291940]typie typie on OnePlus 2

I should have provided more background... Yes, I can enable the VPN to be active all the time, but it's simply not needed unless watching a BBC stream. In addition, there are CBC programs I also watch and these won't play unless the VPN is disconnected, as they are restricted to Canada. So integrating BBC and CBC channels under the TV Guide Fullscreen is excellent, but awkward if I want to change channels between those two.

I'm open to suggestions, but the more I think about it the more I think my query might be better directed at the developer of VPN Manager over at the OpenELEC forums. Incidentally, I'm running this all on LibreELEC 7.0.2.

Cheers!

RLW


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - iainmacleod - 2016-10-07

If your VPN provider others proxy, maybe you can do proxy for BBCHuh

Sent from my OnePlus 2


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

(2016-10-07, 03:15)WildPhydeaux Wrote:
(2016-10-07, 02:08)iainmacleod Wrote: Use OpenVPN add-on and make it start at boot up.

[size=xx-small][i][url=http://forum.kodi.tv/showthread.php?tid=291940]typie typie on OnePlus 2

I should have provided more background... Yes, I can enable the VPN to be active all the time, but it's simply not needed unless watching a BBC stream. In addition, there are CBC programs I also watch and these won't play unless the VPN is disconnected, as they are restricted to Canada. So integrating BBC and CBC channels under the TV Guide Fullscreen is excellent, but awkward if I want to change channels between those two.

I'm open to suggestions, but the more I think about it the more I think my query might be better directed at the developer of VPN Manager over at the OpenELEC forums. Incidentally, I'm running this all on LibreELEC 7.0.2.

Cheers!

RLW

I think you are right, it is a question for the developer of VPN Manager. The TV Guide bypasses the top two levels of iplayer and goes straight to play the channel. If VPN Manager is detecting a page load maybe it can be set up to detect the lower level channel page load.