Skip to content

New features and a couple of bugfixes#17

Open
josedpedroso wants to merge 14 commits into
bobboau:masterfrom
josedpedroso:master
Open

New features and a couple of bugfixes#17
josedpedroso wants to merge 14 commits into
bobboau:masterfrom
josedpedroso:master

Conversation

@josedpedroso

Copy link
Copy Markdown
Contributor
  • I never got to make an actual css skin for Bragi MPD. Instead I decided to make a bunch of settings to customize its colors in a simple way, with hue, saturation, and other css filters.
  • Setting mediaMetadata allows track info to be displayed by, eg, bluetooth players.

josedpedroso and others added 14 commits June 17, 2018 18:14
More sanitization of config parameter.
Fixed page title when idle.
Volume icons now show mute status using mute css class.
mute css class applies a red circle border to the icons.
…converted to arraybuffer by mpd.js before being sent.

Recent versions of websockify don't have the --auto-pong option; removed it from start_bragi.
Pausing stream from a notification now pauses MPD too. Doesn't work 100% in firefox mobile because the event is deferred until the tab is in foreground.
Color settings restored later during init to avoid accessing local storage too soon.
Encoder for data to be sent over websocket now explicitly uses utf-8, as rschroll suggested.
This is for Firefox mobile, which doesn't send the MediaMetadata info to bluetooth receivers, only the page title.
Set audio element title, which may be used by some browsers and OSes for media notifications.
Set empty mediaMetadata when not streaming audio.
Workaround for Firefox not updating media notification.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant