2011-12-09, 11:09
Hitcher Wrote:Now that ronie's added the running property I run it from Startup.xml and then use a conditional for the Home.xml in case someone has switched skins..
PHP Code:<onload condition="IsEmpty(Window(Home).Property(Watchlist_Running))">RunScript(script.watchlist,movies=$INFO[Skin.String(Watchlist_Movies)]&episodes=$INFO[Skin.String(Watchlist_Episodes)]&albums=$INFO[Skin.String(Watchlist_Albums)]&limit=6)</onload>
Yup, but what do you think would be a solution for a situation were user is switching from a skin that uses say 4 items to a skin using 8. Or, from a skin not using music items in WL script to a skin that uses all.
All I came up with would be to run it on home.xml load to make sure all info would be fetched?
The way I see it you either re-run it on home with definable parameters or make a background service but with fixed parameters. I may be missing something, though?