Skip to content

mmuffins/rainmeter-mediamonkey

Repository files navigation

Rainmeter-MediaMonkey

A rainmeter plugin for MediaMonkey. The plugin was designed with compatibility with the official NowPlaying plugin in mind, so most configurations for NowPlaying should be usable with minimal configuration changes.

Usage

Copy MediaMonkey.dll to your \Rainmeter\Plugins directory and create a measure with settings Plugin=MediaMonkey.

Parameters

Settings

  • PlayerName - Reference to the parent of a child measure. Not required for parent measures.
  • PlayerPath - Path to MediaMonkey.exe. If not provided, the plugin will attempt to auto-locate MediaMonkey.
  • PlayerType - Type of the measure that should be returned. See below for valid measures.
  • DisableLeadingZero - Removes the leading zero for the measures Duration and Position (i.e. MM:SS becomes M:SS). The default value is 0.
  • StartupDelay - Delay in millisecond to wait until sending queries to MediaMonkey after it was started. Increase if MediaMonkey crashes right after starting while Rainmeter is running. The default value is 900.

Also see the official Rainmeter manual for further information on the usage of parameters and measures.

Measures

  • Album - Album name of the current song.
  • AlbumArtist - Album Artist name of the current song.
  • Artist - Artist of the current song.
  • Conductor - Conductor of the current song.
  • Composer - Composer of the current song.
  • Cover - Path to the cover of the current song. Images tagged as 'Cover (Front)' get precedence over other artwork.
  • Custom1-10 - Custom 1 - 10 property of the current song.
  • DateAdded - Timestamp of when the current song was added to the library.
  • Disc - Disc number of the current song. This measure should be used as string since the disc number in MediaMonkey can also be a string.
  • Duration - Length of the current song in seconds. If used as string, the format returned is MM:SS.
  • File - File name of the current song.
  • FilePath - Full file path to the current song.
  • FileType - File extension of the current song.
  • FileID - The internal MediaMonkey ID of the current file.
  • Genre - Genre of the current song.
  • Grouping - Grouping of the current song.
  • ISRC - ISRC of the current song.
  • LastPlayedDate - Last played timestamp of the current song.
  • Mood - Mood property of the current song.
  • Number - Track number of the current song. This measure should be used as string since the track number in MediaMonkey can also be a string.
  • Occasion - Occasion property of the current song.
  • OriginalArtist - Original Artist property of the current song.
  • OriginalLyricist - Original Lyricist property of the current song.
  • OriginalTitle - Original Title property of the current song.
  • Position - Playback position of the current in seconds. If used as string, the format returned is MM:SS.
  • Progress - Playback position of the current song as percentage.
  • Publisher - Publisher name of the current song.
  • Quality - Quality property of the current song.
  • Rating - Rating of the current song from 0.0 to 5.0.
  • Repeat - 0 if repeat is off, 1 if on.
  • Shuffle - 0 if shuffle is off, 1 if on.
  • State - 0 if stopped, 1 for playing, 2 for paused.
  • Status - 0 if MediaMonkey is closed, 1 if it is opened.
  • Tempo - Tempo property of the current song.
  • Title - Title of the current song.
  • Volume - Player volume from 0 to 100.
  • Year - Year of the current song.

Bangs

  • Play - Plays the current song.
  • Pause - Pauses the current song.
  • PlayPause - Toggles between Play and Pause.
  • Stop - Stops the current song.
  • Previous - Change to the previous song.
  • Next - Change to the next song.
  • OpenPlayer - Open MediaMonkey.
  • ClosePlayer - Quit MediaMonkey.
  • TogglePlayer - Open MediaMonkey if it is closed, quit if it is running.
  • SetRating - Set the rating of the current song to the given value between 0.0 and 5.0. Mid-ratings (i.e. 1.5, 3.5) are supported.
  • SetPosition - Set the progress of the current song to the given value (e.g. SetPosition 35 to jump to 35%).
  • SetShuffle - 1 for shuffle on, 0 for shuffle off, -1 for toggle shuffle.
  • SetRepeat - 1 for repeat on, 0 for repeat off, -1 for repeat shuffle.
  • SetVolume - Set the volume of the player to the given value, which can either be a absolute value, e.g. SetPosition 35 to jump to 35%; or a relative value, e.g. SetVolume +20 increases the volume by 20%.

Also see the official Rainmeter manual for further information on the usage of bangs.

Example

See the included sample skin.