Skip to content

Instantly share code, notes, and snippets.

@zamboOlino
zamboOlino / autoHijackSpotify.scpt
Last active November 9, 2018 17:15
Now you can get the ALBUM ARTWORK -- set track_artwork_path to update_artwork(track_album, track_artwork, folder_path)
set output_folder to (choose folder with prompt "Please choose an output directory")
set folder_path to POSIX path of output_folder
property file_extension : ".mp3"
-- property file_extension : ".m4a" (* If format is changed to AAC *)
property check_delay : 0.1 (* How often to check for a new track *)
property write_delay : 2 (* How long to wait before updating file name *)
property stop_delay : 1 (* How long to wait before updating final file after playback stops *)