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. ;) - ahhl - 2018-03-14

Can link to 1st page for easier finding


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

(2018-03-14, 13:11)ahhl Wrote: Can link to 1st page for easier finding
 I added a link to Doctor-Eggs post in the first post. Is that what you meant?


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - doktourtv - 2018-03-15

(2018-03-13, 22:39)Doctor Eggs Wrote: I created a new skin for TVGF called WMC. Here are some screen shots:
ImageImageImageImageImageImage

There is still one change that I'm working with @primaeval to update to have the ability to separate the title and the subtitle for TV shows.

Here is the link:
https://github.com/Doctor-Eggs/script.tvguide.fullscreen.skin.wmc/
Nice Skin!!! Any chance of adding the row of buttons at the bottom of the EPG (num stop now next search favs vod quit) screen to make it eaiser to navigate with mouse on windows?


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - Doctor Eggs - 2018-03-15

(2018-03-15, 00:30)doktourtv Wrote: Nice Skin!!! Any chance of adding the row of buttons at the bottom of the EPG (num stop now next search favs vod quit) screen to make it eaiser to navigate with mouse on windows?

You can add the row of buttons at the bottom by going into the TVGF settings, go to Appearance and change Show Action Bar to true then it will show up.


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - doktourtv - 2018-03-15

Thanks!


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - JQZ* - 2018-03-16

Has anyone had problems with the latest update?  In both 0.17.030 Krypton and 0.0.380 Jarvis versions I'm finding I can't exit the TVGF menu back to the main EPG either on mouse click or key.  'Quit' is the only option I can get out of the menu with.  Also when I enter the menu, I'm getting the 'Choose' menu for selecting a stream for channels that are already linked instead of 'Remove Stream'.


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

(2018-03-16, 06:56)JQZ* Wrote: Has anyone had problems with the latest update?  In both 0.17.030 Krypton and 0.0.380 Jarvis versions I'm finding I can't exit the TVGF menu back to the main EPG either on mouse click or key.  'Quit' is the only option I can get out of the menu with.  Also when I enter the menu, I'm getting the 'Choose' menu for selecting a stream for channels that are already linked instead of 'Remove Stream'.
 It should be fixed in 0.0.381.
I had a feeling that adding controls for the WMC skin would cause problems but I couldn't see where.
The new sub-title label isn't in any other skin so TVGF bombed out with an exception error.

I've noticed a problem with the tvguide.co.uk now 2 source in Lab2.
If you try to pull in the complete default sky guide TVGF will bomb out.
It's probably a unicode or missing data field as usual but I'll look when I have more time.
If you use a custom channel line-up with an email address it should work. It did for me anyway with the standard terrestrial channels.


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - Doctor Eggs - 2018-03-16

Crap. Sorry everybody. I thought that I had things put in place so that it wouldn't impact existing skins but it looks like I didn't.


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

0.0.382 tvguide.co.uk Now 2 fixed

If you just need a quick guide for the UK today this is probably the easiest source to use.
If anyone knows of an easily scrapable single web page for US/CA/EU etc tv guide data please let me know.
This is the UK one.
http://www.tvguide.co.uk/?catcolor=&systemid=5&thistime=&thisday=&gridspan=0&view=1&gw=


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - edit4ever - 2018-03-16

take a look at zap2it.com

you can even take a look at extracting what you need from:  https://github.com/edit4ever/script.module.zap2epg

It uses a json api for the data - so it is a little faster than typical scraping.


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

(2018-03-16, 15:56)edit4ever Wrote: take a look at zap2it.com

you can even take a look at extracting what you need from:  https://github.com/edit4ever/script.module.zap2epg

It uses a json api for the data - so it is a little faster than typical scraping.
 That is very handy and very quick. Thanks.
Is it in a repo somewhere?


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - Doctor Eggs - 2018-03-16

Is there a way to get a button assigned to launch the VOD?

I don't use the DESCRIPTION_SEARCH that is assigned to the ACTION_TELETEXT_GREEN button, so I've been updating my ActionEditor.py but was wondering if there could be a button assigned so that I don't have to update that when new versions come out. I just don't know which button it should be assigned to.


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

(2018-03-16, 17:18)Doctor Eggs Wrote: Is there a way to get a button assigned to launch the VOD?

I don't use the DESCRIPTION_SEARCH that is assigned to the ACTION_TELETEXT_GREEN button, so I've been updating my ActionEditor.py but was wondering if there could be a button assigned so that I don't have to update that when new versions come out. I just don't know which button it should be assigned to.
 It was left blank because I couldn't find any more spare buttons but if you do you can add a default in and I'll pull it in on github.
I was intending people to change it in the Action Editor if they need it.

The whole Action Editor could probably be done a lot more intuitively like the Keymap Editor addon where you press the button you want for a command.
If you ever want to try and change it to do that be my guest and I'll add it in.


RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - M89SE - 2018-03-19

Hi!

I'm searching for an answer how to make an loading screen for the tvguide. I'm not sure how to use the visibility conditions when the loading screen should appear and reapear. The main issue is when reloading the epg, I want the loading screen to show up but it stays hidden with my settings.

Here is a video of the problem at 0:25:


So this is from Twinthers Default skin but this will add an delay to the loading screen.

       
xml:
<!-- Background -->
        <control type="image" id="4600">
            <posx>0</posx>
            <posy>0</posy>
            <width>1280</width>
            <height>720</height>
            <texture>tvguide-background-default.jpg</texture>
            <fadetime>100</fadetime>
            <!--<colordiffuse>77FFFFFF</colordiffuse>-->
            <animation type="Conditional" condition="Control.IsVisible(5000)">
                <effect type="fade" start="100" end="0" time="100"/>
            </animation>
        </control>
        <control type="image">
            <posx>0</posx>
            <posy>0</posy>
            <width>1280</width>
            <height>720</height>
            <texture>tvguide-background.png</texture>
            <animation type="Conditional" condition="Control.IsVisible(5000)">
                <effect type="fade" start="200" end="0" time="500"/>
            </animation>
        </control>

------------------------------------------------------------------------------------------------------

        <control type="group">
            <description>TV Guide group</description>
            <posx>0</posx>
            <posy>0</posy>
            <width>1280</width>
            <height>720</height>
            <visible>!Control.IsVisible(5000)</visible>

------------------------------------------------------------------------------------------------------

                <control type="group">
                <posx>340</posx>
                <posy>250</posy>
                <width>600</width>
                <height>55</height>
                <visible>!Control.IsVisible(4200)</visible>
                <animation effect="fade" start="0" end="100" time="250" delay="1500">Visible</animation>

                <control type="image">
                    <description>loading splash</description>
                    <posx>0</posx>
                    <posy>0</posy>
                    <width>55</width>
                    <height>55</height>
                    <texture>tvguide-loading.gif</texture>
                </control>
                <control type="label">
                    <description>loading splash</description>
                    <posx>70</posx>
                    <posy>0</posy>
                    <width>600</width>
                    <height>55</height>
                    <label>$ADDON[script.mtvguide 30001]</label>
                    <textcolor>ffffffff</textcolor>
                    <font>font30</font>
                    <aligny>center</aligny>
                </control>
                <control type="progress" id="4201">
                    <posx>70</posx>
                    <posy>50</posy>
                    <width>580</width>
                    <height>2</height>
                    <texturebg/>
                    <lefttexture/>
                    <midtexture>tvguide-white-progress.png</midtexture>
                    <righttexture/>
                </control>
                <control type="label" id="4202">
                    <description>loading time left</description>
                    <posx>70</posx>
                    <posy>50</posy>
                    <width>600</width>
                    <height>50</height>
                    <label>...</label>
                    <textcolor>ffffffff</textcolor>
                    <font>font13</font>
                    <aligny>center</aligny>
                </control>
                <control type="button" id="4203">
                    <posx>70</posx>
                    <posy>100</posy>
                    <width>150</width>
                    <height>50</height>
                    <label>$ADDON[script.mtvguide 30008]</label>
                    <textcolor>ffffffff</textcolor>
                    <font>font13</font>
                    <aligny>center</aligny>
                    <align>center</align>
                    <texturefocus>tvguide-program-grey-focus.png</texturefocus>
                    <texturenofocus>tvguide-program-grey.png</texturenofocus>
                </control>
            </control>

My solution where i inserted a background and its working, but not showing when reloading epg.

       
xml:
<!-- Background -->
        <control type="image" id="4600">
            <posx>0</posx>
            <posy>0</posy>
            <width>1280</width>
            <height>720</height>
            <texture>tvguide-background-default.jpg</texture>
            <!--<colordiffuse>77FFFFFF</colordiffuse>-->
            <animation type="Conditional" condition="Control.IsVisible(5000)">
                <effect type="fade" start="100" end="100" time="0"/>
            </animation>
        </control>
        <control type="image">
            <posx>0</posx>
            <posy>0</posy>
            <width>1280</width>
            <height>720</height>
            <texture>tvguide-background.png</texture>
            <animation type="Conditional" condition="Control.IsVisible(5000)">
                <effect type="fade" start="100" end="100" time="0"/>
            </animation>
        </control>

------------------------------------------------------------------------------------------------------

        <control type="group">
            <description>TV Guide group</description>
            <posx>0</posx>
            <posy>0</posy>
            <width>1280</width>
            <height>720</height>
            <visible>!Control.IsVisible(5000)</visible>

------------------------------------------------------------------------------------------------------

            <control type="group">
                <posx>340</posx>
                <posy>250</posy>
                <width>600</width>
                <height>55</height>
                <visible>!Control.IsVisible(4200) | Control.IsVisible(5000)</visible>
                <animation start="100" end="0" effect="fade">Visible</animation>

                 <control type="image">
                    <description>Splash</description>
                    <posx>0</posx>
                    <posy>0</posy>
                    <width>1280</width>
                    <height>720</height>
                    <texture>../../Default/media/tvguide-background-default.jpg</texture>
                </control>

                <control type="image">
                    <description>Logo</description>
                    <posx>512</posx>
                    <posy>232</posy>
                    <width>256</width>
                    <height>256</height>
                    <texture>../../Default/media/loading.png</texture>
                </control>
                
                <control type="label">
                    <description>Loading splash</description>
                    <posx>0%</posx>
                    <posy>40%</posy>
                    <width>1280</width>
                    <height>720</height>
                    <label>$ADDON[script.mtvguide 30001]</label>
                    <font>font12_title</font>
                    <textcolor>ffba1100</textcolor>
                    <shadowcolor>ffdadfe3</shadowcolor>
                    <align>center</align>
                    <aligny>center</aligny>
                    <visible>true</visible>
                </control>
                <control type="progress" id="4201">
                    <visible>false</visible>
                </control>
                <control type="image">
                    <description>Spinner</description>
                    <posx>610</posx>
                    <top>560</top>
                    <width>60</width>
                    <height>60</height>
                    <aspectratio>keep</aspectratio>
                    <texture colordiffuse="ffd8dddf">../../Default/media/dialogs/spinner_bg.png</texture>
                </control>
                <control type="image">
                    <description>Spinner</description>
                    <posx>610</posx>
                    <top>560</top>
                    <width>60</width>
                    <height>60</height>
                    <aspectratio>keep</aspectratio>
                    <animation effect="rotate" end="-360" center="auto" time="1000" delay="0" loop="true" reversible="false" condition="true">Conditional</animation>
                    <texture colordiffuse="ffba1100">../../Default/media/dialogs/spinner.png</texture>
                </control>
                <control type="label" id="4202">
                    <description>Loading time left</description>
                    <posx>0%</posx>
                    <posy>45%</posy>
                    <width>1280</width>
                    <height>720</height>
                    <label>...</label>
                    <font>font12</font>
                    <textcolor>ffba1100</textcolor>
                    <shadowcolor>ffdadfe3</shadowcolor>
                    <align>center</align>
                    <aligny>center</aligny>
                </control>
                <control type="button" id="4203">
                    <description>Cancel</description>
                    <posx>28</posx>
                    <posy>26</posy>
                    <width>64</width>
                    <height>64</height>
                    <texturefocus colordiffuse="ffe34555">../../Default/media/buttons/cancelFO.png</texturefocus>
                    <texturenofocus>../../Default/media/buttons/cancelFO.png</texturenofocus>
                </control>
            
</control>

Mariusz Brychcy
mods-kodi.pl


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

(2018-03-19, 16:33)M89SE Wrote: Hi!
^^^

Are you sure the relative paths for the textures are doing what you expect.
The kodi skin loading mechanism uses the "media" folder as its root.

If not I suspect it could be one of the extra background layers I've added to stop the flashing between page transitions or even the mouse control group or help overlay.
Make each of the major sections invisible one by one and see if your loading screen is there but in a lower level.
If it is you'll have to move it down further in the xml to make it on top.

The code to make the loading screen visible is in onRedrawEPG in gui.py at the start and end of that function.