Code:
--------------------
$client->master->pluginData( metadata => $info );
Slim::Control::Request::notifyFromArray( $client, [ 'newmetadata' ] );
Slim::Control::Request::notifyFromArray( $client, [ 'playlist', 'newsong',
$info->{title} ] );
--------------------
I'm doing the following (in aforementioned DRS plugin) before sending
the newmetadata notification:
$client->playingSong->pluginData( wmaMeta => {
icon => $imageUrl,
cover => $imageUrl,
artist => $info->{artist},
title => $info->{title},
} );
Make this $client->master... if needed (I do this in the beginning).
--
Michael
_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins