Announcement

Collapse
No announcement yet.

New Plug-in: Windows 10 Media Controls

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • New Plug-in: Windows 10 Media Controls

    Hello there!

    This is my very first post in this forum and also my first attempt at writing a Winamp plug-in.

    Recently, I switched to Bluetooth headphones but, to my dismay, I wasn't able to use them to control Winamp. I tried several existing plug-ins, none which worked for me. Therefore, I decided to do my own research.

    Windows 10 introduced a new API called System Media Transport Control (SMTC). This allows the application to announce what it's playing and also to receive the control commands. I've written a simple plug-in that employs this API: http://rgb-xyz.net/winamp/gen_w10mc.zip

    As a result:
    * Windows can display the played track, artist and cover art on the system OSD bar.
    * This gives more robust handling of media keys, because Windows tries to use this API to control the playing application before resorting to legacy WM_APPCOMMAND messages.
    * Out-of-the-box support for Bluetooth AVRCP. Connected BT devices can be used to control the playback. Theoretically, this should work also in the opposite direction: Capable BT speakers should be able to display the information about the played track. Unfortunately, I wasn't able to test this.

    Please let me know if you have some issues or suggestions.

    Enjoy!
    —Miro
    Attached Files

  • #2

    Comment


    • #3
      Link is ded, anyone have a working version?
      I'd love to add Winamp to the Windows media player thingy.

      Comment


      • #4
        Originally Posted by HanZie82 View Post
        Link is ded, anyone have a working version?
        I'd love to add Winamp to the Windows media player thingy.
        Here you go: https://web.archive.org/web/20220430.../gen_w10mc.zip

        Comment

        Working...
        X