WebNowPlaying Plugin for Macro Deck 2

July 31, 2023 ยท View on GitHub

Interfaces WebNowPlaying to Macro Deck 2! Now with WebNowPlaying Redux support!

Supported Extensions

WebNowPlaying Redux (browser extension)

The default and it is recommended to use this. https://github.com/keifufu/WebNowPlaying-Redux

Desktop Media Players [3.1.0+]

WebNowPlaying Plugin supports Native APIs. Enable it on the extension settings.

Spicetify (WNP Redux)

Supported, but depectated.
Macro Deck 2 is not supposed to run on Linux, so...

WNP Companion / Spicetify (Legacy)

It is now depectated and it is no longer available.

Documentation

https://jbcarreon123.github.io/docs/md2/wnpl

Features

ActionDescription
Play/PausePlay/Pauses the current track
NextNext track
PreviousPrevious track
ShuffleToggle shuffle
RepeatToggle repeat

Variables

VariableDescriptionType
wnp_playerShows the current player (e.g. YouTube)String
wnp_is_playingShows when a supported site is playingBoolean
wnp_stateShows the playing state (0 = stopped, 1 = playing, 2 = paused)Integer
wnp_titleShows the title of the current trackString
wnp_artistShows the artist(s) of the current trackString
wnp_albumShows the album of the current trackString
wnp_durationShows the duration of the current trackString
wnp_positionShows the current position of the current trackString
wnp_volumeShows the volume percentageFloat
wnp_repeatShows when the repeat is turned on or offBoolean
wnp_repeatallShows when the repeat is on all tracksBoolean
wnp_repeatoneShows when the repeat is on single track modeBoolean
wnp_shuffleShows when the shuffle is turned on or offBoolean
wnp_position_percentShows the position percentageFloat

This is a plugin for Macro Deck 2, it does NOT function as a standalone app

Third party licenses

This plugin uses some awesome 3rd party libraries: