Michael Herger;272544 Wrote: 
> 
> 
> >> Michael, is there some way these plugin currently can be launched
> for
> >> another album/artist than the one currently playing ?
> 
> No.
> 
> >> Or do I assume correct that this would these need additional
> patching
> 
> Yes.
> 
> >> If it does, how would you prefer to handle this, would you like the
> >> patch and apply it to your version or should I publish my own
> version
> 
> I'd prefer a patch. "Branching" is no good thing unless necessary.
> Thanks!
> 
> Michael
Michael, I've made a first try to patch Biography for the above
mentioned functionality, the patch is attached. I've tried it in my own
setup and it seems to work, but I'm not sure I've completely understand
how the caching works so it might be some bugs in that part.

The functionality provided with the patch is that urls like this work:
http://localhost:9000/plugins/Biography/index.html?artist=45
http://localhost:9000/plugins/Biography/index.html?track=168

It is also possible to send the same parameter when entering the
"Plugins::Biography::Plugin" mode on the SB3/Transporter display.

And finally you can specify the same on the CLI commands as:
biography get artist:45
biography get track:168

Besides the patch I also provide a zip file. The zip file contains a
mixer file for the Custom Browse plugin. If you unzip this in the
"Custom Browse/Mixes" directory you will get a mixer icon beside each
artist that launches the Biography plugin for the selected artist (the
icon is currently a temporary BR icon). The mixer file also provides a
Biography link in the "Custom Browse/Artists" menu on the
SB3/Transporter when you hold down play for a few seconds to launch a
mixer.

It would be possible to provide the same mixer functionality directly
in the SqueezeCenter menus. If this is something you feel would be
interesting, let me know and I'll make a patch for that too.

Let me know how you would like to proceed with this, if you don't want
to merge the functionality provided in the patch into your versions I
like to know.


+-------------------------------------------------------------------+
|Filename: biographyartist.zip                                      |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=4477|
+-------------------------------------------------------------------+

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

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

Reply via email to