forum

osu!station - The beatmap radio station

posted
Total Posts
61
Topic Starter
nanashiRei
osu!station

The beatmap radio station, that streams beatmaps directly!

You heard right, this radio station extracts songs from beatmaps and streams it. Right now osu!station doesn't offer much more than you being able to listen to the stream, but there are plans for the future of this project.

Planned features:
- Song requests queue
- Song ratings
- Song history
- Beatmap download link on each song
- Pack-Hour, select a beatmap pack and stream all it's maps

You can find the project here
https://radio.yas-online.net

Please be aware this is a work in progress! Problems may happen, you can help by reporting them here.
XPJ38
Nice, I might listen to it occasionally.

Do you happen to offer an mp3 stream by any chance? My mobile phone can't read ogg and m3u streams :( (I would appreciate if you could make it 128 kbps, I have a limited data quota).
- Marco -
Great job, also why not multiple radio by genre? :D
Topic Starter
nanashiRei
XPJ38:

Sadly due to licensing issues i cannot provide mp3 and the bitrate is variable from 64 to 192 kbits, there is no additional encoding going on.

macrostudios:

Thanks. There could maybe be such a thing in future, no promisses thought.
XPJ38

nanashiRei wrote:

XPJ38:

Sadly due to licensing issues i cannot provide mp3 and the bitrate is variable from 64 to 192 kbits, there is no additional encoding going on.
No sweat, I understand.
Topic Starter
nanashiRei
@XPJ38 you can use VLC beta to play the stream :)
- Marco -
When a song ends it jumps to the center of the song for 1 second then it go to the next song [it doesn't happen everytime]Looks like it's resolved

Also * is converted into _

XPJ38

nanashiRei wrote:

@XPJ38 you can use VLC beta to play the stream :)
Not on my 6-year-old phone :lol: It can only read mp3 and aac streams. But as I said, don't worry, I am probably an edge case.
- Marco -
Also on chrome console there is this error:

Error in event handler for extension.onRequest: undefined
Stack trace: undefined
Resource interpreted as Document but transferred with MIME type audio/x-mpegurl: "https://radio.yas-online.net/listen/osustation.m3u".
Topic Starter
nanashiRei
macrostudios how did you produce this error? And what browser/version did you use?
- Marco -

nanashiRei wrote:

macrostudios how did you produce this error? And what browser/version did you use?
I just open the page and it gave those errors. Now there isn't the two errors i said before but there is this:

Uncaught TypeError: undefined is not a function main.js:21(anonymous function) main.js:21m.event.dispatch jquery.min.js:3r.handle

umm...forget that ^ i updated chrome beta (37.0.2062.94 beta-m (64-bit) ) and there aren't errors anymore
Sync
I'm not a radio guy, but...

LZD
nice, saved link :3
Gumpy
Seems like a great idea, but...

- Marco -

Gumpyyy wrote:

Seems like a great idea, but...


(incase it does not load: http://imgur.com/k0jzvF9 )
Correct format is
[IMG]https://imgur-archive.ppy.sh/k0jzvF9.png[/IMG]

taked from http://imgur.com/k0jzvF9?tags
Topic Starter
nanashiRei
I see there is a lot of crashes that i cannot identify, i'll have to debug this case. (It's just doing a random Broken Pipe error every so often.)
neico
I've added a cronjob that checks the service every 5 minutes to restart it in case it crashes, so if it goes down, it'll come up within the next 5 min.

makes the bug less painful until it's resolved~
quaternary
It's playing music just fine if I press play on the html5 music thing, but it says the stream is down and won't tell me the name of the song or anything.

Neat project idea.
neico
That's because of an js error that nanashi needs to fix~
Topic Starter
nanashiRei
I'm waiting for my new MacBook Pro to arrive, once it's here i will do a lot more then just fixing js errors. Promise.
Topic Starter
nanashiRei
Guess what, my MacBook is here and i already fixed the stream. Should be working a little bit better now, still need to find a way to pre-encode stuff. The reason it cuts off sometimes is due to the encoding times.
Denko
a
neico


pretty good timing I say...
Topic Starter
nanashiRei
We found another streaming software that supports mp3. So we are now streaming mp3. Also crashes have been resolved by this new software.

Next up: Port bash script to php and implement a MySQL playlist
DeamonHunter
Nice. It's been working for me quite well. I have been listening off every so often for about 20 minutes a piece. Can't wait for other features. :D

There is one thing that I noticed. If you pause the stream, it will continue playing from when you paused. This causes desyncing with the song name at the top (Especially if you wait several minutes before resuming) and may not be exactly what you want when listening to a radio station. (This is when using the default on the page).
Topic Starter
nanashiRei
I will look into that, might make a hook to stop the player rather then pausing.
Topic Starter
nanashiRei
Ok, the part where i magically wrap everything in php is done. Needs some more testing and then i can start adding requests.
Howl
Listened in the last ~30 minutes to have something to listen while I kill myself with studying before school starts. Seems great. It has a little break sometimes, but usually fixes in 1 ~ 5 seconds.

EDIT: noticed that the stylesheet has a minor issue. On the header image, I feel like it would be fit better if the top-left and top-right border-radius would be set to 0.
Topic Starter
nanashiRei
User counts are rising. Thanks for listening in on this.

I'm currently in the procedure of redesigning the page with pixeldesu to make it display the background of maps aswell. For now it's a static image of good old hatsune miku.

The next planned step is to prototype requests.

If you got any ideas on this, feel free to let me know.
Howl
*opens website


are you kidding or

also, the recent changes are good! ...even if this ... urgh. I would certainly say it's a good 2014-well designed website if it wasn't for that.
Topic Starter
nanashiRei
Thanks, I'm already looking for a bootstrap slider that would work here, sorry for the ugly thing. Altho it works, for now.
pixeldesu

Howl wrote:

also, the recent changes are good! ...even if this ... urgh. I would certainly say it's a good 2014-well designed website if it wasn't for that.
First of all, thanks :P
(designing this all night was worth it, yes~)

The sliders are (if not changed) always OS-dependent, mine looks like this:


...but we are on our way to fix this small designing issue.

small update (added an about block with links and information to the bottom of the page)
Topic Starter
nanashiRei
:D we hit 10 live users for the first time today, keep going!
Topic Starter
nanashiRei
So i found this link, i don't know what happened. Maybe you want to find out?

https://radio.yas-online.net/requests
Howl

nanashiRei wrote:

So i found this link, i don't know what happened. Maybe you want to find out?

https://radio.yas-online.net/requests


[insert reaction pic here]
Topic Starter
nanashiRei
Having fun i see. :)
Kogarou-
When I discovered osu i started to use it to listen to random music.
And now I discover this. well bye osu, I'll never forget those good time with you.
#blamenanashiRei
This is freaking awesome and I love you
Yuzeyun


why is it twice
Topic Starter
nanashiRei
Because in my DB maps are inserted from Beatmap Packs. So this map is in 2 packs total.
Gumpy
Woho it works on my school computer now. Also could I have the BG on the site?
Topic Starter
nanashiRei
You'll have to ask pixeldesu for that, he designs all of this. He is nice so just go ahead and pm him or let me know if i should give him a poke.
wR-Z3RO
Hi,
nice work on this radio.
I just wanted to say that m3u file isn't working for me anymore, also the player doesn't work on Opera Browser.

Thanks ;D
comentarinformal
It is no longer working due to a syntax error.
SyntaxError: Unexpected token }
at Object.parse (native)
at fromJson (https://radio.yas-online.net/js/angular.js:1108:14)
at defaults.defaults.transformResponse (https://radio.yas-online.net/js/angular.js:7992:18)
at https://radio.yas-online.net/js/angular.js:7940:12
at forEach (https://radio.yas-online.net/js/angular.js:331:20)
at transformData (https://radio.yas-online.net/js/angular.js:7939:3)
at transformResponse (https://radio.yas-online.net/js/angular.js:8624:17)
at processQueue (https://radio.yas-online.net/js/angular.js:12222:27)
at https://radio.yas-online.net/js/angular.js:12238:27
at Scope.$eval (https://radio.yas-online.net/js/angular.js:13424:28)
AGRX
bump, just want to know how to fix .m3u to work
LigerZero
can't open in VLC media player...

Your input can't be opened:
VLC is unable to open the MRL 'http://net.web.yas-online.net:8000/osustation'. Check the log for details.

please change from .m3u to .mp3 because i'm copy link mp3 to live streaming euro truck simulator 2
Taufox
Cant open on anything :(
foobar2000 errorcode
Unable to open item for playback (Could not connect to host):
"http://net.web.yas-online.net:8000/osustation"
and on chrome i cant hear anything and when i try to download the m3u file show me this:

please help :cry:
neico
Just fixed the issue with the m3u files failing to connect, this was caused by a leftover from out last server move... whoops

PS: It took so long because no one notified me about that as I rarely ever look into here, since that's what nanashi was doing until now,
but since he passed away I guess that I need to look in here more often now :/
Mennis-san
Omg, just found this gem, thanks a lot gonna listen to it a lot. :)
andy840119
it's very interesting project.
but it';s a little pity that it can not change its background when play next song.
RyuNeko_
the website dont responds to anithing for me :/ impossible to click in any button ... they don't react :/ also when i click on m3u file i get the same error as Craftonic with chrome :/ website not work with firefox either :/
show more
Please sign in to reply.

New reply