Shazam on a new Macbook pro. Where are the songs from old macbook stored??

Hello, i recently moved to another macbook pro , i've been using Shazam on the old macbook that was running OSX Mojave, now the new system is Ventura. I've downloaded again the shazam for Mac but i was wondering how would be possible at least locate my shazams on the old machine, if possible of course to transfer them. Is there a .json , xml file somewhere? In the Mac version unfortunatelly there is no option to sync the songs so if for some reason your old machine is broken you will lose all the songs you shazamed. But in this case, i have access to my old macbook pro. I need somehow to find the file that they are stored, even in text format and then i will manually add them again to the new macbook. Thanks

MacBook Pro 15″, macOS 10.13

Posted on Nov 1, 2023 1:29 PM

Reply
Question marked as Top-ranking reply

Posted on Nov 2, 2023 10:19 AM

After some digging around on the files i manage to locate the database, i am posting here the easy solution with the hope to help others with the same question.

Quit Shazam if it is running.

Locate from your old mac the folder "com.shazam.mac.Shazam" , should be located in ~/Library/Group Containers/XXXXXXXXXXX.group.com.shazam/com.shazam.mac.Shazam

(note that the XXXXXXXXXX is a string that could be different in any installation so locate yours.

Inside the com.shazam.mac.Shazam there are 3 files, copy and replace both 3 files from the old mac to the new mac same folder structure.

Relaunch Shazam and enjoy all your old music (note that it will take some time to pull the album covers etc)


Another nice tip, how to export the database to an easy .csv reading format just to have it as a backup etc :

The main file database is "ShazamDataModel.sqlite" , you can edit this file with a sqlite broswer any app. I would recommend to download the free open source "DB.Browser.for.SQLite" app and open this file there.

Then you click on "browse data" tab on the top , then click on the dropdown and choose "ZSHTAGRESULTMO" table. There is all the information on the tracks you shazamed, click on export to .csv icon and your .csv is ready.

You can go even more further, for example open the .csv in an editor (even Google Sheets online would be ok) and delete all the unnecessary columns on the .csv and keep only the Artist and Song columns.

Sweet!

Similar questions

2 replies
Question marked as Top-ranking reply

Nov 2, 2023 10:19 AM in response to spanakorizo

After some digging around on the files i manage to locate the database, i am posting here the easy solution with the hope to help others with the same question.

Quit Shazam if it is running.

Locate from your old mac the folder "com.shazam.mac.Shazam" , should be located in ~/Library/Group Containers/XXXXXXXXXXX.group.com.shazam/com.shazam.mac.Shazam

(note that the XXXXXXXXXX is a string that could be different in any installation so locate yours.

Inside the com.shazam.mac.Shazam there are 3 files, copy and replace both 3 files from the old mac to the new mac same folder structure.

Relaunch Shazam and enjoy all your old music (note that it will take some time to pull the album covers etc)


Another nice tip, how to export the database to an easy .csv reading format just to have it as a backup etc :

The main file database is "ShazamDataModel.sqlite" , you can edit this file with a sqlite broswer any app. I would recommend to download the free open source "DB.Browser.for.SQLite" app and open this file there.

Then you click on "browse data" tab on the top , then click on the dropdown and choose "ZSHTAGRESULTMO" table. There is all the information on the tracks you shazamed, click on export to .csv icon and your .csv is ready.

You can go even more further, for example open the .csv in an editor (even Google Sheets online would be ok) and delete all the unnecessary columns on the .csv and keep only the Artist and Song columns.

Sweet!

Nov 1, 2023 1:49 PM in response to spanakorizo

I do also have to mention that i have shazam running on an android device connected my library through a gmail account for almost 2 years, everytime i will have to login via the email works great and the songs are there. So i have about 400 songs there in the gmail librady, about 50 on the old macbook (that is synced to nowhere??) and now i am gonna use the new macbook shazam and everything will be out of sync again?. Is there any way, at least manually to locate all my favorite songs that i shazamed so from time to time i can keep a record ?

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Shazam on a new Macbook pro. Where are the songs from old macbook stored??

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.