Michael, the following call used to work:


Code:
--------------------
    
  curl 'http://localhost:9000/jsonrpc.js' --data-binary 
'{"id":1,"method":"slim.request","params":["",["musicartistinfo","lyrics","html:1","title:River
 Lea","artist:Adele"]]}'
  
--------------------


However, I've just updartd to v1.6.3, and this now fails with:


Code:
--------------------
    
  [19-07-27 08:37:55.2175] Slim::Control::Request::execute (1888) Error: While 
trying to run function coderef 
[Plugins::MusicArtistInfo::TrackInfo::getSongLyricsCLI]: [Can't call method 
"artistName" on an undefined value at 
/home/craig/Downloads/logitechmediaserver-7.9.2-1552283404/Cache/InstalledPlugins/Plugins/MusicArtistInfo/TrackInfo.pm
 line 320.
  
--------------------


...sorry, but I forgot to note the version before the upgrade!

Is this an MAI issue, or is Material using the API wrong? I pass
title+artist when the track ID is negative, otherwise I just pass the
track ID.


------------------------------------------------------------------------
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=99537

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to