bronston wrote: 
> 
> Working on a fairly simple plugin. Basically I need to communicate some
> info to an external device when the track changes.
> The problem is I can't figure out how to access the info I need. How do
> I get the metadata and other track details from the server?
> 

First of all, such a question should go to the "Developers" sub forum.
Second, your description is rather vague.
Basically, subscribe to the notification

Code:
--------------------
    
  Slim::Control::Request::subscribe(\&newSongPlaylistCallback, [['playlist'], 
['newsong']]);
  
--------------------

obtain a track object, which will contain methods to access the metadata
(see Slim::Schema::Track for details)



[ extGUI4LMS - an alternative web interface: 'forum'
(http://forums.slimdevices.com/showthread.php?98186-Announce-Alternative-Web-Interface-(beta))
/ 'homepage' (http://code.google.com/p/extgui4lms/) ]
------------------------------------------------------------------------
Roland0's Profile: http://forums.slimdevices.com/member.php?userid=56808
View this thread: http://forums.slimdevices.com/showthread.php?t=99969

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

Reply via email to