keifufu / WebNowPlaying

WebNowPlaying browser extension. Provides support for browser-based players
MIT License
85 stars 10 forks source link

Add Feishin Remote Support #38

Closed AshleyDeo closed 2 months ago

AshleyDeo commented 5 months ago

Added support for Feishin Remote Control Server. Feishin is desktop client to play music from jellyfin or navidrome server. Remote control server allows other devices to control the desktop app. Tested with rainmeter and obs from edge and chrome. Working

Not working

keifufu commented 5 months ago

These class names are likely randomly generated when they build their app. Please find other selectors that are unlikely to change after updates.

AshleyDeo commented 5 months ago

I updated the selectors

keifufu commented 5 months ago

This looks better, you can also make use of navigator.mediaSession for artwork and title, artist, etc. since feishin seems to implement it

AshleyDeo commented 5 months ago

I tried navigator.mediaSession but it seems like it doesnt work at the moment. I get metadata: null and playbackState: 'none'. I cant test the web version of feishin since my server is not https and i only use the windows desktop version. It looks like there is a pull request to fix it but the current version of feishin has mediaSession for the remote server broken.

keifufu commented 5 months ago

You use the desktop version? How does that work with this extension?

AshleyDeo commented 5 months ago

i just have the remote server running in a tab. i use monstercat rainmeter plugin