Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Play The playlist or track in the below variable, paste URI here with double qoutes
- property URI : "spotify:user:meck:playlist:6g6cACKsvXPk7AkdwAH6RF"
- -- Volume for playing the track/playlist: 0-100
- property volume : 100
- -- Repeat the track/playlist: true/false
- property rpt : true
- -- Shuffle the track/playlist: true/false
- property shuffle : false
- -----------------------------------------------------------------------------------
- -- WARNING starting up spotify if its not runing already includes a 3 sec delay
- if application "Spotify" is not running then
- tell application "Spotify"
- launch
- delay 3
- end tell
- end if
- tell application "Spotify"
- pause
- copy rpt to repeating
- copy shuffle to shuffling
- copy volume to sound volume
- play track URI
- end tell
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement