jstraw;534295 Wrote: 
> > 
Code:
--------------------
  >   > <patch name="YellowVUMeter" target="fab4" version="1.0" minTarget="7.5" 
maxTarget="7.5">
  > 
--------------------
> > 
> 
> Can you break down the elements of that line for me?
> 
name=identity of the patch. If you make several patches they should
have different values in the "name" attribute. Remember to also give
them unique values in the "title" element as this is the text that is
shown to the user.

target=specifies which player types it works on, possible values are:
- fab4 -> Touch
- baby -> Radio
- jive -> Controller
- squeezeplay -> SqueezePlay Desktop
You can also combined them, for example "fab4|baby" indicates that it
works on both Touch and Radio. I think Touch is the only one that have
visualizers, so "fab4" should be the correct value.

version=Version of the patch, preferably you should increase it if you
make a new version of the same patch. It isn't used at the moment but
future versions of the "Patch Installer" applet might use the version
attribute to indicate to the user if the patch can be upgraded to a new
version. In the current version the user have to uninstall and reinstall
the patch.

minTarget=Minium version of the firmware that's required, "7.5" should
be correct for visualizers since they weren't available in earlier
versions

maxTarget=Maximum version of the firmware that is allowed. Possibly you
might want to change this in the future, but at the moment I'd recommend
that you keep "7.5" as we don't know if Logitech will change anything in
the file structure in the next version.

You can have several <patch>...</patch> elements in the same repository
file, look at my testing repository which I linked to in an earlier post
for an example.


-- 
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=77117

_______________________________________________
Touch mailing list
Touch@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/touch

Reply via email to