Below is a list of public methods exposed by MMWI. All of these methods are for controlling the MediaMonkey player. If you're looking for method for getting library data, go here instead.
AlbumAddLast
(Int64)
Adds an entire album to "Now Playing" at the end
ID (Int64) Album database ID
AlbumAddNext
(Int64)
Adds an entire album to "Now Playing" right after currently playing song
ID (Int64) Album database ID
AlbumPlayNow
(Int64)
Clears "Now Playing" and add an entire album to the playlist
ID (Int64) Album database ID
ArtistPlayAllSongsNow
(Int64)
Clears current playlist,adds all songs by artist and starts playback
ID (Int64) Artist database ID
ComposerPlayAllSongsNow
(String)
Clears current playlist, add all songs by composer and starts playback
Composer (String) Composer name
ComputerRestart
Restart the computer right away
ComputerShutdown
Shutdown the host computer right away using "shutdown.exe /s /f /t 1"
ComputerSleepTimer
(Int32, Int32)
This method will initiate a timer. When it runs out the computer will shutdown (by executing "shutdown.exe -s -t x") Calling this method again will cancel the timer.
SleepTimerHours (Int32) Hours to use for sleep timer (default is 0)
SleepTimerMinutes (Int32) Minutes to user for sleep timer (default is 0)
Mute
Mute the player. This takes into account the "Disable Volume Controls" setting
PlaylistAddLast
(Int32)
Adds an entire playlist to "Now Playing" at the end
ID (Int32) Playlist database ID
PlaylistAddNext
(Int32)
Adds an entire playlist to "Now Playing" right after currently playing song
ID (Int32) Playlist database ID
PlaylistPlayNow
(Int32)
Clears "Now Playing" and add an entire playlist to the playlist
ID (Int32) Playlist database ID
PlayPause
Start or stop (toggle) MediaMonkey playback
Progress
(Int32)
Jump to time in song
value (Int32) Song progress in milliseconds
SongAddLast
(Int64)
Adds a song to "Now Playing" at the end
ID (Int64) Song database ID
SongAddNext
(Int64)
Adds a song to "Now Playing" right after currently playing song
ID (Int64) Song database ID
SongAddToPlaylist
(Int64, Int32)
Adds a song to an existing playlist. This does NOT validate if the song already exists in playlist
SongID (Int64) Song database ID
PlaylistID (Int32) Playlist database ID
SongAndRestAddLast
(Int64)
Adds the song plus following songs from same album to "Now Playing" at the end
ID (Int64) Song database ID
SongAndRestAddNext
(Int64)
Adds the song plus following songs from same album to "Now Playing" right after currently playing song
ID (Int64) Song database ID
SongAndRestPlayNow
(Int64)
Adds the song plus following songs from same album to "Now Playing" at the end at starts playing the first song
ID (Int64) Song database ID
SongNext
Skip to next song
SongPlayNow
(Int64)
Start playing the song right away. If the "Now Playing" playlist contains less than 500 song in total, the list in traversed looking for the song. If found the song is played. If not found the song is added to the end of the playlist and then played.
ID (Int64) Song database IDs
SongPrev
Skip to previous song. This takes into account the "MM 3.x Style Previous" setting
SongsAddLast
(Int64[])
Adds a list of songs to "Now Playing" at the end
ID (Int64[]) Song database IDs
SongsAddNext
(Int64[])
Adds a list of songs to "Now Playing" right after currently playing song
ID (Int64[]) Song database IDs
SongSetGenre
(Int64, Int32, Boolean)
Change the Genre of a song. Optionally apply same genre to the entire album song belongs to.
SongID (Int64) Song database ID.
GenreID (Int32) Genre database ID.
ApplyToAlbum (Boolean) Apply genre to all songs in album
SongSetRating
(Int64, Int32)
Change a song Rating.
SongID (Int64) Song databaseID
Rating (Int32) Rating (int range 0-100)
SongsPlayNow
(Int64[])
Replaces all songs in the "Now Playing" playlist with the list of songs passed. Then starts playing the first one.
ID (Int64[]) Song database ID
SystemVolumeDown
Decrease (or try to) the computer volume
SystemVolumeUp
Increase (or try to) the computer volume
ToggleMediaMonkeyAutoDJ
Toggle the AutoDJ feature in MediaMonkey
ToggleMediaMonkeyCrossfade
Toggle the Crossfade feature in MediaMonkey
ToggleMediaMonkeyEqualizer
Toggle the Equalizer feature in MediaMonkey
ToggleMediaMonkeyRepeat
Toggle the Repeat feature in MediaMonkey
ToggleMediaMonkeyShuffle
Toggle the Shuffle feature in MediaMonkey. Note: when MM shuffle is active, MMWI cannot predict the next song (as used in /Data/PlayingSongINfo)
UnMute
Unmute the player. This takes into account the "Disable Volume Controls" setting
Volume
(Int32)
Set volume
value (Int32) Volume percentage (0-100)
VolumeDown
Increase volume as per "Volume Step" setting
VolumeUp
Decrase volume as per "Volume Step" setting
Copyright 2014 - MMWI, MediaMonkey Web Interface by dotnector. | All Rights Reserved