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


Additions | 37 comments | Create New Account
Click here to return to the 'Additions' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Additions
Authored by: vonleigh on Nov 21, '02 07:11:20PM

Great post, thanks for sharing. I would however like to adjust this tip to my own habbits and am wondering if someone can provide some applescript guidance.

Basically, instead of shuffling through my whole playlist (something that isnt' random at all) I create a smart playlist where playcount == 0. This way when I quit iTunes I don't loose my 'place' in the shuffle, and it becomes alot more random.

Problem is if you skip to the next song, the song stays there in your list. If you skip forward too many times (say nineteen, since I load 20 songs randomly) I get to the end of the smart playlist.

Is there a way so that I could script it to smoething like, make X length of song, set time to X-1? That way it'd jump to the very end of the song, and skip to the next, effectively skipping the song, increasing it's play count, and getting it out of the playlist.

I tried looking at the iTunes dictionary and didn't see anythign appropriate.



thanks,
v



[ Reply to This | # ]
Play count updating...
Authored by: jermudgeon on May 14, '03 05:01:40PM

This fits the bill, I think: allows you to skip the current track while increasing the playlist.

tell application "iTunes"
	set totalTime to duration of current track
	set player position to (totalTime - 1)
end tell

Stick this line in before "set player position..." to disable the track, too.

	set current track's enabled to false

I keep these scripts (skip forward, skip forward + increase count, skip+increase+disable) assigned to one key, with modifiers. Saves my bacon.



[ Reply to This | # ]