Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Update 'Last Played Date' for skipped iTunes tracks' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Update 'Last Played Date' for skipped iTunes tracks
Authored by: GammaRay Rob on May 20, '04 02:33:47PM
You can set the play count (at least in the latest version of iTunes!). I had to modify the submitted script a little so that my smart playlist would continue playing after the current track dropped off the list:


tell application "iTunes"
	get played count of current track
	set myCount to result
	set played count of current track to myCount + 1
	set played date of current track to current date
	next track
	play
end tell

Rob

---
-- This line no sig

[ Reply to This | # ]

Update 'Last Played Date' for skipped iTunes tracks
Authored by: jakacmar on May 20, '04 09:38:47PM
I have it on good authority that Doug of "Doug's AppleScripts for iTunes" is planning on adding a section to the site for just this kind of little script that is handy when assigned a keyboard shortcut. I'd definitely recommend that you send him this script to be added to the new section since it's a site specifially dedicated to these kinds of things and people looking for this type of thing would probably be more likely to look there than here. I'd do it myself but I don't want to steal other's work ;-)

[ Reply to This | # ]
Update 'Last Played Date' for skipped iTunes tracks
Authored by: jaguarcy on May 21, '04 10:50:05AM

Yes, but I have it linked to a button on my phone. This means that I'm listening to my special playlist (or party shuffle playlist, same thing) so I WANT the song to finish playing so that it's removed from the playlist, not just updating the count.

And before anyone says that updating the play count removes the song (because I really don't know since I haven't tested it), there are several times when I press a button by accident. I.e. I might not want to have the song removed from my playlist because it's played... So this gives me 3 seconds to either jump to the beginning or to the next song without updating the play count :)



[ Reply to This | # ]
Update 'Last Played Date' for skipped iTunes tracks
Authored by: dave_x on May 21, '04 12:04:51PM
I use iMote for skipping songs and found you can still use this script code with it. Show the package contents of iMote then nav to Contents>MacOS>Resources and open the goToNextTrack.scpt file in a text editor. Paste the above code and save. Thanks for this script!

[ Reply to This | # ]