losnoco / Cog

Cog - A Free and Open Source Audio Player for macOS 10.13+
https://cog.losno.co
GNU General Public License v2.0
686 stars 45 forks source link

[Cog 2543] Last.FM no longer recognized #298

Open blovell91 opened 2 years ago

blovell91 commented 2 years ago

Describe A clear and concise description of what the issue is.

To Reproduce (delete if not applicable) Steps to reproduce the behavior:

  1. Play media file with Cog app
  2. Open Audioscrobbler app
  3. Play doesn't register in Audioscrobbler app

Expected behavior Track information should display in "Now Playing" panel of Audioscrobbler app when playing in Cog

Screenshots image

**Version information:***

Additional context Thank you for all your hard work on this app!

kode54 commented 2 years ago

Support was removed several versions ago because it stopped working.

kode54 commented 2 years ago

I'll have to implement the API directly.

kode54 commented 2 years ago

The replacement implementation won't require or interact with the official app in any way.

blovell91 commented 2 years ago

Awesome, thank you!!

danieltomasz commented 2 years ago

It will be a great feature!

kode54 commented 1 year ago

I will have to look into this, but I'd have to write my own API implementation from scratch, as the official implementation requires the entirety of Qt, and I'm not shoving Qt into my app.

tungol commented 1 year ago

There's a lot of unofficial implementations, so you shouldn't need to be starting from scratch just to avoid the official (bloated) library. I see an Objective C implementation in the list on their website: https://www.last.fm/api/downloads . Maybe that would be suitable for Cog? Although that looks like a relatively thin library.

When I'm not using Cog, I use MPD, the last.fm implementation for which is https://github.com/MusicPlayerDaemon/mpdscribble (C++, GPL2), so that might be another existing implementation that's useful? It's not organized for use as a library (as far as I can tell, I'm not a C developer and could have missed something), but it's license compatible and could perhaps be adapted for use here.

psoleckimoj commented 9 months ago

Can last.fm support be removed from the list of features?

I've been trying to find a foobar2000 equivalent on the Mac and Cog is it(-ish 😁 ) and saw last.fm support and then couldn't work it out.