rembo10 / headphones

Automatic music downloader for SABnzbd
GNU General Public License v3.0
3.42k stars 601 forks source link

New Feature Suggestion - SoundHound / Shazam integration #774

Open larray opened 12 years ago

larray commented 12 years ago

Allow for tag extraction from SoundHound/Shazam to populate Artist/Album/Song information for new Headphones requests.

The best solution I could propose for this is from the SoundHound or Shazam app itself, either email or tweet the tag. Allow Headphones to either scrape an email for Soundhound and Shazam "shares" or do the same for a twitter account. Grab the data off of the post and import into Headphones. Possibly to guard against spammed posts (if somone got a flood of tweets), put the scrapes into a holding area to be accepted or tossed.

This would allow one to build their database of liked artists in Headphones while away from home in a more automated fashion.

Thanks!

jayce996 commented 12 years ago

Hi, this would be very interesting!

avgjoe commented 11 years ago

glad i searched, i would love for this to be implemented in some fashion. tag my song with shazam and have it download artist information ready for me when im back at my computer.

rembo10 commented 11 years ago

Ah yeah, forgot about this til the bump. Will look back into it On Jan 3, 2013 3:54 PM, "avgjoe" notifications@github.com wrote:

glad i searched, i would love for this to be implemented in some fashion. tag my song with shazam and have it download artist information ready for me when im back at my computer.

— Reply to this email directly or view it on GitHubhttps://github.com/rembo10/headphones/issues/774#issuecomment-11837810.

brijam commented 9 years ago

+1 to this request. It would be great if I could just save emails to a local directory and Headphones would scan that local directory from time to time and add them to my wanted list, similar to how NZBGet scans a directory for NZBs and processes them.

This bash script will parse a directory and for all files saved with the .eml extension it will echo the album name - seems to work on SoundHound emails, at least those saved with Thunderbird: for file in *.eml; do awk "/I just found this song using SoundHound./,/Open in/ { print }" "$file" | grep -v "Open in" | tail -n 1; done

Changing the tail -n 1 to tail -n 3 gives the artist, which I imagine would help a lot :)

HTH and thanks for a great app!

basilfx commented 9 years ago

@brijam It's not on the road map, but maybe you can write it when #1988 is finished.

djhibee commented 9 years ago

+1 to this request ! Instead of looking at a mail directory, it could use directly MyShazam webapi where you can download the history of all your tags in html format. It could be a good ocassion for me to start learning python :)

jayce996 commented 9 years ago

still interested in this :-)

brijam commented 9 years ago

Me too but it looks like #1988 got pulled off the roadmap. :(