A complete list of HTTP functins can be found at The latest version includes UrlDownloadToVar by olfen To enable the HTTP interface, click "View/Options", then in the "Player" menu chose "Web Interface".Ĭheck "Listen on port:", port number is 13579. Use only the number, example the Open File function = MediaPlayerClassicHC(800) Use one of the numbers from the commands below with the MediaPlayerClassicHC(msg)įunction to call commands not included in this library. SendMessage,0x0111,816,ahk_class MediaPlayerClassicW SendMessage,0x0111,923,ahk_class MediaPlayerClassicW SendMessage,0x0111,909,ahk_class MediaPlayerClassicW SendMessage,0x0111,908,ahk_class MediaPlayerClassicW SendMessage,0x0111,907,ahk_class MediaPlayerClassicW SendMessage,0x0111,896,ahk_class MediaPlayerClassicW SendMessage,0x0111,894,ahk_class MediaPlayerClassicW SendMessage,0x0111,895,ahk_class MediaPlayerClassicW SendMessage,0x0111,901,ahk_class MediaPlayerClassicW SendMessage,0x0111,902,ahk_class MediaPlayerClassicW
SendMessage,0x0111,830,ahk_class MediaPlayerClassicW SendMessage,0x0111,890,ahk_class MediaPlayerClassicW SendMessage,0x0111,889,ahk_class MediaPlayerClassicW SendMessage,0x0111,888,ahk_class MediaPlayerClassicW SendMessage,0x0111,887,ahk_class MediaPlayerClassicW SendMessage,0x0111,msg,ahk_class MediaPlayerClassicW For "msg" use a number from the list of commands at the bottom of the page. If being used on a local machine this function responds faster than MPCHTTP Use Send functions to control Media Player Classic Home Cinema A complete list of functions can be found at the bottom of the page.
Media Player Classic Home Cinema Function Library by Specter333 Media Player Classic Functions Libraries Demo Script The HTTP library now uses the host computer's IP and port as a parameter making it usable for controlling MPC over a network.Ī demo script has been added to a later post. In addition to the basic commands I've add a function to use any of the 138 command numbers as a parameter. The Send command responds faster and requires no setup in Media Player Classic. Thanks to XX0, I've now created a "Send" library for MPC. The library is only a small sample of the commands available but any command can be easily added. I like using these functions because unlike hotkeys the player can be controlled when it is not the active window. Media Player Classic Home Cinema Send and HTTP Function LibrariesĪs requested here is the HTTP function library for MPC-HC a very nice media player that can be downloaded from Source Forge.