Giter Site home page Giter Site logo

Comments (7)

maxencekyz avatar maxencekyz commented on July 21, 2024 2

Hello Joenas,

So sorry haha
Ok, thanks for the tip, i will do my own research there.

Have a great day mate !
This subject is closed.

from mmm-scrobbler.

PtrBld avatar PtrBld commented on July 21, 2024 1

If I remeber correctly the API returns an array of images. See:
self.songData = {title:a.name,artist:a.artist["#text"],album:a.album["#text"],image:a.image[2]["#text"], playing: nowplaying};

We use a.image[2] atm. You could try to use another image from this array. This would be the only solution in my opinion.

from mmm-scrobbler.

PtrBld avatar PtrBld commented on July 21, 2024

Hi,
if you want to have the module in the middle lane you should first of all change the position to middle_center or something similar (see https://docs.magicmirror.builders/modules/configuration.html) in your config.
Then I would suggest you try to adjust the width of css classes .player and .album-art to be bigger.

Hope this helps.

from mmm-scrobbler.

maxencekyz avatar maxencekyz commented on July 21, 2024

Hello @PtrBld ,
So quick to reply back, thank you so much !!
I tried this already but unfortunately nothing changed.

Here is my custom.css config :

.meta .track-name {
color: #ffffff;
text-align: center;
}
.meta .artist-name {
color: #ffffff;
text-align: center;
}
.meta .album-name {
color: #ffffff;
text-align: center;
}
.player{
width:200px;
}
.album-art{
margin-right:30px;
width:300%;
}

Do you have any custom.css code that works on your side so I can copy/paste and try ?

Thanks for your support,
I love this communityyyy

from mmm-scrobbler.

maxencekyz avatar maxencekyz commented on July 21, 2024

Find the issue !

Go find
img src='"+ this.songData.image +"' width='200'
in the MMM-Scrobbler.js and changed it to

img src='"+ this.songData.image +"' width='450' height='450'

from mmm-scrobbler.

maxencekyz avatar maxencekyz commented on July 21, 2024

Now, there is the last problem. When increased the size of album cover, the quality remains the same. It's awful.
Any idea to solve this ?

Let me show you the picture from LAST.FM :
image

And the picture on Magic Mirror with your module :
image

Any idea to have the best quality ?
Thanks per advance,

PS : My PayPal is ready for anyone who can help me 🥇
@PtrBld @joenas @phrogg @gerardcuadras-zz

from mmm-scrobbler.

joenas avatar joenas commented on July 21, 2024

Now, there is the last problem. When increased the size of album cover, the quality remains the same. It's awful.
Any idea to solve this ?

Hey. You could have a look at Last.FMs API and see if you can get another resolution with query parameters perhaps? Code here: https://github.com/PtrBld/MMM-Scrobbler/blob/master/MMM-Scrobbler.js#L78

Now I'm not a maintainer of this project, just a contributor, so I would appreciate if you could stop tagging me 😄 👍
Good luck!

from mmm-scrobbler.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.