WiiLink24 / room-server

A backend for Wii no Ma.
MIT License
31 stars 13 forks source link

Wii No Ma music on web panel #3

Closed ghost closed 3 years ago

ghost commented 4 years ago

@zurgeg This would be a cool feature.

zurgeg commented 4 years ago

@6100m I agree! Maybe a button to play it? I feel like that would get annoying at some point...

ghost commented 4 years ago

Yeah, that would be best :)

ghost commented 4 years ago

@zurgeg Also status.wiilink24.com changed to status.api.wiilink24.com and yuzu.wiilink24.com changed to yuzu.api.wiilink24.com so be sure to let everyone know that in the discord.

ghost commented 4 years ago

Well, I am going to try to write a youtube-dl downloader for the playlist, to get that initially working. Gimme about 20 mins? :)

ghost commented 4 years ago

Oh no.... youtube-dl actually got taken down, this is bad....

ghost commented 4 years ago

Well, at least their main site is still up. You will have to supply their own binary, but yeah, this is crazy this whole thing happened.

ghost commented 4 years ago

Downloader is pretty much done though.

zurgeg commented 4 years ago

Oh no.... youtube-dl actually got taken down, this is bad....

@6100m the heck? It's perfectly legal...

ghost commented 4 years ago

I know right? It is perfectly legal to archive like that, yeah.

ghost commented 4 years ago

@zurgeg Also in the sulu branch, I left you a downloader for the Wii No Ma OST that hooks into youtube-dl.exe (you must provide your own binary of it) :)

ghost commented 4 years ago

I did make it echo some documentation, and also I did vent in my own code (yes, I do that sometimes lol ;p )

ghost commented 3 years ago

Well, now that the youtube-dl mess is out of the way, it's time I actually do something with this. So it's going to be based off of mympd mainly, and luckily there might just be a chance I can hook that C code into zurgeg's engine. I am thinking of trying to find a python alternative if that is not the case. But yes, this is still be worked on, bear with me here everyone. Also, if anyone who reads this has used mympd in the past, please DM me at 6100m#2193 or DM zurgeg or DM spotlight and please tell us about your experience and your knowledge of the software to help us get a feel for it.

spotlightishere commented 3 years ago

I would recommend just using an audio tag if at all. Embedding C within the browser sounds quite complicated.

ghost commented 3 years ago

I agree yeah, I can make a shell script to auto download the OST to cacti, will try to get that done today. 🤞

larsenv commented 3 years ago

What's the point in playing music on a web panel? It isn't something for general use, it can eventually get annoying, and can take up bandwidth

spotlightishere commented 3 years ago

I'm going to close this issue seeing as it's a little overcomplicated for current panel purposes. Perhaps it'll be looked into once more in the future.