freyacodes / archived-bot

A Discord music bot serving music in over 3 million discord servers
https://fredboat.com/docs
MIT License
488 stars 207 forks source link

[F.Req] ogg/m3u/pls provided on IceCast2/Shoutcast playing on Fredboat, I'd like to announce when metadata(music title). #51

Open knight-ryu12 opened 7 years ago

knight-ryu12 commented 7 years ago

Read title.

freyacodes commented 7 years ago

For consistency I'm thinking that this could work with the announce config option (currently in testing), though I would need a way to access this metadata. Maybe the data is provided as part of the stream.

@Sedmelluq does Lavaplayer have a way of handling this?

knight-ryu12 commented 7 years ago

maybe accessing and read status.xsl or something....

freyacodes commented 7 years ago

I'm not familiar with the APIs. If you have any info about it please let me know.

On 14 January 2017 at 01:45, Chromaryu notifications@github.com wrote:

maybe accessing and read status.xsl or something....

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Frederikam/FredBoat/issues/51#issuecomment-272585938, or mute the thread https://github.com/notifications/unsubscribe-auth/ACdoWXR0ZAPF8pdYvquEST2Ccyd-jiFDks5rSBqMgaJpZM4Limqk .

knight-ryu12 commented 7 years ago

@Frederikam http://icecast.org/docs/icecast-2.4.1/server-stats.html might be this

freyacodes commented 7 years ago

Looks good, though I'm not sure if anyone is currently using icecast streams. If you want you could implement this into the bot yourself. You can override the title of a track with AudioTrackContext, and write a custom embed with the NowplayingCommand.

knight-ryu12 commented 7 years ago

appently GensoukyouRadio uses the SHOUTcast (refer from Curl header output) So if we manage this... welp

freyacodes commented 7 years ago

The most reliable data from that site is from https://gensokyoradio.net/xml/

knight-ryu12 commented 7 years ago

Yea. And SHOUTcast thingie is not accurate if that are roundrobined