jeffvli / feishin

A modern self-hosted music player.
https://feishin.vercel.app
GNU General Public License v3.0
2.46k stars 103 forks source link

MacOS Control Center for Web player #549

Open northamerican opened 6 months ago

northamerican commented 6 months ago

Expected Behavior

As described in https://github.com/jeffvli/feishin/issues/204, the currently playing song should appear in the control center on the mac so the system understand media is playing from Feishin. Without this, controlling the media from a bluetooth device like ear pods does not work, even though keyboard media keys work.

Current Behavior

Control the media, like playing or pausing from bluetooth headset does not control Feishin.

Steps to Reproduce

  1. Play media in Feishin

  2. Observe the media playing in Feishin does not appear in the ▶️ status menu bar item or in the Control Center.

  3. Playing or pausing from the bluetooth audio device does not control media in Feishin.

Your Environment

Explosion-Scratch commented 6 months ago

I'm working on it on my branch https://github.com/explosion-scratch/feishin/tree/mac-control-center

It currently only works in the web version of the app (using hardcoded data here):

image