Well, is there some kind of latency?
Because now, the songs I've played and rated before posting my question
are ok in MM...

Anyway, here's your test results:
Changed a song's rating from 2 to 3, but I still see 2 in MM (re-opened
several times, even tried 'refresh songs')
LOG :

Code:
--------------------
    2007-01-22 00:25:03.8740 TrackStat: Entering baseWebPage
  2007-01-22 00:25:03.8745 TrackStat: Entering getTrackInfo
  2007-01-22 00:25:03.8749 TrackStat: Exiting getTrackInfo
  2007-01-22 00:25:03.8836 TrackStat: Changing song rating to: 60
  2007-01-22 00:25:03.9127 TrackStat::Storage: findTrack(): URL: 
file:///F:/Ma%20Musique/BRASSENS%20-%20MP3/CD%2010/Georges%20Brassens%20-%2023%20-%20Quand%20un%20vicomte.mp3
  2007-01-22 00:25:03.9178 TrackStat::Storage: Store rating
  2007-01-22 00:25:03.9196 TrackStat::Storage: Execute UPDATE track_statistics 
set rating=60 where url = ? or url = ?
  2007-01-22 00:25:03.9362 TrackStat: Calling TrackStat::Plugin
  2007-01-22 00:25:03.9367 TrackStat: Entering setTrackStatRating
  2007-01-22 00:25:04.9968 TrackStat: Calling: 
http://localhost:10002/api/setRating?song=F%3A%2FMa%20Musique%2FBRASSENS%20-%20MP3%2FCD%2010%2FGeorges%20Brassens%20-%2023%20-%20Quand%20un%20vicomte.mp3&rating=3
  2007-01-22 00:25:04.1130 TrackStat: Success setting Music Magic rating
  2007-01-22 00:25:04.1151 TrackStat: Exiting setTrackStatRating
  2007-01-22 00:25:04.1184 TrackStat: Get statistic context for level=1
  2007-01-22 00:25:04.1190 TrackStat: Get statistic context for level=2
  2007-01-22 00:25:04.1194 TrackStat: Exiting baseWebPage
  2007-01-22 00:25:04.1198 TrackStat: Calling webfunction for lastplayed
  ...
--------------------


erland;172757 Wrote: 
> On the MM side the API must be started but besides this it should work.
> The MM GUI doesn't have to be running it also works with the headless
> server version of MM.
Tell me if I'm wrong, but isn't the API always started in headless mode
?


-- 
Stan Pulsar
------------------------------------------------------------------------
Stan Pulsar's Profile: http://forums.slimdevices.com/member.php?userid=6669
View this thread: http://forums.slimdevices.com/showthread.php?t=31936

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

Reply via email to