TimM Wrote: 
> An issue I have found though is going the other way, exporting to MM,
> where it returns the following for tracks.
> 
> 2006-03-29 13:45:51.7030 TrackStat::MusicMagic: Failure setting
> PlayCount=2 for
> H:/flac/The%20Ruts/The%20Crack%20&%20Grean%20And%20Bear%20It/21%20-%20Babylon%27s%20Burning%20.flac
> 2006-03-29 13:45:51.7998 TrackStat::MusicMagic: Failure setting
> LastPlayed=1139265686 for
> H:/flac/The%20Ruts/The%20Crack%20&%20Grean%20And%20Bear%20It/21%20-%20Babylon%27s%20Burning%20.flac
> 2006-03-29 13:45:51.8630 TrackStat::MusicMagic: Set PlayCount=2 for
> H:/flac/The%20Seeds/A%20Web%20Of%20Sound/12%20-%20Mr.%20Farmer%20.flac
> 2006-03-29 13:45:
> 
> I've checked and the tracks exist, and the file names have not changed.
> I have also refreshed, and deleted unused data. is there anything else I
> should look for?
> 

Ok, in this log I can see the following:

The export for the last track succeeds:
H:/flac/The%20Seeds/A%20Web%20Of%20Sound/12%20-%20Mr.%20Farmer%20.flac

The export for all the other track fails, however the connection with
MMM succeeds for these but MMM returns an error. Some questions and
ideas for debugging.

1. Does the track that fails really exist in MMM ? TrackStat will only
export tracks that already exists in MMM. You can check this  by opeing
a web broser and goto:
http://localhost:10002/api/getSong?song=XXX

Where you replace XXX with the path from the log, for example:
http://localhost:10002/api/getSong?song=H:/flac/The%20Ruts/The%20Crack%20&%20Grean%20And%20Bear%20It/21%20-%20Babylon%27s%20Burning%20.flac

If it returns an empty page there is something wrong, either the track
does not exist in MMM or the path is incorrect. If you get back
information about the song the problem is something else.


The command that TrackStat uses when exporting a play count is:
http://localhost:10002/api/setPlayCount?song=XXX&count=Y

Where XXX is replaced with the song and Y with the play count, for
example:
http://localhost:10002/api/setPlayCount?song=H:/flac/The%20Ruts/The%20Crack%20&%20Grean%20And%20Bear%20It/21%20-%20Babylon%27s%20Burning%20.flac&count=2

You can try to run this manually by entering this url in a web browser,
if it returns a page with a single digit "1" it succeeds else it fails.


-- 
erland

Erland Isaksson
'My homepage' (http://erland.homeip.net) 'My download page'
(http://erland.homeip.net/download)
------------------------------------------------------------------------
erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=20533

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

Reply via email to