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. ;) - syztemlord - 2017-03-29

Ah ok cool, I'm sure it did. But I'm tired so probably losing the plot a bit!


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

(2017-03-29, 19:01)ködi-zömbie Wrote: I use webgrab now for a while. It shows me today all the shows of tomorrow. maybe my xml is wrong configured.

Things frequently seem to mess up around the changes to Summer Time with webgrab. Sometimes it is the scrapers and sometimes it is the web sites themselves. Try moving the xmltv file out of the way and get webgrab to start from scratch.


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

(2017-03-29, 19:03)primaeval Wrote:
(2017-03-29, 18:21)syztemlord Wrote:
(2017-03-29, 09:27)primaeval Wrote: [EDIT] Try a Settings\Source\Reset on Start to clear the channel numbering.
I can't reproduce it when I use the Shortcut Editor to make a couple of channels numeric.

Just tried that but it still doesn't work. I've just pm'd you a link to my xmltv file if you'd like to try it.

I think I was using 317 the other day and that worked ok but I'd updated since and don't have the package to test again.

Also tried index id's and they don't work either, the selected channel scrolls to the top but the focus remains on whichever row you are currently in.

I just went back to 0.0.306 and it scrolls to the channel at the top but the focus stays where it was.
So it looks like it never moved the focus.
I'll look into a fix.

Try 0.0.326. I've forced the focus to the top after it scrolls. It seems to work in both Play and Scroll modes.
I'm sure it used to work too but I can't find when it went wrong.


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - syztemlord - 2017-03-29

(2017-03-29, 19:46)primaeval Wrote: Try 0.0.326. I've forced the focus to the top after it scrolls. It seems to work in both Play and Scroll modes.
I'm sure it used to work too but I can't find when it went wrong.

Excellent work Primaeval! Working perfectly now. Just wondered if it was possible when in TV mode and you change channel via number to not have it briefly flash back to the epg? Not a biggy as I'm sure you have more important features to look at.


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

Jarvis https problems.

I've just found out why Jarvis has been having problems with https links.
I have seen a few problems with some of the https links I used and others have posted problems too.
The only solution if to use http or suffer the audio freeze on Krypton+.

Quote:For those with technical knowledge who want more info, file hosts are now using TLSv1.1 or TLSv2 which is introduced in python 2.7.9 and the python interpreter that Kodi 16.1 uses only supports TLSv1.



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

(2017-03-29, 22:21)syztemlord Wrote:
(2017-03-29, 19:46)primaeval Wrote: Try 0.0.326. I've forced the focus to the top after it scrolls. It seems to work in both Play and Scroll modes.
I'm sure it used to work too but I can't find when it went wrong.

Excellent work Primaeval! Working perfectly now. Just wondered if it was possible when in TV mode and you change channel via number to not have it briefly flash back to the epg? Not a biggy as I'm sure you have more important features to look at.

See if 0.0.327 fixes it.


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

script.tvguide.fullscreen.skin.tycoo 0.0.4 0.17.4

@tycoo's White Snow skin for TV Guide Fullscreen

Here is a nicely polished shiny new skin from tycoo. Thank you very much for sharing it with us tycoo. Smile

There are lots of very professional looking shortcut buttons and plenty of video detail information.

Click on the addon in Programs to install.
A few Settings will be changed to set the colours and go down to the Action Bar.

The skin comes in 2 variants: Default Font and Custom Font.
Here are the instructions for the Custom Font.

Code:
CustomFont Setup:

1. Add Muli-ExtraBold.ttf (inside zip) into your skin addon folder: /addons/'yourskinfolder'/font/ (Example: /addons/skin.aeon.nox.silvo/font/)

2. Open TVGuide_Muli-ExtraBold.txt, copy and paste into font.xml inside /addons/'yourskinfolder'/1080i/font.xml

3. Restart Kodi

Don't forget to calibrate your gamma :D


Image

Image

Image

Image


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - myname - 2017-03-31

I made a quick and dirty skin installer that's a little more customizeable you can use if you want.
https://github.com/thismustbetheplace/_TVGuideSkins/blob/master/_repo/_zips/script.tvguide.fullscreen.skin.installer._/script.tvguide.fullscreen.skin.installer._-0.0.1.zip

It also has a skin i've been using that i think works pretty good. It has all your available IDs, the catbar, actionbar, PIP, etc. and seems to be error free. I have tabs rather than button for the actionbar. Click in the top and bottom right corners.
I have a few instances of my guides ID but i usually substitute it for something of yours. My invisible buttons are a little different too. The only button i always wished i had at this point was an invisible buton for over the videowindow to return you to the Guide OSD. Currently when you click the videowindow it defaults to the kodi video osd and the only way to get the epg osd back is to navigate and click the current channel in the main epg.

Image

Ive also been messing around with ffmpeg. I had the problem where i could not watch while i was recording because the stream required a login and only allowed 1 connection. I overcame this by creating a UDP stream of the current channel. What i do is play a channel, then click the Create a UDP Stream button. This captures the getPlayingFile (the url), closes kodi video player, open the url in ffmpeg and creates a network stream as a UDP, and then starts the Kodi player with the UDP url. This way you can watch and stream the channel over your network to as many UDP capable devices your router can handle. The key is to set both audio and video to the same channel ID. It's convenient if your family is watching the main TV and you go outside for a smoke wanting to watch the same film on your phone or tablet and not miss anything. Also handy if your roomates want to see what you are watching in their room. I find this can actually be more stable than normal as ffmpeg acts as a cache and buffer somewhat. Realize this doesn't allow you to watch 2 simultaneous channels, only the same channel simultaneously.
cmd = [ffmpeg, "-y", "-re", "-i", url, "-c:v", "copy", "-c:a", "copy", "-f", "mpegts", "-map", "0:v", "-map", "0:a", the_udp]

To record I do the same as the UDP method except i do a direct stream to output.ts in your playwithsfolder rather than create a UDP. After it starts recording i then start playing output.ts with the Kodi default player. This gives us the benefit of a saved copy, a cache and buffer, REWIND LIVETV, PAUSE LIVETV, and FAST FORWARD LIVETV (with buffer) as you're playing a file, not stream. You can also technically play output.ts from another device via smb. That coupled with pause and rewind almost makes it worthwhile to be a default player method. The command is:
cmd = [ffmpeg, "-y", "-re", "-i", url, "-c:v", "copy", "-c:a", "copy", "-t", str(seconds), "-f", "mpegts", "-map", "0:v", "-map", "0:a", filename]

Now what i would REALLY like to be able to do (besides output.ts name strings) is record and simultaneously create a UDP stream. This way we get our cake and eat it too as we're getting output.ts and the UDP stream with barely any extra strain on your resources. I can do it in dos from a cmd but can't figure out the python string because of the delimiter. Maybe you can help me out.
ffmpeg -i %url% -c:v copy -c:a copy -f tee -map 0:v -map 0:a "output.ts|[f=mpegts]udp://localhost:1234"

my attempt was this.
cmd = [ffmpeg, '-i '+ url+' -c:v copy -c:a copy -t '+str(seconds)+' -f tee -map 0:v -map 0:a "'+filename+'|[f=mpegts]'+the_udp+'"']

Feel free to use my skin or installer and if you want some of my recording scripts i can share.


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

(2017-03-31, 07:28)myname Wrote: ^^^

Thanks for all that.

You might need to escape the | with a ^| for the dos cmd line or it will try to pipe it somewhere.
Watch the command that ffmpeg is started with in some kind of Process Explorer and see if it gets escaped right.
http://www.robvanderwoude.com/escapechars.php
Escaping can be a nightmare. For example you need this "\\\\" to get one real "\" in python regex expressions.


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - Hinkel - 2017-03-31

(2017-03-31, 07:28)myname Wrote: I made a quick and dirty skin installer that's a little more customizeable you can use if you want.
https://github.com/thismustbetheplace/_TVGuideSkins/blob/master/_repo/_zips/script.tvguide.fullscreen.skin.installer._/script.tvguide.fullscreen.skin.installer._-0.0.1.zip

It also has a skin i've been using that i think works pretty good. It has all your available IDs, the catbar, actionbar, PIP, etc. and seems to be error free. I have tabs rather than button for the actionbar. Click in the top and bottom right corners.
I have a few instances of my guides ID but i usually substitute it for something of yours. My invisible buttons are a little different too. The only button i always wished i had at this point was an invisible buton for over the videowindow to return you to the Guide OSD. Currently when you click the videowindow it defaults to the kodi video osd and the only way to get the epg osd back is to navigate and click the current channel in the main epg.

Image

Hello @primaeval / @myname, Wonderful this dark skin, thanks for sharing. It is a pity that the contents of the "Stream Setup" panel are no longer loading. This problem had already been fixed. Post 2555696 (post). Thank you anyway.


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

(2017-03-31, 22:08)Hinkel Wrote: Hello @primaeval / @myname, Wonderful this dark skin, thanks for sharing. It is a pity that the contents of the "Stream Setup" panel are no longer loading. This problem had already been fixed. Post 2555696 (post). Thank you anyway.

It's all these pesky new v17 String functions.
http://kodi.wiki/view/XBMC_Skinning_Manual

You should be able to fix all the skins for the guide by doing a global replace in all the skin *.xml files of
Code:
StringCompare
to
Code:
String.IsEqual



RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - Hinkel - 2017-04-02

(2017-03-31, 22:22)primaeval Wrote:
(2017-03-31, 22:08)Hinkel Wrote: Hello @primaeval / @myname, Wonderful this dark skin, thanks for sharing. It is a pity that the contents of the "Stream Setup" panel are no longer loading. This problem had already been fixed. Post 2555696 (post). Thank you anyway.

It's all these pesky new v17 String functions.
http://kodi.wiki/view/XBMC_Skinning_Manual

You should be able to fix all the skins for the guide by doing a global replace in all the skin *.xml files of
Code:
StringCompare
to
Code:
String.IsEqual
Thanks, I just replaced the entire streamsetup.xml file with the original "Default" skin file by primaeval.


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

A message to devs who have forked TV Guide Fullscreen.

Please remove my api keys and download links from Github in your Fork.
You can get your own for free.

https://github.com/primaeval/script.tvguide.fullscreen/blob/e37e90ce0c4e11a19c9d4e9894f2a8aaad0508b6/gui.py#L996
https://github.com/primaeval/script.tvguide.fullscreen/blob/e37e90ce0c4e11a19c9d4e9894f2a8aaad0508b6/utils.py#L241
https://github.com/primaeval/script.tvguide.fullscreen/blob/e37e90ce0c4e11a19c9d4e9894f2a8aaad0508b6/addon.py#L55


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

I need some more examples of Krypton delays in switching streams.

I did a few experiments in Krypton and Jarvis and found it usually took about 10 seconds in Krypton and 2 seconds in Jarvis before the streams were watchable.

I could really do with some example "legal" addons or streams with US channels so the core team have something they can test with.

Here is my post about it with the streams I tested from iPlayer and Danish Live TV.
http://forum.kodi.tv/showthread.php?tid=311073


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - rocko - 2017-04-02

I'm using TV Guide UK and I've tried others but the times in guides are all wrong. What am I doing wrong?