colin_young;259932 Wrote: > PERL I can figure out (I've been actively avoiding it for about 10 years > now, but it looks like I might be out of luck now). I just need some > help with the plug-in side of things. Could you point me to a fairly > basic plugin that might be a good starting point (the less it does the > better)? > I'm not sure I'm the best to suggest which one to start with, but here are some suggestions anyway.
You need to decide if you want to make it for SlimServer 6.5 or SqueezeCenter 7.0. SqueezeCenter 7.0 is still beta, but it will probably be officially released within the next weeks. The plugin API has changed quite a bit between 6.5 and 7.0, so making a plugin that works for both will be hard. Personally I think it sounds like you should go with 7.0 since this plugin will probably not be finished before 7.0 has been officially released anyway. The "SavePlaylist" plugin bundled with SlimServer/SqueezeCenter contains some text input code, this might be useful for the part where you like to edit the tag values when previewing the file. The "Rescan" plugin bundled with SlimServer/SqueezeCenter performs a rescan, so this might be useful for the last point when you should scan the files you have added. My own "Custom Scan" plugin downloadable from my download page contains some code in its CustomTag scanning module that read tags from MP3 files. There is some plugin examples/tutorial code available in the SlimServer/SqueezeCenter web interface under "Help->Technical Information->SqueezeCenter Plugins". However, you should note that this currently describes the 6.5 API, so everything described there won't work in 7.0. There is also some information in the wiki here: http://wiki.slimdevices.com/index.cgi?DeveloperGuide This also currently describes the 6.5 API, so everything described there won't work in 7.0. The following wiki page describes the changes in the 7.0 API: http://wiki.slimdevices.com/index.cgi?SlimServer7Plugins Finally, on the bottom of the last mentioned page you will also find a really simple "Hello World" plugin which might be a good start if you just like to get something up and runnig and start modifying things. Start to experiment and look through the code and don't be afraid to ask questions. One thing that can be worth mentioning when you look in third party plugin code for 7.0 is that the actual perl code is packed in a .par file in the lib directory. To actually see the code you can just unpack this with a standard unzip tool. -- erland Erland Isaksson 'My homepage' (http://erland.homeip.net) 'My download page' (http://erland.homeip.net/download) (Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse, Custom Scan, Custom Skip, Multi Library and Database Query plugins' (http://wiki.erland.homeip.net/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=42091 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/plugins
