1

I've found an interesting gem to discover from an unknown file which music it comes from returning the title and the artist : https://github.com/tenderlove/earworm

The fact is the last commit was 4 years ago and the website used is no longer working...

Does anyone know of another solution for this problem ? Another gem or another snippet ?

Kara
  • 6,115
  • 16
  • 50
  • 57
Cydonia7
  • 3,744
  • 2
  • 23
  • 32

1 Answers1

1

You could use taglib. I used it in my mylastfavourite script and it works really good and fast.

It reads mp3 tags. If you search for a gem which takes the stuff from a webservive, you could try rbrainz for example. I never worked with this before.

Kara
  • 6,115
  • 16
  • 50
  • 57
musicmatze
  • 4,124
  • 7
  • 33
  • 48