James;239334 Wrote: 
> Hi Erland - great work on the Jive support! 
> 
> However I have noticed that the playlists registered from
> iTunesPartyShuffle don't show up in Jive. 
> 
> I added some more logging to your plugin and this seems to be due to a
> bug in SlimServer - the first call to
> Slim::Utils::PluginManager->enabledPlugins() doesn't return anything (I
> vaguely remember hitting this in SlimScrobbler):
> 
Is this happening when the plugins are loaded at SqueezeCenter startup
or are you adding new plugins when SqueezeCenter is already running ?

Are you saying that two calls to enabledPlugins directly after each
other give different results ? Is there a bug report for this, if not
you should write one.

Or are you doing something in between the enabledPlugins call ?

I had to change one think in this version compared to the previous
versions. In the previous versions Dynamic Playlist checked for
available 3rd party menus the first time the menu was accessed, with
this new version it does it at startup. However, it should do it after
all plugins initPlugin method has been called. I currently do this with
a timer by using Slim::Utils::Scheduler::add_task, but the goal is to
change the SqueezeCenter plugin loading mechanism according to this
feature request:
http://bugs.slimdevices.com/show_bug.cgi?id=5968

If you call enabledPlugins inside the initPlugin it might not return
all plugins since all plugins might not have been loaded when the
initPlugin in the current plugin is called. This is the reason why I
use Slim::Utils::Scheduler::add_task.

Another thing that could cause the issue you are seeing is that the
Jive menu is currently only refreshed at specific times. As far as I've
seen it happens:
- When the Jive remote is booted
- When you turn off and on a player with the Jive remote

So if you had already booted the Jive remote and was connected to a
player and just restarted SqueezeCenter, I'm not sure this will refresh
the jive menu.


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

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

Reply via email to