


nynaevelan wrote:I am getting the following error, it's always on the same track:
mmID = cint(Iter.ValueByName( "ID" ))mmID = clng(Iter.ValueByName( "ID" ))



g.log.message "AddFile " & c.mmSongPathmmSongPath = cstr(Iter.ValueByName( "Label" ))&cstr(Iter.ValueByName( "SongPath" ))mmSongPath = chr( 65+Iter.ValueByName("DriveLetter" )) & cstr(Iter.ValueByName( "SongPath" ))nynaevelan wrote:It's fixed and working now.BTW, is there a way to delete the copied playlist after the sync??
markstuartwalker wrote:Exactly right!
For clarification the initial design of the script was to export from MM into iTunes - mainly to sync the tracks to my iPhone (while the MM functionality was broken). I was later encouraged to expand the script to recover rating and playcounts back to MM and then further make it bidirectional.
The initial export will initialise the ratings and playcounts in iTunes to be the same as the MM values. Subsequent syncronisations equalises the ratings, playcounts and lastplayed date in each direction. The syncronisation is fast - about 6500 tracks in 30 seconds on my system.
The current code is stable and under freeze while I work out its conversion to be a proper MM device. MM devices are usually iPod, iRiver, USB memory sticks. Mine will be an iTunes instance. Watch this space!
Mark
markstuartwalker wrote:Rating and playlists are not stored in the (mp3) files. They are stored in the MM and iTunes databases.
I suggest that you backup both databases before starting and experiment with a few files to build your confidence.
Users browsing this forum: No registered users and 8 guests