Yannzola Wrote:
> Whoops! I forgot to type in "extended".
> Yes... it appears in a similiar format to that quoted above.
> Still doesn't work for me...
> Any more log data I should be looking for?
*Yannzola*, can you try to run the import with the TrackStat attached
in this message, it is the 1.12.2 version but with some more debug
messages.
When running with this version you should in the log get the following
information.
In the beginning of the import, where number of songs should be greater
than 0.
Code:
--------------------
2006-03-23 05:34:19.7866 TrackStat::MusicMagic: music library has changed:
Thu Jan 1 01:00:00 1970
2006-03-23 05:34:19.7875 TrackStat::MusicMagic: Calling:
http://localhost:10002/api/songs?extended
2006-03-23 05:34:19.8185 TrackStat::MusicMagic: Got 41 number of songs
--------------------
For a track which contains rating information, the important row is the
last that tell you the ratings is stored in TrackStat, it is also
important that you don't get any error messages in this sequence or
directly after it.
Code:
--------------------
2006-03-23 05:34:20.9179 TrackStat::MusicMagic: Start handling next track
2006-03-23 05:34:20.9188 TrackStat::MusicMagic: Handling track:
Z:\mp3music_small\The Bodyguard\01 I Will Always Love You.mp3
2006-03-23 05:34:20.9194 TrackStat::MusicMagic: Got: , Rating: 60
2006-03-23 05:34:20.9401 TrackStat::MusicMagic: Checking url:
file:///Z:/mp3music_small/The%20Bodyguard/01%20I%20Will%20Always%20Love%20You.mp3
2006-03-23 05:34:20.9408 TrackStat::MusicMagic: Store Track:
file:///Z:/mp3music_small/The%20Bodyguard/01%20I%20Will%20Always%20Love%20You.mp3
2006-03-23 05:34:20.9512 TrackStat::Storage: findTrack(): URL:
file:///Z:/mp3music_small/The%20Bodyguard/01%20I%20Will%20Always%20Love%20You.mp3
2006-03-23 05:34:20.9606 TrackStat::Storage: findTrack(): URL:
file:///Z:/mp3music_small/The%20Bodyguard/01%20I%20Will%20Always%20Love%20You.mp3
2006-03-23 05:34:20.9624 TrackStat::Storage: Store rating: 60
--------------------
For a track which contains playcount/lastplayed information, the
important row is the last "Marking as played in storage" row, this rows
tells you that the playCount/lastPlayed information has been stored in
TrackStat. It is also important that you don't get any error messages
in this sequence or directly after it.
Code:
--------------------
2006-03-23 05:34:21.1154 TrackStat::MusicMagic: Start handling next track
2006-03-23 05:34:21.1160 TrackStat::MusicMagic: Handling track:
Z:\mp3music_small\Jaci Velasquez - Unspoken\05 The Real Me.mp3
2006-03-23 05:34:21.1165 TrackStat::MusicMagic: Got: , PlayCount: 1,
LastPlayed: 1143002177
2006-03-23 05:34:21.1178 TrackStat::MusicMagic: Checking url:
file:///Z:/mp3music_small/Jaci%20Velasquez%20-%20Unspoken/05%20The%20Real%20Me.mp3
2006-03-23 05:34:21.1184 TrackStat::MusicMagic: Store Track:
file:///Z:/mp3music_small/Jaci%20Velasquez%20-%20Unspoken/05%20The%20Real%20Me.mp3
2006-03-23 05:34:21.1252 TrackStat::Storage: findTrack(): URL:
file:///Z:/mp3music_small/Jaci%20Velasquez%20-%20Unspoken/05%20The%20Real%20Me.mp3
2006-03-23 05:34:21.1277 TrackStat::Storage: Marking as played in storage: 1
2006-03-23 05:34:21.1304 TrackStat::Storage: findTrack(): URL:
file:///Z:/mp3music_small/Jaci%20Velasquez%20-%20Unspoken/05%20The%20Real%20Me.mp3
--------------------
For a track that does not contain rating nor playcount/lastplayed
information, this track will never be imported:
Code:
--------------------
2006-03-23 05:34:21.0630 TrackStat::MusicMagic: Start handling next track
2006-03-23 05:34:21.0638 TrackStat::MusicMagic: Handling track:
Z:\mp3music_small\Celine Dion - The colour of my love\01 The Power Of My
Love.mp3
2006-03-23 05:34:21.0644 TrackStat::MusicMagic: Got:
--------------------
At the end of the import:
Code:
--------------------
2006-03-23 05:34:21.3085 TrackStat::MusicMagic: done Scanning: unlocking and
closing
2006-03-23 05:34:21.3090 TrackStat::MusicMagic: Calling:
http://localhost:10002/api/cacheid
2006-03-23 05:34:21.4502 TrackStat:MusicMagic: Import completed in 2 seconds.
--------------------
Do you see any strange things in your log that differs from mine when
running the TrackStat attached to this message ?
If you don't see anything that differs, how do you know that the
ratings are not imported ?
The ratings should be shown in the TrackStat plugin web interface when
clicking on "Top rated songs", playCounts will be easiest viewed by
selecting "Most played songs".
If you don't see any rows with rating, playcounts and lastplayed
information in the debug log as described above I would appreciate if
you could open a web browser and goto:
http://localhost:10002/api/songs?extended
Then look at a track that should contain rating/playcount information,
for such a track you should have the following rows(the numbers will
differ of course):
rating 3
lastplayed 1143001703
playcount 1
+-------------------------------------------------------------------+
|Filename: TrackStat-1.12.2-withdebug.zip |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=1090|
+-------------------------------------------------------------------+
--
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