Skip to content

Instantly share code, notes, and snippets.

View himenlinamarbric's full-sized avatar

himenlinamarbric

View GitHub Profile
-- Requires a loopback audio device, try
-- - https://rogueamoeba.com/loopback/
-- - https://github.com/ExistentialAudio/BlackHole
-- Needs https://github.com/wez/atomicparsley
property output_folder : "/Users/USER/Music/rec"
property atomicparsley_path : "/opt/homebrew/bin/atomicparsley"
property file_extension : ".m4a"
on format_filename(track_artist, track_album, track_name, track_number)
@himenlinamarbric
himenlinamarbric / spotifyHijack.scpt
Last active September 20, 2022 18:58
Audio Hijack Pro & Spotify -- No Polling
-- Usage
-- 1. Edit the settings (see below). This step is NECESSARY the first time you use it!
-- 2. Run this script (this should open Audio Hijack Pro and Spotify)
--
-- NOTE: the script assumes that each track is played entirely. You CANNOT skip tracks in Spotify.
-- If you do so the script will get out of sync and the resulting files contain partial or multiple songs.
-- You can abort a recordig session by stopping this script and ending (manually) the recording
-- in Audio Hijack Pro.
--
-- You need to have "atomicparsley" installed on your system. You can install the application with