>I assume your iTunes music has been changed to your new music file
>paths?
>
Yes, I rebuilt my iTunes music library, and exported trackstat into it which 
worked.

I then rated some tracks in iTunes and tried to import iTunes into 
SqueezeCenter.

I tried again today - I rated a song 3* in iTunes and then imported iTunes 
stats into SC with TrackStat debug logging enabled.

I searched for the track name; here's the section from the log:


[14:29:52.2803] Plugins::TrackStat::iTunes::Import::normalize_location (673) 
normalized 
file://localhost/M:/Music/Phil's%20Music/Electronica/Astralasia/Away%20With%20The%20Fairies/02%20-%2008%20-%20We'll%20Free%20Bee.mp3
 to 
file:///M:/Music/Phil's%20Music/Electronica/Astralasia/Away%20With%20The%20Fairies/02%20-%2008%20-%20We'll%20Free%20Bee.mp3

[14:29:52.2819] Plugins::TrackStat::iTunes::Import::handleTrack (438) got a 
track named We'll Free Bee location: 
file:///M:/Music/Phil's%20Music/Electronica/Astralasia/Away%20With%20The%20Fairies/02%20-%2008%20-%20We'll%20Free%20Bee.mp3

[14:29:52.2883] Plugins::TrackStat::Storage::findTrack (495) findTrack(): URL: 
file:///M:/Music/Phil%27s%20Music/Electronica/Astralasia/Away%20With%20The%20Fairies/02%20-%2008%20-%20We%27ll%20Free%20Bee.mp3

[14:29:52.2907] Plugins::TrackStat::Storage::mergeTrack (1031) Marking as 
played in storage: 2

[14:29:52.2913] Plugins::TrackStat::Storage::findTrack (495) findTrack(): URL: 
file:///M:/Music/Phil%27s%20Music/Electronica/Astralasia/Away%20With%20The%20Fairies/02%20-%2008%20-%20We%27ll%20Free%20Bee.mp3

[14:29:52.2927] Plugins::TrackStat::Storage::mergeTrack (1081) Store rating: 60


So it looks like it's getting the stats from iTunes, finding the track in SC, 
but the rating isn't being stored/merged into the existing track statistics.  
The track had been played in SC, so there are rows for the url in the database 
tables "track_statistics" and "tracks_persistent", but both have rating=null.  
Maybe it doesn't store the rating unless the row doesn't already exist in SC?
_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/plugins

Reply via email to