Data

Below is a list of public methods exposed by MMWI.
All of these methods are for pulling data from the MediaMonkey library.
If you're looking for method for controlling MediaMonkey, go here instead.

 

AlbumArt

(Int64, Boolean)
Gets flat album art image. When using album id the primary album art of the first song on album is used.

AlbumID (Int64)
The Album database ID

ReturnImage (Boolean)
Use for "preloading" client side without actually sending the image data back. It's for triggering the server side image processing only. Optional (default true)

AlbumArtBySong

(Int64)
Gets flat album art image. When using album id the primary album art of the first song on album is used.

SongID (Int64)
The Song database ID

AlbumsByGenre

(Int32, Int32)
Gets Albums by Genre.

GenreID (Int32)
The Genre database ID

SkipCount (Int32)
Skip count - means "start at result number x". Optional (default 0)

AreYouMmwi

Helper method for determing correct ip/port number set at startup

ArtistAlbums

(Int64)
Gets a list of all albums by Artist

id (Int64)
The Artist database ID

ArtistSongs

(Int64)
Gets a list of all songs by Artist

id (Int64)
The Artist database ID

ComposerAlbums

(String)
Get a list of all albums by Composer name

id (String)
Composer name

ComposerSongs

(String)
Get a list of all songs by Composer name

id (String)
Composer name

GenreNames

Get a list of string of all genre names in the MediaMonkey library

Genres

Gets a list of all Genres in the library

LoggedIn

Gets a boolean value indicating if user is logged in

MmwiVersion

Gets the current MMWI version as a string representation of a System.Version

PlayerAlbumArt

Album art for the player screen. Always returns art for current song.

PlayingSongInfo

Get info about the currently active song in MediaMonkey. It doesn't have to actually be playing to get the info.

Playlists

Get a list of all Playlists in the MediaMonkey library

Search

(String, String)
Search the MediaMonkey library

SearchBy (String)
Values accepted: album, artist, albumArtist, title, playlist

Phrase (String)
The term/search phrase to look for

SearchAdvancedSong

(Int32[], Int32[], Int32[], Int32, Int32, Int32, Int32, Int32, Int32, String)
Method performing Advanced Search queries

Artists (Int32[])
Any Artist IDs to include in search. Optional (default null)

Albums (Int32[])
Any Album IDs to include in search. Optional (default null)

Genres (Int32[])
Any Genre IDs to include in search. Optional (default null)

RatingFrom (Int32)
The rating from. Optional (default 0)

RatingTo (Int32)
The rating to. Optional (default 100)

YearFrom (Int32)
The year from. Optional (default 0)

YearTo (Int32)
The year to. Optional (default Int32.MaxValue)

PlayCountFrom (Int32)
The play count from. Optional (default -1)

PlayCountTo (Int32)
The play count to. Optional (default Int32.MaxValue)

SearchPhrase (String)
Wildcard search phrase. Optional (default null)

SearchAlbum

(String)
Performs wildcard search against the MediaMonkey library for Albums

ArtistName (String)


SearchAlbumsByArtists

(String[], String)
Performs search against the MediaMonkey library for Albums by any of the artists passed. Optional album title search phrase. Primary purpose: client player search

ArtistName (String[])
String array of artists to find albums for

AlbumTitle (String)
String for wildcard album title search

SearchAlbumTitle

(String)
Performs wildcard search against the MediaMonkey library for Albums

ArtistName (String)


SearchArtist

(String)
Performs wildcard search against the MediaMonkey library for Artists

ArtistName (String)


SearchArtistName

(String)
Performs wildcard search against the MediaMonkey library for Artists

ArtistName (String)


SearchComposer

(String)
Performs wildcard search against the MediaMonkey library for Composer names

ArtistName (String)


SearchGenre

(String)
Performs wildcard search against the MediaMonkey library for Genres

Genre (String)
Genre name or part of it

SearchSongClientPlayer

(String[], String[], String)
Search method intended for Client Player

ArtistName (String[])
String array of artist names to search for

AlbumTitle (String[])
String array of album titles to search for

SearchPhrase (String)
Search phrase for song title

Song

(Int64)
Gets a NowPlayingSong instances

ID (Int64)
The song's database ID

SongGetCollection

(Int64[])
Gets a list of songs

SongIDs (Int64[])
Array of song database IDs to get

SongGetSingle

(Int64)
Gets a MMWISong instance by song ID

SongID (Int64)
The song's database ID

SongsByGenre

(Int32, Int32)
Gets Songs by Genre.

GenreID (Int32)
The Genre database ID

SkipCount (Int32)
Skip count - means "start at result number x". Optional (default 0)

SongStream

(Int64)
Returns HttpResponseMessage containing song binary data

SongID (Int64)
The streaming song's database ID

Translate

(String)
Not used...

Key (String)


Years

Gets all distinct years from the MediaMonkey library