-- script --
tell application "iTunes"
set played date of (file track id 19201 of library playlist id 10094 of
source id 37) to "2006-12-06 19:22:21"
end tell
-- error --
-1753

On another try, with an attempt to set a rating:
tell application "iTunes"
"et rating of (file track id 15250 of library playlist id 10094 of
source id 37) to "60
end tell
-- error --
-1753

(Yes, the '"et' rating was the output - no idea why. Speculating, is
the rating variable picking up the carriage return in 60, and not
seeing an integer as expected? I don't see any difference in the
code...).

Note that I do not find a file track id matching these in my Library
file, but presume there is something else going on, since it sets the
playcount without difficulty.

When I look at my Library.xml file, it has two play dates: one an
integer, and the other a date:
                        <key>Play Date</key><integer>3184791385</integer>
                        <key>Play Date 
UTC</key><date>2004-12-01T21:16:25Z</date>

Could this be part of the problem?


-- 
gsalton
------------------------------------------------------------------------
gsalton's Profile: http://forums.slimdevices.com/member.php?userid=7598
View this thread: http://forums.slimdevices.com/showthread.php?t=30314

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

Reply via email to