FoxxMD / multi-scrobbler

Scrobble plays from multiple sources to multiple clients
https://foxxmd.github.io/multi-scrobbler
MIT License
299 stars 14 forks source link

No source with the name [unnamed-mlj] and type [maloja #97

Closed mindlessp0tatoe closed 9 months ago

mindlessp0tatoe commented 9 months ago

An issue I am running into is that spotify works fine, but maloja, listenbrainz and lastfm are not. When trying to "authenticate", I get the following message:

No source with the name [unnamed-lz] and type [listenbrainz

No source with the name [unnamed-lfm] and type [lastfm

No source with the name [unnamed-mlj] and type [maloja

I am not using any configs etc.

This is purely how I set it up:

Using Maloja v3.1.5, and multi-scrobbler develop branch.

My docker-compose:

version: '3.7'

services:
  multi-scrobbler:
    image: foxxmd/multi-scrobbler:develop
    container_name: multi-scrobbler
    environment:
      - TZ=Cont/TZ
      - SPOTIFY_CLIENT_ID=x
      - SPOTIFY_CLIENT_SECRET=x
      - SPOTIFY_REDIRECT_URI=http://192.168.x.x:9078/callback
      - MALOJA_URL=http://192.168.x.x:9003
      - MALOJA_API_KEY=x
      - LASTFM_API_KEY=x
      - LASTFM_SECRET=x
      - LZ_TOKEN=x-x-x-x-x
      - LZ_USER=syber
      - PUID=1000
      - PGID=1000
    volumes:
      - /home/syber/multiscrobbler/config:/config
    ports:
      - 9078:9078
    restart: unless-stopped
FoxxMD commented 9 months ago

@syberslxt please try using the latest foxxmd/multi-scrobbler:develop docker image.

You will also need to set a redirect URL for lastfm.

You can do it using the env variable found in the config OR you can use a new env BASE_URL to set the default redirect url for both lastfm and spotify like this:

version: '3.7'

services:
  multi-scrobbler:
    image: foxxmd/multi-scrobbler:develop
    container_name: multi-scrobbler
    environment:
      - TZ=Cont/TZ
      - BASE_URL=http://192.168.x.x:9078
      - SPOTIFY_CLIENT_ID=x
      - SPOTIFY_CLIENT_SECRET=x
      - MALOJA_URL=http://192.168.x.x:9003
      - MALOJA_API_KEY=x
      - LASTFM_API_KEY=x
      - LASTFM_SECRET=x
      - LZ_TOKEN=x-x-x-x-x
      - LZ_USER=syber
      - PUID=1000
      - PGID=1000
    volumes:
      - /home/syber/multiscrobbler/config:/config
    ports:
      - 9078:9078
    restart: unless-stopped
mindlessp0tatoe commented 9 months ago

You will also need to set a redirect URL for lastfm.

You are a legend @FoxxMD. I had the wrong url set. it now redirects and I can auth. The only issue I now have is youtube. But I am sure youtube music is not that great to fix (cant get it to read my cookies and stuff). So with that, I am using web scrobbler.

Thank you once again! And thank you for the amazing product!

FoxxMD commented 9 months ago

@syberslxt I was able to authenticate with YT using new credentials on clean install, just now, so I'm sure it can work. You are welcome to open another issue if you want to troubleshoot. (I could not get cookies from firefox to work. Only worked when using chromium/chrome so make sure that's where you are getting them).

mindlessp0tatoe commented 9 months ago

@FoxxMD You actually already helped me :) Thank you for telling me that chrome worked. I am using Brave/Firefox.

Just quickly installed, logged in to youtube and grabbed cookies and it is now running. What a legend! Thank you. <3