I got a little closer:
The line Slim::Control::Command::setExecuteCallback() should be
Slim::Control::Request::subscribe(\&commandCallback,
[['playlist'],['newsong']')

After making that change, the if statement that checks the slim command
name can go away since we know that we've been called because of a
newsong event.

I have two issues maybe someone could help me with:
I'm using a deprecated function to get the datasource: 
my $ds  = Slim::Music::Info::getCurrentDataStore();
Can someone instruct me in the correct usage of Slim:Schema to retrieve
the data store?

Also, I don't think I'm retrieving parameters correctly from my
callback function...has the order or number changed with the new beta?
I just need the $client variable filled, but it appears that it is
empty when I try to use it.

Any help will be very much appreciated. Thanks a lot for your help thus
far, Paul.


-- 
jsutula
------------------------------------------------------------------------
jsutula's Profile: http://forums.slimdevices.com/member.php?userid=1009
View this thread: http://forums.slimdevices.com/showthread.php?t=27318

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

Reply via email to