I'm using iTunesUpdate since several years without any problem, but
since some months I’m losing my ratings in iTunes. It took me some
while to realize that this happen so I don't know which change caused
the problem, but I guess it came with a new version of the iTunes
Update Plugin some months ago.

What should iTunes Update v 2.1.2 write into the file iTunes_hist.txt
when I don't rate a song with the remote? I was used to that it just
wrote the action "played" and a timestamp:

...|played|20070616130753|

However, as I can see it in the iTunes_hist.txt, since some months the
plugin writes after a timestamp also a "0" for all songs that I didn’t
rate:

...|played|20070616130753|0

After running iTunesUpdate.pl the rating in iTunes will be set to
“NULL”, so I lose it. As soon as I remove the “0” in the txt File the
update Script doesn’t reset the rating.

Should there really be a “0” in the log file, even if I don’t rate the
song? And if now, how can I change this?


As a workaround I edited the file iTunesUpdate.pl so the rating won’t
be updated if either no rating is defined or the rating is “0”:
Original (Line 189):    if ($data{rating} ne "" {
Work around       :     if ($data{rating} ne "" and $data{rating} ne 0) {


Another Problem I do have:
The Skip Count and the timestamp for Last Skipped are newer updated in
iTunes, even if the txt file says that the song was skipped:
...|skipped|20070616130753|

Any feedback to solve this problem is welcome

Configuration:
Windows XP
iTunes 7.5
iTunes Update v2.1.2 : 28th September 2007 / Indirect Mode
SlimServer Version: 6.5.4 - 12568 - Windows XP - EN - cp1252
Perl Version: 5.8.8 MSWin32-x86-multi-thread


-- 
Beatgi
------------------------------------------------------------------------
Beatgi's Profile: http://forums.slimdevices.com/member.php?userid=14075
View this thread: http://forums.slimdevices.com/showthread.php?t=40432

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

Reply via email to