mherger;536090 Wrote: 
> >> > integrate this with my Custom Clock applet, for example by making
> it
> >> > possible to show a random image as part of the clock style.
> 
> What about:
> 
> gallery random
> 
> to get a random picture out of all favorites, or:
> 
> gallery random id:fav_id
> 
> to get a random picture out of a given favorites list?
> 
Sounds good, what would I get back in the result ?

I probably want to be able to somehow specify the size of the image.
I'm not sure if it would be best to have that as optional parameters to
the "gallery random" command or if it's better to manipulate the url I'm
guessing is returned from "gallery random" ?
It feels like it would be a more stable interface to specify the size
as parameters to the "gallery random" command and it would return urls
with the correct sizing parameters. What do you think ?

I'm guessing the fav_id will be the same always ? It won't be
re-generated at SBS restart or something similar ?

Is there any way to get a list of available favorites from a perl
plugin (Custom Clock Helper plugin in this case)


-- 
erland

Erland Isaksson
'My homepage' (http://erland.isaksson.info) (Install my plugins through
Extension Downloader)
(Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse,
Custom Scan,  Custom Skip, Multi Library, Title Switcher and Database
Query plugins'
(http://wiki.erland.isaksson.info/index.php/Category:SlimServer))
------------------------------------------------------------------------
erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=76879

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to