MMM-Spotify
MMM-Spotify copied to clipboard
The Device selection button doesn't work
How do I make this work? All the other buttons, pause, next, random... work except the one to choose a device. Is there a way to automatically play the music on the raspberry or choose the device without having to use my phone? I can't find MMM-Modal for the device popup selection either. I already have raspotify and everything works well when I select the raspberry device on my phone.
Have a look at the default device configuration:
defaultDevice: null, // optional - if you want the "SPOTIFY_PLAY" notification to also work from "idle" status, you have to define your default device here (by name)
MMM-Modal
is another plugin which you need to install separately.
I am having trouble getting any of the buttons, pause, next, random to work.
Could you explain the process to enable?
@albaayna @skuethe
Also is it possible to have previous, next, random, to be used while the module is on the bottom bar?
I am having trouble getting any of the buttons, pause, next, random to work.
Could you explain the process to enable?
Possible configuration options are documented in the readme: https://github.com/skuethe/MMM-Spotify#detail--default
... to be used while the module is on the bottom bar
Sorry, the "miniBar" style is not supported any more. Also noted in the README: https://github.com/skuethe/MMM-Spotify/blob/master/README.md?plain=1#L274
Thank you for the reply. I’m curious how to, for example implement this.sendNotification("SPOTIFY_PAUSE")
Into the module to enable a pause feature. Is this being added to the config file, or elsewhere? I apologize for the noob question
Nick On Wed, Jul 27, 2022 at 4:57 PM skuethe @.***> wrote:
I am having trouble getting any of the buttons, pause, next, random to work.
Could you explain the process to enable?
Possible configuration options are documented in the readme: https://github.com/skuethe/MMM-Spotify#detail--default
... to be used while the module is on the bottom bar
Sorry, the "miniBar" style is not supported any more. Also noted in the README: https://github.com/skuethe/MMM-Spotify/blob/master/README.md?plain=1#L274
— Reply to this email directly, view it on GitHub https://github.com/skuethe/MMM-Spotify/issues/190#issuecomment-1197359733, or unsubscribe https://github.com/notifications/unsubscribe-auth/AV4YKP7BQ4CW5FKB2XWL3JTVWGPETANCNFSM53FFF6CA . You are receiving this because you commented.Message ID: @.***>
Thank you for the reply. I’m curious how to, for example implement this.sendNotification("SPOTIFY_PAUSE")
Into the module to enable a pause feature. Is this being added to the config file, or elsewhere? I apologize for the noob question
Nick
Notifications are an internal method of MM² to communicate between different modules. See documentation for more details: https://docs.magicmirror.builders/development/notifications.html
In case of this module, the notifications enable you to control MMM-Spotify from OTHER modules. An example:
- configure third-party module to send notifications on specific triggers
- execute trigger f.e. for "SPOTIFY_PAUSE"
- notification is send
- MMM-Spotify fetches notification and pauses the playback
For the first step, you would need to look around for possible third-party modules which can provide that. I can remember f.e. that there is / was a module to control your MM from your mobile device. https://github.com/MichMich/MagicMirror/wiki/3rd-Party-Modules
Closing due to inactivity. Feel free to re-open if something else is unclear.