Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
mindlessp0tatoe opened this issue Sep 13, 2023 · 4 comments
Closed

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

mindlessp0tatoe opened this issue Sep 13, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@mindlessp0tatoe
Copy link

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:

  • Copy yaml
  • docker-up it (I use portainer)
  • Navigate to url + click auth on spotify, works.
  • Try to auth with other 3, errors above.

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
Copy link
Owner

FoxxMD commented Sep 14, 2023

@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
Copy link
Author

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
Copy link
Owner

FoxxMD commented Sep 14, 2023

@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).

@FoxxMD FoxxMD added the bug Something isn't working label Sep 14, 2023
@mindlessp0tatoe
Copy link
Author

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants