Skip to content

Latest commit

 

History

History
26 lines (24 loc) · 674 Bytes

README.md

File metadata and controls

26 lines (24 loc) · 674 Bytes

WMC-JsonConsoleWrapper

A (very) janky wrapper over the WMC Api.

All this does is spit out json over stdout, giving you the ability to parse and utilize the WMC api in any project with the smallest amount of effort possible.
What I'm talking about

Example (song change):

{
  "Type":"PROPERTY_CHANGE",
  "SessionId":"chrome.exe",
  "Data":{
    "AlbumArtist":"",
    "AlbumTitle":"",
    "AlbumTrackCount":0,
    "Artist":"Eminem",
    "Genres":[],
    "PlaybackType":"Music",
    "Subtitle":"",
    "Thumbnail":" ... base64 string ...",
    "ThumbnailType":"image/jpeg",
    "Title":"Infinite",
    "TrackNumber":0
  }
}