MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    MMM-HideModulesOnSpotify

    Scheduled Pinned Locked Moved Utilities
    1 Posts 1 Posters 8 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • htilburgsH Offline
      htilburgs
      last edited by

      MMM-HideModulesOnSpotify

      This is a small Magic Mirror² module that can hide one ore more modules when MMM-OnSpotify starts.

      The problem I had that my MagicMirror was full and the MMM-OnSpotify came over the other modules.
      With this module, I have created a way to automatically hide a module when MMM-OnSpotify opens. When MMM-OnSpotify closes again, the original module is reloaded in its place.

      This module loads automatically, but is not visible on the MagicMirror.
      The only thing you can see is in the logs that the module has been loaded.

      Installation

      Clone this repository in your modules folder, and install dependencies:

      cd ~/MagicMirror/modules
      git clone https://github.com/htilburgs/MMM-HideModulesOnSpotify.git
      cd MMM-HideModulesOnSpotify
      npm install
      

      Update

      When you need to update this module:

      cd ~/MagicMirror/modules/MMM-HideModulesOnSpotify
      git pull
      npm install
      

      Configuration

      Go to the MagicMirror/config directory and edit the config.js file.
      Add the module to your modules array in your config.js.

      {
            module: "MMM-HideModulesOnSpotify",
            config: {
                  modulesToHide: ["clock","calendar"]
            }
      },
      

      Configuration Options

      Option Description
      modulesToHide Array of module(s) you like to hide. Fill in the exact module Name as in your config.js

      Versions

      v1.0.0 (12-03-2026): Initial version


      License

      The MIT License (MIT)

      Copyright © 2026 Harm Tilburgs

      Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

      The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

      The software is provided “as is”, without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and noninfringement. In no event shall the authors or copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the software or the use or other dealings in the software.

      (still trying to learn JS, but not afraid to ask and AI is my best friend) ☺

      1 Reply Last reply Reply Quote 0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      • 1 / 1
      • First post
        Last post
      Enjoying MagicMirror? Please consider a donation!
      MagicMirror created by Michael Teeuw.
      Forum managed by Sam, technical setup by Karsten.
      This forum is using NodeBB as its core | Contributors
      Contact | Privacy Policy