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


Click here to return to the 'Listen to podcasts at 1.5x speed' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Listen to podcasts at 1.5x speed
Authored by: u2mr2os2 on Jan 06, '06 06:39:05PM
Here's a companion script to stop the one playing in Quicktime and resume the one in iTunes right where you've gotten to while listening to it in Quicktime.

tell application "iTunes"
	pause
	set my_track to location of current track
end tell

tell application "QuickTime Player"
	set my_movie to first movie
	set ts to time scale of my_movie
	set my_seconds to (current time of my_movie) / ts
	close my_movie
end tell

tell application "iTunes"
	set player position to my_seconds
	play
end tell
Limitations are that you need to keep the track of interest as the current track in iTunes. So far, this doesn't have error checking to make sure of this. If you finish the podcast in Quicktime, it leaves it at the end, so when you run this script, it will set the play time to the end, which makes it jump back to the beginning and increment the play count in iTunes.

[ Reply to This | # ]
Listen to podcasts at 1.5x speed
Authored by: u2mr2os2 on Jan 06, '06 06:51:55PM

Actually, that "pause" in the first tell should not be there, but it doesn't matter.



[ Reply to This | # ]
Listen to podcasts at 1.5x speed
Authored by: merlyn on Jan 06, '06 11:57:44PM
The whole first tell block can be removed. You need to talk to Quicktime Player to stop it and get the current seconds, then talk to iTunes to set the current track to that. Simple!

[ Reply to This | # ]
Listen to podcasts at 1.5x speed
Authored by: u2mr2os2 on Jan 07, '06 07:24:48PM

Hey, thanks! I don't know why I didn't see that.



[ Reply to This | # ]