Hi guys,
Great to see you here. As you’ve seen in the video, I use some Apple Scripts for controlling Spotify inside of QLab (being controlled through Companion).
If you haven’t seen to video check it here..
To use these scripts you are going to need;
- QLab – ideally with a Pro License (Daily Rental is usually ~$5). It is possible to use Scripts without a License, but they will need remaking each time you close QLAB – which is a pain.
- Spotify downloaded onto your Mac, I haven’t had any success using these with the browser version of Spotify in Chrome, Safari or FireFox. Its a Free App, just click HERE.
- A Spotify Premium Account – cause no-one wants those pesky adverts mid Fundraising Dinner.
Here’s the list of Scripts that I use. Let me know of any others that are good..
Open Spotify
This opens Spotify, while keeping QLab on top…
Play Spotify
Resumes Playing the Paused track, could be dangerous if you were listening to Barbie girl in the car on the way to the venue!
tell application “Spotify”
set sound volume to 100
play
end tell
THEN Click “Compile Script” at the bottom of the screen.
Play Selected Playlist
Plays a selected playlist. I’ve left you my Ultimate Party Classics Playlist in there as a ‘safe’ choice – just change the “spotify:playlist:37i9dQZF1DX0IlCGIUGBsA” to your desired playlist. To add your own playlist in, click on the “…” and go to “share”, and “Copy Spotify URI”. Paste this into the quoted part of the script below.
tell application “Spotify”
set sound volume to 100
set houseTrack to “spotify:playlist:37i9dQZF1DX0IlCGIUGBsA”
play track houseTrack
end tell
THEN Click “Compile Script” at the bottom of the screen.
Fade + Pause Music
This will Fade the Volume of Spotify’s internal Volume, and then Pause the Song that’s playing. When the song is Paused the Internal Volume will reset to 100%.
property tick : 5 — change volume level by this many each loop
property thismany : 0.25 — seconds to wait before making next change to volume
tell application “Spotify”
repeat
set snd to sound volume
if snd is less than or equal to tick then
set sound volume to 0
exit repeat
end if
set sound volume to (snd – tick)
delay thismany
end repeat
pause
set sound volume to 100
end tell
THEN Click “Compile Script” at the bottom of the screen.
Resume on the Next Track / Next Song
Also resets the volume to 100%.
tell application “Spotify”
set sound volume to 100
play (next track)
end tell
THEN Click “Compile Script” at the bottom of the screen.
Quit Spotify
Quits Spotify, and kills any audio playing from it instantly.
tell application “Spotify”
quit
end tell
THEN Click “Compile Script” at the bottom of the screen.
Note that this does not cover licensing of music used in public performance. Though for 98% of my gigs, its sorted out by the client / production house I work for.