Selbi182 / SpotifyBigPicture

A Java/JavaScript-based fullscreen interface displaying your current music on Spotify in a beautiful little browser page
GNU General Public License v3.0
57 stars 6 forks source link

Invalid redirect URI / Performance issues #11

Closed lukemattle closed 1 year ago

lukemattle commented 1 year ago

Upon setting this up via the instructions, after logging into spotify using the url it provides in terminal, I get this error "INVALID_CLIENT: Invalid redirect URI" I'm running this on a Raspberry Pi 4 with Java 11

Selbi182 commented 1 year ago

Did you set the redirect URI in the Spotify Developer Dashboard? This is what it should look like:

grafik

Be sure to click the green "Add" button before saving. I fell into this trap a couple of times myself.

lukemattle commented 1 year ago

I still get the same thing after adding that. saving it and relauching the .jar image

Selbi182 commented 1 year ago

You wrote the wrong port. It should be 8183, not 8131

Selbi182 commented 1 year ago

More specifically, it should be the port specified in the application.properties file (which is 8183 by default)

lukemattle commented 1 year ago

oops works now! this is amazing by the way, love it (also vertical mode is a very nice touch) I don't know whether this is the place for suggestions but you should add a low refresh rate option (for it to only render at like 1 or 2 FPS to make my CPU hurt a little less)

Selbi182 commented 1 year ago

Glad to help!

To save on resources, you can try disabling transitions. It won't look as pretty, but it's what's causing the biggest CPU spikes

Selbi182 commented 1 year ago

@lukemattle Any luck with the performance?

lukemattle commented 1 year ago

@Selbi182 I still get 50% idle cpu usage on my pi when I have it on but I can just access it from my pc, which is fine. One thing I did notice is that my pi's display is 1600x900, does that mess with the placement of things because things can overlap when on that screen

Selbi182 commented 1 year ago

I don't know what else I can do to reduce CPU usage... Can you do me a favor and check how doing the following things affects the CPU usage?

As for the resolution, 1600x900 is still 16:9, so it shouldn't break anything... Can you send me a screenshot?

Selbi182 commented 1 year ago

A new release is live! https://github.com/Selbi182/SpotifyBigPicture/releases/tag/v1.0

This one has some MASSIVE performance improvements. I'd urge you to give it a try and report back :)

Selbi182 commented 1 year ago

Closed due to silence