sn3p / shazam-tags Goto Github PK
View Code? Open in Web Editor NEWList saved tags from Shazam macOS app
License: MIT License
List saved tags from Shazam macOS app
License: MIT License
When it tries to print a song where the artist name is RÜFÜS
/ u'R\xdcF\xdcS'
, it gives this error
Traceback (most recent call last):
File "/Users/derwent/.pyenv/versions/2.7.15/lib/python2.7/pdb.py", line 1314, in main
pdb._runscript(mainpyfile)
File "/Users/derwent/.pyenv/versions/2.7.15/lib/python2.7/pdb.py", line 1233, in _runscript
self.run(statement)
File "/Users/derwent/.pyenv/versions/2.7.15/lib/python2.7/bdb.py", line 400, in run
exec cmd in globals, locals
File "<string>", line 1, in <module>
File "shazam-tags.py", line 3, in <module>
import os
UnicodeEncodeError: 'ascii' codec can't encode character u'\xdc' in position 1: ordinal not in range(128)
Uncaught exception. Entering post mortem debugging
I think sqlite is expecting all data to be encoded in utf-8
, but since this string is encoded in latin-1
, it needs to be re-encoded
Hey there, I found that the database no longer lives at ~/Library/Containers/com.shazam.mac.Shazam/Data/Documents/ShazamDataModel.sqlite
. I found it at /Users/derwent/Library/Group Containers/4GWDBCF5A4.group.com.shazam/com.shazam.mac.Shazam/ShazamDataModel.sqlite
instead.
I'm using version 2.10.0
Confirmed I was able to load the file from /private/var/mobile/Containers/Shared/AppGroup/7C08F740-CC20-4501-B67C-B9AD17456131/shazam/ShazamDataModel.sqlite
and get the tracks out.
Thank you!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.