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

Album art resolution #118

Open
MKa71 opened this issue Sep 17, 2022 · 5 comments
Open

Album art resolution #118

MKa71 opened this issue Sep 17, 2022 · 5 comments

Comments

@MKa71
Copy link

MKa71 commented Sep 17, 2022

Hi,

Just bought my first Raspberry today and successfully installed MMM-NowPlayingOnSpotify. Very cool piece of software, thank you!

One suggestion though: I noticed that the cover art pictures shown are not using the full resolution. If I open the same track on Spotify on my Android mobile phone or on an Apple iPad, the cover art photos shown are much sharper.

My plan is to create a framed cover art display on my living room wall and the only thing displayed is the album cover, kind of like you would have the 12" LP of the artist played shown. As the display will be quite large, a better resolution cover art photo would be nice...

@Fabrizz
Copy link

Fabrizz commented Jan 9, 2023

Hey ik that this is old, but you can select the image resolution from the api response (Spotify response contains 3 sizes). In the node helper there is a function that enables you to do that: (chack the node_helper.js file)

getImgURL(images) {
    let filtered = images.filter((image) => {
      return image.width >= 240 && image.width <= 350; // Change here. I dont know the available resolutions, I think that the highest is 500*500
    });

@MKa71
Copy link
Author

MKa71 commented Jan 10, 2023

Thanks @Fabrizz ! I was actually able to figure this out by myself a few days after posting by looking at the code. It just took some time as I haven't coded anything in about 20 years or so. :)

Now it looks the way I wanted.

20221018_184650

@diditje64
Copy link

Just wanna say that this is a super nice idea.

@MKa71
Copy link
Author

MKa71 commented Aug 12, 2023

Thanks, it turned out quite like what I expected. It is built out of a 24" 16:9 TFT, which was teared down to make it thinner (ie. removing the lcd-panel and its control board from the plastic frame). Then building a wooden frame around it.

image

@Fabrizz
Copy link

Fabrizz commented Aug 13, 2023

Thanks, it turned out quite like what I expected. It is built out of a 24" 16:9 TFT, which was teared down to make it thinner (ie. removing the lcd-panel and its control board from the plastic frame). Then building a wooden frame around it.

image

That nice, I have something similar! Maybe some (subtle) rgb lighting at the back? Using color data from the album

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

No branches or pull requests

3 participants