A new version of Custom Clock/Custom Clock Helper is now available, the news are: - Added support for visualizers (analogvumeter, digitalvumeter), there is a sample "Analog VU Meter" style for the Touch bundled which use the standard visualizer image but make it possible to configure exactly which text elements you like to display. - Added support for time based icon images through the new "timeicon" item type (jstraw, this is what you want to use for your flip clock experiment) - Added support for animated icons through new framerate/framewidth attributes on all icon item types (tcutting this is the solution to your charging icon)
NOTE! Visualizers will probably not work on the Radio and Controller due to the slower CPU, I've only tried them on the Touch yet. The spectrum visualizer was a bit more complex so that will be included in a future version. NEW ATTRIBUTES ON ALL ICON ITEM TYPES A little information of the new attributes on icon item types: - framerate: Specifies the number of animation steps per second - framewidth: Specifies the width of each frame in the image provided by the url attributes. A sample icon which support animations are this one: http://svn.slimdevices.com/repos/jive/7.5/trunk/squeezeplay/src/squeezeplay/share/applets/QVGAbaseSkin/images/Icons/icon_battery_charging.png And it should be configured with "framerate=1" and "framewidth=24" NEW TIMEICON ITEM TYPE The new "timeicon" item type handles images in the same way as the above animation support, but it doesn't animate the image instead it selects which image to use based on the the number in the "text" attribute. Some information on the attributes: "text": Should contain one of: -- "%S": Seconds, require a image with 60 frames (00-59) -- "%I": 12 hour clock, require a image with at least 13 frames (00-12), the first frame will never be used -- "%H": 24 hour clock, require an image with at least 24 frames (00-23) -- "%M": Minutes, require an image with 60 frames (00-59) -- "%d": Day of month, require an image with 32 frames (00-31), the first frame will never be used -- "%w": Weekday, require an image with 7 frames (Sun-Sat) -- "%m": Month, require an image with 13 frames (00-12), the first frame will never be used -- "%y": 2 digit year, require an image with 100 frames (00-99) You can of course create a generic image with 00-99 frames and it will support all the above mentioned values in the "text" attribute. Possibly, you might want to have two images, one where 0-9 is shown as 00-09 and one where its shown as 0-9 "url": The actual digit image (may have transparent background) "width": The width of the frames in the "url" image "url.background" (optional): If specified, this image will be pasted behind the digits. This way you can have a generic digit image with transparent background and use the "url.background" to make several styles with different background behind the digits. The "url.background" image won't be "animated" the whole image will be pasted as normal images. VISUALIZER ITEM TYPES For the "analogvumeter" have a look at the bundled style for the touch, it basically just sets the "url" attribute to this image: http://svn.slimdevices.com/repos/jive/7.5/trunk/squeezeplay/src/squeezeplay/share/applets/WQVGAsmallSkin/images/UNOFFICIAL/VUMeter/vu_analog_25seq_b.png Finally, the "digitalvumeter" item times takes a number of url attributes, if you like to try this out set them to the following: - url: - url.tickon: http://svn.slimdevices.com/repos/jive/7.5/trunk/squeezeplay/src/squeezeplay/share/applets/WQVGAsmallSkin/images/UNOFFICIAL/VUMeter/VU_tick_on.png - url.tickoff: http://svn.slimdevices.com/repos/jive/7.5/trunk/squeezeplay/src/squeezeplay/share/applets/WQVGAsmallSkin/images/UNOFFICIAL/VUMeter/VU_tick_off.png - url.tickcap: http://svn.slimdevices.com/repos/jive/7.5/trunk/squeezeplay/src/squeezeplay/share/applets/WQVGAsmallSkin/images/UNOFFICIAL/VUMeter/VU_tick_bounce.png I think the digitalvumeter will need some more polishing before it's ready to use, I just included it since the code existed in the Logitech firmware. I don't think the digitalvumeter style is ever used in the firmware. -- 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=68269 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
