Skip to content
On this page

WebNowPlaying Plugin

WebNowPlaying Plugin is a Macro Deck 2 plugin that gets media information from web browsers.

Getting Started

TIP

If you want to follow a video instead of reading this wall of text and images, you can follow this YouTube video.

INFO

This tutorial assumes that Macro Deck is already installed.

Macro Deck side

  1. Open Macro Deck
  2. Click Extensions > Online, click WebNowPlaying Plugin, and click Install.
  3. Click Done.

Browser-side

  1. Open the browser of your choice (well, it is already opened isn't it?)
  2. Install WebNowPlaying Redux.
    Chrome Web Store
    Firefox Add-ons
    Source
  3. Click the newly-installed extension, and tick the box where it says "Macro Deck Adapter".

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

Actions

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