Last active
April 19, 2026 22:06
-
-
Save MikeRich88/dca4bc71f1e9a06de4cae81a415695d1 to your computer and use it in GitHub Desktop.
Dump Shazam library on macOS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # copy and paste the line corresponding to desired output | |
| # stupid security crap in the OS might mean you have to give Terminal permissions or something, I dunno. | |
| # Output format: "Artist - Title" | |
| # Sorted by artist, remove duplicates. | |
| sqlite3 ~/Library/Application\ Support/com.apple.shazamd/ShazamLibrary.sqlite "select ZSUBTITLE, ZTITLE from ZSHTRACKMO;" | sed 's_|_ - _g' | sort | uniq | |
| # Oldest to newest (I think). Retain duplicates. | |
| sqlite3 ~/Library/Application\ Support/com.apple.shazamd/ShazamLibrary.sqlite "select ZSUBTITLE, ZTITLE from ZSHTRACKMO;" | sed 's_|_ - _g' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment