bklaas;293945 Wrote: 
> Pippin and/or Erland- I'm quite interested in the approach you took in
> regards to getting plugins access to iPeng. As Erland is well aware, a
> weakness of the SBC is its ability to tap into the rich SC plugin
> world, particularly Erland's potpourri of fine extenstions. 
> 
> Is there anything you could either share or point me to on that
> subject? This might warrant a separate thread in the Dev forum?
> 
The missing part in the SBC interface is in my opinion the "context
menu" concept described in the following enhancement request:
http://bugs.slimdevices.com/show_bug.cgi?id=6021

The solution for the iPeng skin is similar to this. It is based on a
JSON command implemented by the iPeng plugin that basically looks like
this:
"ipeng commands nowplaying"
or
"ipeng commands toolbar home"

The first command responds with an array of buttons that should be
available on the "Now Playing" page which optionally can take the
track, album or artist of the currently playing track as parameter.
When the user hits a button it issues a JSON command or an URL
associated with the button.

The second command works in similar way but returns toolbar buttons for
a specific context ("home" in the sample command shown above).

As pippin says there is also a registration mechanism where plugins can
register their buttons which they like to show on the Now Playing page
or in the toolbar, pretty much in the same way as plugin registers
browse menus for the SBC interface.

A similar solution for the SBC could be implemented as described in
enhancement request 6021. The SBC already today offers the ability for
a plugin to register completely new menus but the ability to hook into
exiting menus isn't there yet and this is basically what 6021
describes.


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

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

Reply via email to