Ok I ran a test and all the playcounts are not being imported into MM when I use the sync and recover because it is skipping the tracks that are not a part of the playlist
Yes, that is what I would expect. My normal practice is to have a sync-playlist which is a superset of all tracks in MM and so playing ANY track in AND playlist gets picked up. It's effective and surprisingly quick). It does have the effect that the normal add/delete playlists work very quickly as no files move around, they are just added/removed from playlists.
markstuartwalker wrote:I have not played with iPlaylist but perhaps that could be integrated into my script. It would needs know the date range of interest to work. How is this derived? I also expect that internally it parses the entire iTunes DB anyhow so is no more efficient than my approach.
I am off to try the above idea now.
markstuartwalker wrote:One thing did occur to me as I can traverse iTunes playlists easily enough. Within iTunes folders are the same as playlists and they 'contain' the superset of the tracks from their contained playlists (the same effect as when they are selected in the browser tree. Thus, I can get the implied scope of synchronised playlists by simply traversing the <MM> folder. Ace!
<Group|Name:Exports>\Export to iTunes|Filter:<ISRC> <> ''\<Isrc|Trim:13|Substring start:15>
markstuartwalker wrote:2.16 ready
nynaevelan wrote:I think my tests might have been failing because the link was lost between the versions?? I am not sure but once I cleared the playlists from iTunes and started over, they are working now. I am just guessing so...
markstuartwalker wrote:I do get an intermittent "Track cannot be updated" from iTunes when assigning the initial playedcount figure. I think this is a race within iTunes where the freshly added track is still being worked upon when I try to update the playedcount immeadiately afterwards. I've put an error traps around it to stop it killing the system for now.
nynaevelan wrote:I haven't received this error, usually the only error I run into is when the track which is playing in MM is trying to be synced to iTunes, which of course causes the sync to fail. Is there any way to skip past the playing track? Or maybe pause the playing track until it syncs? But other than that it is an awesome script and I am now ready to install it on my son's computer to show him how to use it. Great work and thanks for all your patience with me.
Users browsing this forum: nohitter151 and 26 guests