Kodi Community Forum
[RELEASE] Watchlist script (was 'Adding Plex's 'On Deck' feature to XBMC') - 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: [RELEASE] Watchlist script (was 'Adding Plex's 'On Deck' feature to XBMC') (/showthread.php?tid=113702)



RE: Adding Plex's 'On Deck' feature to XBMC - ronie - 2012-04-18

ticket created: http://trac.xbmc.org/ticket/12936


RE: Adding Plex's 'On Deck' feature to XBMC - Balinus - 2012-04-18

Hello,

what's the best way to use this script? Right now, I've the execution in Home.xml, with the <onload> command. Is there a better way?

Thanks a lot for any help!


RE: Adding Plex's 'On Deck' feature to XBMC - Hitcher - 2012-04-18

I think most of us are using this -

Code:
<onload condition="IsEmpty(Window(Home).Property(Watchlist_Running))">RunScript(script.watchlist,...)</onload>



RE: Adding Plex's 'On Deck' feature to XBMC - Balinus - 2012-04-18

ok, great! Thanks for the additional condition. I was using it without it.


RE: Adding Plex's 'On Deck' feature to XBMC - ronie - 2012-04-18

(2012-04-18, 22:24)Balinus Wrote: ok, great! Thanks for the additional condition. I was using it without it.

you should stick with what you had.
the script itself will (and should!) check if it's already running.


RE: Adding Plex's 'On Deck' feature to XBMC - Hitcher - 2012-04-18

It just checks to see if it's already running in which case there's no need to run it again.


RE: Adding Plex's 'On Deck' feature to XBMC - ronie - 2012-04-18

(2012-04-18, 22:27)Hitcher Wrote: It just checks to see if it's already running in which case there's no need to run it again.

user uses Transparency!, which runs the script with limit=3

next, the user switches to xeebo.
xeebo checks if the script is already running, which it is, so doesn't run it again

result: user only sees 3 watchlist items on the xeebo home screen.


RE: Adding Plex's 'On Deck' feature to XBMC - Hitcher - 2012-04-18

(2012-04-18, 22:26)ronie Wrote:
(2012-04-18, 22:24)Balinus Wrote: ok, great! Thanks for the additional condition. I was using it without it.

you should stick with what you had.
the script itself will (and should!) check if it's already running.

(2012-04-18, 22:42)ronie Wrote:
(2012-04-18, 22:27)Hitcher Wrote: It just checks to see if it's already running in which case there's no need to run it again.

user uses Transparency!, which runs the script with limit=3

next, the user switches to xeebo.
xeebo checks if the script is already running, which it is, so doesn't run it again

result: user only sees 3 watchlist items on the xeebo home screen.

Wont that be the same even without the running check though if the script checks if it's running itself?

EDIT: And if it checks that it's already running how do we force an update?


RE: Adding Plex's 'On Deck' feature to XBMC - ronie - 2012-04-18

(2012-04-18, 23:16)Hitcher Wrote: Wont that be the same even without the running check though if the script checks if it's running itself?

nope, scripts are smart ;-)

the script will detect if there's already another instance of it running,
it will signal the first instance to quit, then start a new instance with the params you've passed to it.


RE: Adding Plex's 'On Deck' feature to XBMC - Hitcher - 2012-04-18

Thanks for the clarification ronie.


RE: Adding Plex's 'On Deck' feature to XBMC - ronie - 2012-04-18

(2012-04-18, 23:30)Hitcher Wrote: Thanks for the clarification ronie.

lol, i hope it made sense this time as my previous attempts were obviously lost on some of you :-)

http://forum.xbmc.org/showthread.php?tid=113702&pid=955654#pid955654
http://forum.xbmc.org/showthread.php?tid=113702&pid=957029#pid957029


RE: Adding Plex's 'On Deck' feature to XBMC - Balinus - 2012-04-19

hehehe ok, thanks for the clarification. Smile


RE: Adding Plex's 'On Deck' feature to XBMC - Hitcher - 2012-04-19

(2012-04-18, 23:39)ronie Wrote:
(2012-04-18, 23:30)Hitcher Wrote: Thanks for the clarification ronie.

lol, i hope it made sense this time as my previous attempts were obviously lost on some of you :-)

http://forum.xbmc.org/showthread.php?tid=113702&pid=955654#pid955654
http://forum.xbmc.org/showthread.php?tid=113702&pid=957029#pid957029

Forgot about that - old age!

Anyway I've updated my original post to include this info and the readme.

Thanks ronie.


RE: Adding Plex's 'On Deck' feature to XBMC - ronie - 2012-04-26

(2012-04-19, 08:36)Hitcher Wrote: Anyway I've updated my original post to include this info and the readme.

cheers mate :-)


RE: [RELEASE] Watchlist script (was 'Adding Plex's 'On Deck' feature to XBMC') - Mudislander - 2012-04-30

Trying to debug a problem I've got, and thought i'd ask here as maybe? the script is part of the problem.

All working no problem under win7, but with openelec/linux I am missing watchlist album thumbs.

I know case sensitivity effects linux and I've got an unusual item list all of which needs going over but am trying to save a bit of work Wink and was wondering if anyone else had any issues with linux and album thumbs.