companion-module-requests icon indicating copy to clipboard operation
companion-module-requests copied to clipboard

Windows Classic Media Player?

Open kvgp opened this issue 3 years ago • 2 comments

I've discovered that the generic http module in current released Companion doesn't allow arbitrary POST strings. The ancient Windows Media Player classic is still available as 64-bit and runs like a top. It may be a good alternative sometimes to VLC - but for Windows only. Each player instance embeds a web server that accepts a huge list of commands sent as a simple http POST numeric code to the IP and defined port. They're all in a dropdown menu in the media player's page. Chris Titus Tech has a very cool admin Powershell script for pruning a new install of Windows (at own risk etc) and it includes a one-click install button for the Windows Media Player classic. Seems to me fairly simple to implement for Companion devs just POST each numeric code per button. Is this a good module idea?

kvgp avatar Aug 21 '21 00:08 kvgp

I've realized what I'm actually referring to is MPC-HC, Media Player Classic Home Cinema (64-bit) which is almost identical to the old Windows Media Player, but freeware with a bunch more features. Pretty nifty if you haven't seen it before. But again, Windows-only. (Digitally signed) https://mpc-hc.org

kvgp avatar Aug 22 '21 19:08 kvgp

This already exists: https://github.com/bitfocus/companion-module-media-player-classic

It could use an update to request the status.html from the player and allow those to be used as variables and indicate current playback status, volume levels, current playhead time and total duration.

Wiethoofd avatar Sep 14 '22 15:09 Wiethoofd