Kodi Community Forum
[FRODO release] Skin Widgets - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12)
+---- Forum: Skin helper addons (https://forum.kodi.tv/forumdisplay.php?fid=300)
+---- Thread: [FRODO release] Skin Widgets (/showthread.php?tid=142389)



RE: [FRODO release] Skin Widgets - Martijn - 2012-10-14

v0.0.4
- Fix missing import
- Fix typo in clearproperty
- Add
PHP Code:
SetProperty(SkinWidgets_RandomItems_Update,true
to trigger update on all randomitems. Script will reset property and timer.

Downloads


RE: [FRODO release] Skin Widgets - Hitcher - 2012-10-14

Not sure I'm using it right because it's not refreshing the random items.

PHP Code:
<onclick>$INFO[Window(Home).Property(RandomAlbum.1.Play)]</onclick>
<
onclick>SetProperty(SkinWidgets_RandomItems_Update,true)</onclick



RE: [FRODO release] Skin Widgets - Martijn - 2012-10-14

(2012-10-14, 17:51)Hitcher Wrote: Not sure I'm using it right because it's not refreshing the random items.

PHP Code:
<onclick>$INFO[Window(Home).Property(RandomAlbum.1.Play)]</onclick>
<
onclick>SetProperty(SkinWidgets_RandomItems_Update,true)</onclick

You did a XBMC restart?


RE: [FRODO release] Skin Widgets - Hitcher - 2012-10-14

Image


RE: [FRODO release] Skin Widgets - Martijn - 2012-10-14

Any interest in recently added unplayed (since xbmc doesn't give that option)?


RE: [FRODO release] Skin Widgets - `Black - 2012-10-14

You mean random items unplayed?

Edit: I should think for a second. Smile ... I don't need recently added unplayed.


RE: [FRODO release] Skin Widgets - Martijn - 2012-10-14

(2012-10-14, 18:20)`Black Wrote: You mean random items unplayed?

No there's already a script option for that.
XBMC only gives you the latest added without giving the option to only show the unplayed last added.


RE: [FRODO release] Skin Widgets - phil65 - 2012-10-14

(2012-10-14, 18:05)Martijn Wrote: Any interest in recently added unplayed (since xbmc doesn't give that option)?

yes, interested. i think it would make perfectly sense to move all the recentlyadded property stuff completely to this script. that way we would also have more info available (album description for example)


RE: [FRODO release] Skin Widgets - CHRONiC YOUTH - 2012-10-14

Hi I have been trying to use this with aeon nox to replace the randomitems script but now whenever I pull up my random addons I get all the artwork but no addon names do you guys have any ideas?


RE: [FRODO release] Skin Widgets - Martijn - 2012-10-14

(2012-10-14, 18:50)CHRONiC YOUTH Wrote: Hi I have been trying to use this with aeon nox to replace the randomitems script but now whenever I pull up my random addons I get all the artwork but no addon names do you guys have any ideas?

@phil65 ^^


Seems that unplayed filter doesn't work for recent added so gonna get that fixed first



RE: [FRODO release] Skin Widgets - phil65 - 2012-10-14

(2012-10-14, 18:50)CHRONiC YOUTH Wrote: Hi I have been trying to use this with aeon nox to replace the randomitems script but now whenever I pull up my random addons I get all the artwork but no addon names do you guys have any ideas?

fixed.


RE: [FRODO release] Skin Widgets - `Black - 2012-10-14

@Martijn
Maybe wo could also request some additional python events so the script could update if you manually mark as watched/unwatched or remove something. Basically every time anything relevant is changed in the database. That would make script feel even more native.


RE: [FRODO release] Skin Widgets - Martijn - 2012-10-14

(2012-10-14, 19:25)`Black Wrote: @Martijn
Maybe wo could also request some additional python events so the script could update if you manually mark as watched/unwatched or remove something. Basically every time anything relevant is changed in the database. That would make script feel even more native.

problem is that it isn't available for python, only JSON so we need to constantly monitor that and it triggers on library change so that will trigger more events in the script. so I was hoping to avoid that.


RE: [FRODO release] Skin Widgets - `Black - 2012-10-14

I know that it isn't available but maybe someone could make it available? The xbmc.Monitor module has to be extended I guess... I don't know how much work it would be, though.


RE: [FRODO release] Skin Widgets - Martijn - 2012-10-14

(2012-10-14, 19:48)`Black Wrote: I know that it isn't available but maybe someone could make it available? The xbmc.Monitor module has to be extended I guess... I don't know how much work it would be, though.

We discussed that and there were pros and cons. since we are at feature freeze nothing will be added anymore so that will be for Frodo+1 at earliest