macOS Sierra now has new APIs for global playback control for MacBook models with touchbar. Using them lets users control playback position and skip tracks from anywhere (effectively replacing the missing media keys). See GIF: https://cnet4.cbsistatic.com/img/UsolysTQYPgPtMiSWTK-Dc24JGY=/fit-in/370x0/2016/11/22/190aaf99-eda0-4624-9e7e-8f15aad7f088/scrub-itunes-touch-bar.gif
Having that support in Desktop Player would be great.
This should be tracked upstream with my PR's up there.
Umm, not really since you're not supposed to use the NSTouchBar API for that - but the new global multimedia API added in Sierra (similar to the iOS one), where you need to signal to the OS what you're playing and then handle multimedia events back. Essentially replaces the multimedia keys and supports AirPods and whatnot.
See MediaPlayer API: https://developer.apple.com/library/content/releasenotes/MacOSX/WhatsNewInOSX/Articles/macOSSierra10.12.html
The TouchBar APIs listed in the upstream won't work for that :/
Okay, totally didn't know that existed. I'll raise an upstream issue for supporting that new API then :D
FYI I just got this working in Electron and I'll be raising a PR shortly 馃憤

Any news on the touchbar support? The screenshot looks amazing!
Pending an upstream PR https://github.com/electron/electron/pull/8280
Most helpful comment