Moode Forum
Can MoOde scrobbles to Listenbrainz? - Printable Version

+- Moode Forum (https://moodeaudio.org/forum)
+-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3)
+--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7)
+--- Thread: Can MoOde scrobbles to Listenbrainz? (/showthread.php?tid=7083)

Pages: 1 2


Can MoOde scrobbles to Listenbrainz? - Calaat - 11-12-2024

I finally setup my Pi, set all the tags, embrace MPD and everything is working great. I'm in love with MoOde and I know it will be a solid and long relationship. 

So, while I was listen my firat album, I was wondering if there are a way to scrobble directly to listenbtainz and avoid the annoying need to enter the album manually.

I have read on the internet that this option existed, but I can find it.

Thx you all for the support.


RE: Can MoOde scrobbles to Listenbrainz? - Tim Curtis - 11-12-2024

There used to be a Last.FM scrobbling feature in moode many years ago but it was dropped in 2020 according to the Release Notes because it was malfunctioning and the Open Source project that implemented it became unmaintained.


Code:
- UPD: Remove MPDAS unmaintained and fail with new Last.FM proocol

I think there are alternative Open Source projects for last.fm that work but there was no developer interest in integrating one of them in moode.

If a dev is interested in looking at at listenbtainz I might be able to help out a bit.


RE: Can MoOde scrobbles to Listenbrainz? - Calaat - 11-12-2024

Ok, so I will please if some dev wants to implement a way to scrobble directly to Listenbrainz. I can do it manually, but it is always better if it is automatically done.

I wish I will be able to do so. I'm sure it must not be complicated
 
Anyways, I will wait until someone make it work.

Thx for the answer, as always.


RE: Can MoOde scrobbles to Listenbrainz? - GioF_71 - 11-14-2024

(11-12-2024, 11:26 PM)Calaat Wrote: Ok, so I will please if some dev wants to implement a way to scrobble directly to Listenbrainz. I can do it manually, but it is always better if it is automatically done.

I wish I will be able to do so. I'm sure it must not be complicated
 
Anyways, I will wait until someone make it work.

Thx for the answer, as always.

You can scrobble to listenbrainz using this application: https://codeberg.org/elomatreb/listenbrainz-mpd
I maintain a docker image for that, see here.


RE: Can MoOde scrobbles to Listenbrainz? - Calaat - 11-14-2024

(11-14-2024, 08:03 AM)GioF_71 Wrote:
(11-12-2024, 11:26 PM)Calaat Wrote: Ok, so I will please if some dev wants to implement a way to scrobble directly to Listenbrainz. I can do it manually, but it is always better if it is automatically done.

I wish I will be able to do so. I'm sure it must not be complicated
 
Anyways, I will wait until someone make it work.

Thx for the answer, as always.

You can scrobble to listenbrainz using this application: https://codeberg.org/elomatreb/listenbrainz-mpd
I maintain a docker image for that, see here.

Hi! this is exactly what i want!! how can i install it? 
I use, also, a server with unraid where i can install the docker with no issue.


RE: Can MoOde scrobbles to Listenbrainz? - GioF_71 - 11-14-2024

Hello, if you want to use docker, first thing to do is to obtain the token, then basically this compose file:


Code:
---
version: '3.3'

services:
  listenbrainz-mpd:
    image: giof71/listenbrainz-mpd
    network_mode: host
    environment:
      - MPD_ADDRESS=localhost:6600
      - LISTENBRAINZ_TOKEN=your-listenbrainz-token
    restart: unless-stopped

should work.
Let me know if you encounter any issue or have further questions. Tune MPD_ADDRESS to the correct host:port. Set the LISTENBRAINZ_TOKEN variable also of course.


RE: Can MoOde scrobbles to Listenbrainz? - Calaat - 11-14-2024

(11-14-2024, 03:32 PM)GioF_71 Wrote: Hello, if you want to use docker, first thing to do is to obtain the token, then basically this compose file:


Code:
---
version: '3.3'

services:
  listenbrainz-mpd:
    image: giof71/listenbrainz-mpd
    network_mode: host
    environment:
      - MPD_ADDRESS=localhost:6600
      - LISTENBRAINZ_TOKEN=your-listenbrainz-token
    restart: unless-stopped

should work.
Let me know if you encounter any issue or have further questions. Tune MPD_ADDRESS to the correct host:port. Set the LISTENBRAINZ_TOKEN variable also of course.

Using your template, in portainer, i have an Invalid GENRE_AS_FOLKSONOMY=[] and the docker does not work.


RE: Can MoOde scrobbles to Listenbrainz? - GioF_71 - 11-14-2024

uhm, yes, try setting it to "no" (without quotes).
Unraid probably sets a value for every variable declared in the Dockerfile. The script checks for the validity of the values, hence the issue. I might correct it and make it usable in unraid after your test.
Unfortunately I never tried the container on Unraid as I don't have one running.


RE: Can MoOde scrobbles to Listenbrainz? - Calaat - 11-14-2024

(11-14-2024, 05:48 PM)GioF_71 Wrote: uhm, yes, try setting it to "no" (without quotes).
Unraid probably sets a value for every variable declared in the Dockerfile. The script checks for the validity of the values, hence the issue. I might correct it and make it usable in unraid after your test.
Unfortunately I never tried the container on Unraid as I don't have one running.

It works.
thx you.
The only thing is it takes 3gb of my NAS ram. But, i assume there are something bad in my setup

I missread
it works, and it is what i want.
thx you


RE: Can MoOde scrobbles to Listenbrainz? - GioF_71 - 11-15-2024

Awesome! Please consider starring the repos if you like the applications and/or the docker image