logoalt Hacker News

rendaw09/30/20243 repliesview on HN

How do you get the data out of the Shazam app (?)


Replies

m00009/30/2024

If you link it to your Spotify, Shazam will add anything it recognizes in a special playlist.

show 1 reply
tspike09/30/2024

He commented elsewhere that he uses a Python library that wraps a private API

Aachen09/30/2024

I was wondering the same. Also curious about those battery stats:

> Battery currently at 80% (a decrease of 6% in the last 4 hours).

That's gotta be an OLED screen at lowest brightness or, even more likely, a fully black overlay app since the mic is constantly active and either locally processing it into Shazam and streaming fingerprints or (less cpu, more network) streaming it to a server which then does the processing and queries Shazam. As a comparison, my work phone is off+idle basically the whole time and takes twice as long to charge at a higher wattage as my personal phone (i.e.: large battery by my standards), and that uses nearly a percent per hour while the screen is off with maybe 20 messages and one email coming in across 4 hours.

I'm amazed by the idea, that no rate limit has kicked in on Shazam, that they didn't connect it to a power source, and that the battery is lasting so long!

Edit: missed that it is being powered by a solar panel

show 2 replies