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


Click here to return to the 'Script to preview the next song while DJing with iTunes' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Script to preview the next song while DJing with iTunes
Authored by: PopularEthics on Jul 10, '04 08:05:15PM
OK, the above hints are all great, just a little time consuming. DJs have to make quick decisions ;)

Here's a simple script I wrote which simply opens the selected tracks in Quicktime. As per the above hints, the script allows powerbook DJ's to preview upcoming over their headphones without interrupting the floor music. Here's a recap:

1) You will need to purchase a second audio output. For instance:
  • a second sound card (for powermacs)
  • a griffin iMic or other usb sound card
  • a logitech usb headset
  • an airport express

2) set Quicktime to output to headphones and iTunes to output to speaker using Rogue Amoeba's Detour (http://www.rogueamoeba.com/detour/download.php).
OR
with iTunes 4.6, connect an airport express to your loudspeaker system and set iTunes to play to it.

3) Paste this script in applescript editor, and save it to your home/library/iTunes/scripts folder

4) Use this script to open selected files in Quicktime, which will now play in your headset while iTunes continues to play over the speakers!


tell application "iTunes"
	if selection is not {} then
		with timeout of 60 seconds
			repeat with eachTrack in selection
				if eachTrack's class is file track then
					set filePath to (get eachTrack's location)
					tell application "QuickTime Player"
						activate
						open filePath
					end tell
				end if --skip if incorrect type of track
			end repeat
		end timeout
	end if
end tell
Party on peeps!

[ Reply to This | # ]
Preview the next song while DJing with iTunes
Authored by: brianpod on Oct 20, '04 05:24:14PM

Thanks to Cedalex & PopularEthics! Both are very clever solutions to something I've been trying to figure out for awhile -- which is have iTunes play the music in Party Shuffle mode, but be able to preview songs in Headphones to add to the list. I let iTunes handle the crossfades...although it doesn't do a great job, it works, (does anyone else find iTunes crossfading wierd?)



[ Reply to This | # ]