bemusic / bmsurge-website

Nonstop Be-Music radio station website.
https://be-music.surge.sh/
4 stars 3 forks source link

Include song information on page title/m3u #2

Closed cha0sbuster closed 5 years ago

cha0sbuster commented 5 years ago

I'm running the .m3u via VLC Music Player, and the one thing that bugs me is that I have to have the site open in the tab in order to see what's playing. Is it possible that the Artist/Title/Event information could be put on the title of the tab and/or broadcasted to the .m3u file so that it shows up in VLC/other internet radio players?

dtinth commented 5 years ago

We do stream the song title to the player. VLC on Android can handle that metadata just fine, however I tested on VLC for macOS, it doesn’t seem to work 😢. The song information is available on many channels:

For browser title, that’s definitely a good idea! Will make it display on the title in a later update.

cha0sbuster commented 5 years ago

Oh! Hmm. Lemme see what other players I have installed will work properly. (I'm specifically looking for player metadata, because I'm a streamer and I wanted to use Surge as background music, so if there's a way to get it working so SMG Now Playing can pick it up, I wanna do that.)

cha0sbuster commented 5 years ago

Update: Foobar2000 works fine with it!

dtinth commented 5 years ago

@cha0sbuster So happy to hear that you’d like to use bmsurge as a background music for your stream!

dtinth commented 5 years ago

An option to display current song on the page title is now available :D

cha0sbuster commented 5 years ago

Could the event be parsed as an album, and the theme as its genre, by any chance? Would help with organization a bit.

dtinth commented 5 years ago

@cha0sbuster Unfortunately the streaming format we use only support Artist and Title. I also took a look at SMG Now Playing chrome extension, but didn’t find a way to integrate with it, since their site list is fixed (hardcoded).

However, if you use OBS, you can use this webpage to display the current song with BrowserSource.

https://bmsurge-music-request.glitch.me/streamer.html

You can customize the colors, font, etc. with custom CSS. Here’s an example configuration:

image
cha0sbuster commented 5 years ago

Oh, that's excellent! Thank you.

On Mon, Sep 23, 2019 at 4:29 PM Thai Pangsakulyanont < notifications@github.com> wrote:

@cha0sbuster https://github.com/cha0sbuster Unfortunately the streaming format we use only support Artist and Title. I also took a look at SMG Now Playing chrome extension, but didn’t find a way to integrate with it, since their site list is fixed (hardcoded).

However, if you use OBS, you can use this webpage to display the current song with BrowserSource.

https://bmsurge-music-request.glitch.me/streamer.html

You can customize the colors, font, etc. with custom CSS. Here’s an example configuration:

[image: image] https://user-images.githubusercontent.com/193136/65460125-706c4c00-de7b-11e9-8033-9eac11ca188c.png

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/bemusic/bmsurge-website/issues/2?email_source=notifications&email_token=AFMCIYM5YX6KCJ5GW5Q3ZFLQLERKBA5CNFSM4IUUVLK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7MFINI#issuecomment-534271029, or mute the thread https://github.com/notifications/unsubscribe-auth/AFMCIYKV7SHC33TGY72LWLDQLERKBANCNFSM4IUUVLKQ .