Giter Club home page Giter Club logo

Comments (1)

RineshRamadhin avatar RineshRamadhin commented on June 20, 2024

Hi,

There is a layout config option available with which you can select a layout option. You can currently pick between the default layout (large album art, with below the track information), and the row layout (album art beside the track information). Please refer to the screenshots at the end of the README for examples.

In addition to this you can use the align config option to align the album art and track information left or right. If you don't pass this value it will calculate it based on where you place the module.

{
  module: "MMM-Lastfm",
  position: "top_left",
  header: "Now listening on Last.fm",
  config: {
    apiKey: "LASTFM_API_KEY",
    username: "LASTFM_USERNAME",
    layout: "row",
    align: "right",
  }
},

Beside these options you can also use the MagicMirror2 user css file to further overwrite the style as you see fit. I'd recommend to use the DevTools inside your browser for help with this.

Finally if you have any wishes for a specific layout please let me know. I'm also currently exploring some other design looks for this module.

from mmm-lastfm.

Related Issues (1)

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.