PDA

View Full Version : iTunes update plugin 0.6 and iTunes 4.7.1.30 not playingnice..



Richard Grant
2005-01-19, 13:44
Got this on a sample update..

==logTrackToiTunesWin()
********
Found track in iTunes
Marking as played in iTunes
Win32::OLE(0.1702) error 0x80020005: "Type mismatch"
in PROPERTYPUT "playedDate"

The playcount was updated, but the playedDate ran into this.

I changed your perl script like:

#%%$status = $trackHandle->{playedDate} = "$hr:$min:$sec $day-$monthHash{$month}-$year";
$status = $trackHandle->{playedDate} = "$day-$month-$year $hr:$min:$sec ";

And all was good. Thanks for the commented output lines.. they helped.

Running XP SP2. Latest security patches. Active Perl 5.8

Richard