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

Problems with the config #72

Open
schyan10 opened this issue May 16, 2024 · 8 comments
Open

Problems with the config #72

schyan10 opened this issue May 16, 2024 · 8 comments

Comments

@schyan10
Copy link

schyan10 commented May 16, 2024

Hello everyone, I can install the module and the authentication also works. As soon as I want to adjust the config for my interest, the MM goes into error. How did you customize your Conifig so that you can display it?

Thank you for your support

@Fabrizz
Copy link
Owner

Fabrizz commented May 16, 2024

Can you share your MMM-OnSpotify config?

@Fabrizz
Copy link
Owner

Fabrizz commented May 16, 2024

Remember to add the comma after the default config:

        {
            module: "MMM-OnSpotify",
            position: "bottom_right",
            config: {
                clientID: "x",
                clientSecret: "x",
                accessToken: "x",
                refreshToken: "x-x-x-x-x-x-x", // <--- Add a comma here
                /* Config example */
                experimentalCSSOverridesForMM2: [
			["--color-text-dimmed", "palette_vibrantlight",],
			["--ONSP-OVERRIDES-ICONS-COLOR", "palette_vibrantlight"],
		],
            }
        },

@schyan10
Copy link
Author

Yes, I was able to find the error, but I have no connection to Spotify...

Screenshot 2024-05-17 153009
WhatsApp Bild 2024-05-17 um 15 29 33_023e7286

@Fabrizz
Copy link
Owner

Fabrizz commented May 17, 2024

Can you test removing completely the module and installing this version:

git clone --branch v4.0.0 https://github.com/Fabrizz/MMM-OnSpotify.git

It seems that there is an error on some devices with version 5.0.0, even with clean installs, its very strange as how the api is fetched is not changed

@schyan10
Copy link
Author

I was able to delete the module through research, I have now used your version and used the existing client, clietID, acesstoken and refreshtoken. However, I still have no connection to Spotify...

@Fabrizz
Copy link
Owner

Fabrizz commented May 22, 2024

Thats really strange, is your account premium right?

@schyan10
Copy link
Author

Yes, I have a Premium Family account

@dientuki
Copy link
Contributor

Maybe you are having conflict with another module, disable or remove everything but MMM-OnSpotify and check again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants