Announcing Spicefly SugarCube This is the first public release of Spicefly SugarCube a plugin written to achieve my desire for SqueezeCentre and MusicIP to just work it out between themselves and play music, nonstop with no hassle, no annoying pre-creating playlists and all that pesky button fidderling!
*How it Works* Just pick a single track to play from your library and while that track is playing, SugarCube takes it and asks MusicIP for another track (based on specified criteria). SugarCube then randomly chooses a track from the MusicIP results and queues that up to play. Once the first track ends, the second track is now your seed track and the process continues, so on and so on! You are taken on a journey through your music library without all the hassle of playlists or lots of key pressing, you never experience the same playlists ever or reach the end! Great if you work from home all day! :) *Features* Set and forget... Select your first track and SugarCube will just go on forever (well maybe) SugarCube automatically removes the old items from the playlist, keeping things nice and compact Uses unique MusicIP filters, variety and style settings - Distinct from any other MusicIP settings. SugarCube is kept small and simple, no clutter *Pre-requisites* You ideally require MusicIP to be configured and running in headless mode. *How to Install It* Just download the rar or zip file and extract to the plugin folder. (Leave SqueezeCentre running for the moment) Check the path and folder structure carefully, as if you extract it in the wrong place then it wont work! Folder e.g.C:\program Files\SqueezeCenter\server\Plugins\SugarCube *Configuration Requirements* Change the CONFIGURATION VARIABLES in the plugin.pm file to suit your installation. DONT forget the cauth variable, very important! Use the following inside your web browser to find your unique cauth ID; http://localhost:9000/status.suffix?p0=stop Save your settings and then shutdown and restart SqueezeCentre to load the plugin *Limitations* First things first, this is a first release, so it may not work at all with your setup, I have tested as best I can against two different setups, but you know how it is! It was written against Versions 1.8 of MusicIP and SqueezeCentre 7.01 running on Windows XP. To disable SugarCube you need to untick the plugin and restart SqueezeCentre, if this is to much hassle then you should wait until a later version :) *CONFIGURATION VARIABLES* - THESE ARE INSIDE THE PLUGIN.PM FILE, Edit it with a suitable text editor. For example; Notepad++ MusicIP Headless mode, hostname and port name, default is 10002 $mymip = "http://localhost:10002/"; MusicIP Style and Variety settings, these are unique to SugarCube $mystyle = "&style=40"; # MIP Style - RANGE IS 0..200 (DEFAULT 20) $myvariety = "&variety=3"; # MIP Variety - RANGE IS 0...9 (DEFAULT 0) Use MusicIP filter, if you dont use filters then leave this line alone. Otherwise change it to the name of your filter, note if the spelling is incorrect the plugin will not work at all, its possible its case sensitive?! $myfilter = "&filter="; CAUTH Authentication String, unique to each setup, see above to find your cauth string. If you dont change this to your unique string then nothing will work! $cauth = "cauth=45f0a370fe9f8c224d0edcda257f5ffb"; SqueezeCentre hostname and port number, default is 9000 $myss = "http://localhost:9000/"; *How to Use It* There is no interface, just select a single track to play and play it! Once the track starts playing you will see another track queued up. Sit back and enjoy your collection. Note to go back to normal playing mode, you need to disable the plugin (See to-do list) Thats all for now! Constructive feedback always welcome. *History* Release V1.0 - First Public Release - 25th June 2008, released into the wild to gauge response on future development. *To Do List* Web interface? - Not sure seems a lot of work for stuff that wont change after initial setup Enable/Disable - Something like hold the play button and select SugarCube and then off it goes, otherwise always be disabled Play tracking - Keep track of played tracks to reduce duplicates Add Schedule filters - ie. multiple filters such as more dance during day and start sending more chilled tracks in evening Internal Random function, although random?? It seems to select line items 1 or 2 more frequently than one would expect :s Multi user filters - So multiple users can have different filter and selection criteria, so if your wife is at home she isnt treated to drum and bass but gets nice Kate Bush tracks ;) +-------------------------------------------------------------------+ |Filename: SugarCubev1.0.zip | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=5331| +-------------------------------------------------------------------+ -- cparker www.spicefly.com - Visit for an enhanced Interface for MusicIP and tips and tricks for integrating with Slimserver! ------------------------------------------------------------------------ cparker's Profile: http://forums.slimdevices.com/member.php?userid=2083 View this thread: http://forums.slimdevices.com/showthread.php?t=49226 _______________________________________________ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins