WWWinamp v4.1 WCF Client Example (Update for Build 2809)
10 September 2007This is an update to the original WWWinamp WCF Client Example (please read the original post for configuration and help).
This update adds support for the new WWWinampGetStatus() method. This method was added so the WCF could could easily access information on WinAmp and WWWinamp including the current configuration values.
Supported values:
- CommandName
- “CURRENT_SONG”
- CommandValue
- “TITLE” - Returns Title of Current Song
- “NUMBER” - Returns Playlist Number or Current Song
- “BITRATE” - Returns Bitrate of Current Song
- “SAMPLERATE” - Returns Sample Rate of Current Song
- “LENGTH” - Returns Length of Current Song (in Milliseconds)
- “ELAPSED” - Returns Elapsed Time of current Song (in Milliseconds, -1 if Stopped)
- “STATUS” - Returns Playing Status of Current Song (Playing, Paused, Stopped)
- “LIBRARY”
- CommandValue
- “SIZE” - Returns the size of the Library (Number of Files)
- “PLAYLIST”
- CommandValue
- “SIZE” - Returns the size of the Playlist (Number or Files)
- “POSITION” - Returns the current position of WinAmp in the Playlist
- “CONFIG”
- CommandValue
- WWWinamp Config Value Defined in WWWinamp.config (i.e. “WWWinamp.Media.HomeDirectory”)
Please let me know if you encounter any errors while testing this new method!
Cheers!
WWWinamp WCF Client Example for WWWinamp Build 2809 - Download (14k)
Posted in C# Programming, Microsoft .NET 3.0 / WinFX, WWWinamp | Trackback |
del.icio.us |
Top Of Page
No comments yet