Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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


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


I was going to complain that it had a non-duplicate constraint.. but then I realized you could remove from the other end and have a managed pubsub queue, nice.


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


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


They might have a power bank as a buffer for the solar panel. Doesn't really go into detail.


They likely removed the screen entirely


I'd doubt it. Installing an app for a dark screen overlay is so much less work compared to disassembling it and then somehow getting it to boot again and being able to control it to trigger Shazam continuously




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: