• 1
  • 29
  • 30
  • 31(current)
  • 32
  • 33
  • 49
[FRODO release] Skin Widgets
I've got a question for using these widgets with mysql db. I did a search and saw someone talking about a refresh timer on like page 36 but it didn't really explain what i wanted to know. I have multiple boxes that sit on the main page most of the time. I use them probaly once a day except for my main box which gets a lot of use. How do I get the other boxes to periodically update so that I don't have to go to another menu, or start a show and come back to get the skin widgets to refresh? Something like every 30 min or every hour would be fine, I just want them to refresh periodically.
Reply
(2013-05-18, 18:25)`Black Wrote: The episodes query for ongoing tv shows is the problematic one and takes about 120 seconds on your system... I can't tell you why but since you are using a mysql db, I bet it has something to do with it although it should be much faster with frodo and take seconds instead of minutes (which it did with Eden and mysql databases).

I'm experiencing simular issues. On my Raspberry Pi the Suggested Episodes are not being updated and currently not even shown. On my laptop with the same skin and settings it shows however doesn't work perfect. I use a mysql database on my Synology NAS and after playing a episode on my Raspberry Pi, the Suggested episodes widget on my laptop is updated only after a restart of the application. On my Raspberry Pi the Suggested Episodes is blank even after rebooting my Raspberry Pi.

Can you please tell how the update/refresh routine works. I've seen in the setting that there is an update option for the recent items when entering the home screen.
Reply
(2013-06-05, 23:20)blackbozo Wrote:
(2013-05-18, 18:25)`Black Wrote: The episodes query for ongoing tv shows is the problematic one and takes about 120 seconds on your system... I can't tell you why but since you are using a mysql db, I bet it has something to do with it although it should be much faster with frodo and take seconds instead of minutes (which it did with Eden and mysql databases).

I'm experiencing simular issues. On my Raspberry Pi the Suggested Episodes are not being updated and currently not even shown. On my laptop with the same skin and settings it shows however doesn't work perfect. I use a mysql database on my Synology NAS and after playing a episode on my Raspberry Pi, the Suggested episodes widget on my laptop is updated only after a restart of the application. On my Raspberry Pi the Suggested Episodes is blank even after rebooting my Raspberry Pi.

Can you please tell how the update/refresh routine works. I've seen in the setting that there is an update option for the recent items when entering the home screen.

After numerous hours of searching for the solution, I found it.

I've overclocked my Raspberry (according to the standard overclock settings) which resulted in a lot of writing errors to my sd-card. Went back to the standard frequencies and voltages and everything works perfect now.
Reply
Lately this addon is crashing for me during start up. Im using the ace skin and this i my log:
http://xbmclogs.com/show.php?id=28078
I already tried to uninstall/reinstall the addon but that doesnt make a difference. Can anyone give a hint where to look and how to fix this?

edit: and here a more comprehensive debug log:
http://xbmclogs.com/show.php?id=28079
Reply
Bump! Anyone who can give me some suggestions how to solve this?
Reply
(2013-06-19, 15:36)LtMarx Wrote: Bump! Anyone who can give me some suggestions how to solve this?

probably a bug in the script, looks like it'll crash if you have a tv show in your library with no episodes.
you'll have to wait 'till Martijn returns from his well deserved vacation.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
(2013-05-29, 01:18)esk1 Wrote: I've got a question for using these widgets with mysql db. I did a search and saw someone talking about a refresh timer on like page 36 but it didn't really explain what i wanted to know. I have multiple boxes that sit on the main page most of the time. I use them probaly once a day except for my main box which gets a lot of use. How do I get the other boxes to periodically update so that I don't have to go to another menu, or start a show and come back to get the skin widgets to refresh? Something like every 30 min or every hour would be fine, I just want them to refresh periodically.

Theres gotta be more people using this widget with multiple XBMC boxes than me....
Reply
Is there any way to get the script to use the setting "Play the next video automatically" and play the next episode of a TV Show instead of returning to the home menu?

The wiki is down at the moment...
Reply
Are there any skins implementing the "On Deck" feature?
Reply
(2013-07-21, 14:00)verysoftpaper Wrote: Are there any skins implementing the "On Deck" feature?

just about every skin (apart from confluence) uses it.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
Any way of showing only the unfinished items? Or separate the unfinished from the unplayed?

Thanks
Reply
Question 
I have been having an issue with something on my skin's homepage and after banging my head against it for a week I have begun to suspect the issue is with the SkinWidgets plug in (version 0.0.25).

I have added an assortment of panels to my homescreen and the user can choose which they prefer. I do this via call outs to an include file like this-

PHP Code:
<control type="panel" id="67">
    <include 
condition="Skin.String(Home.MusicPanel,Recent)">Panel_Albums_Recent</include>
    <include 
condition="Skin.String(Home.MusicPanel,Recommended)">Panel_Albums_Recommended</include>
    <include 
condition="Skin.String(Home.MusicPanel,RandomAlbum)">Panel_Albums_Random</include>
    <include 
condition="Skin.String(Home.MusicPanel,RandomArtist)">Panel_Artists_Random</include>
    <include 
condition="Skin.String(Home.MusicPanel,RandomSong)">Panel_Songs_Random</include>
</
control

The include then call content like this-

PHP Code:
    <include name="Panel_Albums_Recommended">
        <
animation type="Conditional" condition="Control.IsVisible(87)">
            <
effect type="slide" start="0,0" end="190,0" time="300" easing="out" tween="cubic"/>
        </
animation>
        <
posx>810</posx>
        <
posy>310</posy>
        <
width>560</width>
        <
height>320</height>
        <
preloaditems>2</preloaditems>
        <
onup>67</onup>
        <
ondown>67</ondown>
        <
onleft condition="Control.IsVisible(87)">87</onleft>
        <
onleft condition="!Control.IsVisible(87)">679</onleft>
        <
onright>66</onright>
        <
orientation>horizontal</orientation>
        <
pagecontrol>98</pagecontrol>
        <
focusposition>0</focusposition>
        <
scrolltime tween="cubic" easing="out">400</scrolltime>
        <
itemlayout width="160" height="160">
            <
control type="image">
                <
posx>9</posx>
                <
posy>0</posy>
                <
width>155</width>
                <
height>155</height>
                <
texture border="2">backings/tile.png</texture>
                <
aspectratio>scale</aspectratio>
            </
control>
            <
control type="image">
                <
posx>9</posx>
                <
posy>0</posy>
                <
width>155</width>
                <
height>155</height>
                <
texture border="5">backings/tile2.png</texture>
                <
aspectratio>stretch</aspectratio>
                <
visible>Skin.HasSetting(TileBackground)</visible>
            </
control>
            <
control type="image">
                <
posx>14</posx>
                <
posy>5</posy>
                <
width>145</width>
                <
height>145</height>
                <
texture blend="false" fallback="defaults/DefaultAlbumCover.png">$INFO[ListItem.Thumb]</texture>
                <
aspectratio>scale</aspectratio>
            </
control>
        </
itemlayout>        
        <
focusedlayout width="160" height="160">
            <
control type="image">
                <
posx>9</posx>
                <
posy>0</posy>
                <
width>155</width>
                <
height>155</height>
                <
texture border="2">general/accent.png</texture>
                <
aspectratio>scale</aspectratio>
            </
control>                
            <
control type="image">
                <
posx>9</posx>
                <
posy>0</posy>
                <
width>155</width>
                <
height>155</height>
                <
texture fallback="defaults/DefaultAlbumCover.png">$INFO[ListItem.Thumb]</texture>
                <
aspectratio>scale</aspectratio>
                <
bordertexture border="5">general/accent.png</bordertexture>
                <
bordersize>5</bordersize>
                <
animation effect="fade" start="50" time="400" easing="out" tween="square">Focus</animation>
            </
control>
            <
control type="group">
                <
posx>0</posx>
                <
posy>0</posy>
                <
animation effect="fade" start="50" time="400" easing="out" tween="square">Focus</animation>
                <
control type="image">
                    <
posx>9</posx>
                    <
posy>115</posy>
                    <
width>155</width>
                    <
height>40</height>
                    <
texture>general/accent.png</texture>            
                </
control>
            </
control>
            <
control type="label">
                <
label$INFO[ListItem.Label2][COLOR Black$INFO[ListItem.Label][/COLOR]</label>
                <
posx>10</posx>
                <
posy>121</posy>
                <
height>30</height>
                <
width>153</width>
                <
font>button_bold</font>
                <
align>left</align>
                <
animation effect="fade" delay="200" start="0" time="300" easing="out" tween="square">Focus</animation>
            </
control>        
        </
focusedlayout>
        <
content>
            <
item id="11">
                <
label>$INFO[Window.Property(RecommendedAlbum.1.Title)]</label>
                <
label2>$INFO[Window.Property(RecommendedAlbum.1.Artist)]</label2>
                <
onclick>$INFO[Window.Property(RecommendedAlbum.1.Play)]</onclick>
                <
thumb>$INFO[Window.Property(RecommendedAlbum.1.Thumb)]</thumb>
                <
visible>!IsEmpty(Window.Property(RecommendedAlbum.1.Path))</visible>
            </
item>
            <
item id="12">
                <
label>$INFO[Window.Property(RecommendedAlbum.2.Title)]</label>
                <
label2>$INFO[Window.Property(RecommendedAlbum.2.Artist)]</label2>
                <
onclick>$INFO[Window.Property(RecommendedAlbum.2.Play)]</onclick>
                <
thumb>$INFO[Window.Property(RecommendedAlbum.2.Thumb)]</thumb>
                <
visible>!IsEmpty(Window.Property(RecommendedAlbum.2.Path))</visible>
            </
item>
            <
item id="13">
                <
label>$INFO[Window.Property(RecommendedAlbum.3.Title)]</label>
                <
label2>$INFO[Window.Property(RecommendedAlbum.3.Artist)]</label2>
                <
onclick>$INFO[Window.Property(RecommendedAlbum.3.Play)]</onclick>
                <
thumb>$INFO[Window.Property(RecommendedAlbum.3.Thumb)]</thumb>
                <
visible>!IsEmpty(Window.Property(RecommendedAlbum.3.Path))</visible>
            </
item>
            <
item id="14">
                <
label>$INFO[Window.Property(RecommendedAlbum.4.Title)]</label>
                <
label2>$INFO[Window.Property(RecommendedAlbum.4.Artist)]</label2>
                <
onclick>$INFO[Window.Property(RecommendedAlbum.4.Play)]</onclick>
                <
thumb>$INFO[Window.Property(RecommendedAlbum.4.Thumb)]</thumb>
                <
visible>!IsEmpty(Window.Property(RecommendedAlbum.4.Path))</visible>
            </
item>
            <
item id="15">
                <
label>$INFO[Window.Property(RecommendedAlbum.5.Title)]</label>
                <
label2>$INFO[Window.Property(RecommendedAlbum.5.Artist)]</label2>
                <
onclick>$INFO[Window.Property(RecommendedAlbum.5.Play)]</onclick>
                <
thumb>$INFO[Window.Property(RecommendedAlbum.5.Thumb)]</thumb>
                <
visible>!IsEmpty(Window.Property(RecommendedAlbum.5.Path))</visible>
            </
item>
            <
item id="16">
                <
label>$INFO[Window.Property(RecommendedAlbum.6.Title)]</label>
                <
label2>$INFO[Window.Property(RecommendedAlbum.6.Artist)]</label2>
                <
onclick>$INFO[Window.Property(RecommendedAlbum.6.Play)]</onclick>
                <
thumb>$INFO[Window.Property(RecommendedAlbum.6.Thumb)]</thumb>
                <
visible>!IsEmpty(Window.Property(RecommendedAlbum.6.Path))</visible>
            </
item>
            <
item id="17">
                <
label>$INFO[Window.Property(RecommendedAlbum.7.Title)]</label>
                <
label2>$INFO[Window.Property(RecommendedAlbum.7.Artist)]</label2>
                <
onclick>$INFO[Window.Property(RecommendedAlbum.7.Play)]</onclick>
                <
thumb>$INFO[Window.Property(RecommendedAlbum.7.Thumb)]</thumb>
                <
visible>!IsEmpty(Window.Property(RecommendedAlbum.7.Path))</visible>
            </
item>
            <
item id="18">
                <
label>$INFO[Window.Property(RecommendedAlbum.8.Title)]</label>
                <
label2>$INFO[Window.Property(RecommendedAlbum.8.Artist)]</label2>
                <
onclick>$INFO[Window.Property(RecommendedAlbum.8.Play)]</onclick>
                <
thumb>$INFO[Window.Property(RecommendedAlbum.8.Thumb)]</thumb>
                <
visible>!IsEmpty(Window.Property(RecommendedAlbum.8.Path))</visible>
            </
item>
            <
item id="19">
                <
label>$INFO[Window.Property(RecommendedAlbum.9.Title)]</label>
                <
label2>$INFO[Window.Property(RecommendedAlbum.9.Artist)]</label2>
                <
onclick>$INFO[Window.Property(RecommendedAlbum.9.Play)]</onclick>
                <
thumb>$INFO[Window.Property(RecommendedAlbum.9.Thumb)]</thumb>
                <
visible>!IsEmpty(Window.Property(RecommendedAlbum.9.Path))</visible>
            </
item>
            <
item id="20">
                <
label>$INFO[Window.Property(RecommendedAlbum.10.Title)]</label>
                <
label2>$INFO[Window.Property(RecommendedAlbum.10.Artist)]</label2>
                <
onclick>$INFO[Window.Property(RecommendedAlbum.10.Play)]</onclick>
                <
thumb>$INFO[Window.Property(RecommendedAlbum.10.Thumb)]</thumb>
                <
visible>!IsEmpty(Window.Property(RecommendedAlbum.10.Path))</visible>
            </
item>
        </
content>
    </include> 


This seems to work fine for sections using the built in recent function (LatestAlbums) but for several of the sections using the SkinWidgets (as seen above), it doesn't matter which panel is active after a few loads the content disappears. The panel is still working (if I remove the visible tags in the content area I can see the blank panels), but the label, label2, onclick and thumb content it is supposed to be showing just "goes away". I have tried changing the content IDs to see if there is a conflict somewhere, but that didn't help. I have looked through the debug logs and I don't see any errors or warnings that could be causing this (I would be happy to provide them if you like). Do you guys have any thoughts on what might be doing this?

Any help or insight would be greatly appreciated.
bit(ten) skin (Thread) (Project Site)
metroTV skin (Thread) (Project Site)

Reply
Could you post the complete code so we can test it? That would be the easiest way to help. Another information would be if skin widgets is working for you in other skins because then there's very likely some mistake in your code somewhere.
Image
Reply
Best is to point to your development repo or use pastebin.com for code.
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
Reply
Here is a link- [redacted]

The odd part is that it does actually work at first, but after a bit it stops working. This has happened on 3 different xbmc installs for me.
bit(ten) skin (Thread) (Project Site)
metroTV skin (Thread) (Project Site)

Reply
  • 1
  • 29
  • 30
  • 31(current)
  • 32
  • 33
  • 49

Logout Mark Read Team Forum Stats Members Help
[FRODO release] Skin Widgets8