Comment by 🐙 norayr

Re: "streaming radio on spartan"
In: s/Geminispace

i just already have oggs for all my sets.

btw if anyone knows how to make android/ios to not cut the stream when the screen goes blank, share tips.

in sailfish i found an option in Settings -> Display -> do not blank when charging.

🐙 norayr [OP]

Dec 17 · 2 days ago

4 Later Comments ↓

🐙 norayr [OP] · Dec 17 at 18:57:
— /u/norayr/image/720.png

and with ogg we also have metadata.

🦎 bluesman · Dec 17 at 21:16:

That's great! I just added the metadata as a popup tooltip for the embedded vlc component. I tried messing with it before but none of the streams I bookmarked apparently have metadata. Is it not supported with MP3?

🐙 norayr [OP] · Dec 17 at 22:53:

it should be?

however i had to change the radio server once more. i think i won't change design anymore.

before the streaming server was taking ready ogg files and streaming by also caching headers.

but then apparently if the file ended, the radio player would stop.

now i am using ffmpeg, it constantly encodes wav files to ogg and streams.

there's always one stream, and it pipes wav to ffmpeg, and gets out of ffmpeg and streams.

lagrange can connect to it. and if one track ends lagrange and other players dont notice because they get constant stream.

so everything is correct.

however metadata was taken back then from ogg files, and now i just add stream metadata and it is configurable option.

🦎 bluesman · 11 hours ago:

Since this last update, ffplay in Alhena no longer works for this station. The player starts and I can see from status messages that it's connected and loading bytes from the localhost url. However, it never plays and closes after a few seconds. ffplay still works for other streaming URLs including HashNix Radio on Gemini and my bookmarked HTTP URLs.

External (and embedded) VLC still works so I'm not worried about it. Just an FYI.

Original Post

🌒 s/Geminispace
— spartan://radio.norayr.am

streaming radio on spartan — you can listen to it in lagrange browser. if you press pause, then resume will resume from the place you pressed pause. you need to close and reopen the tab to get the stream from the current place. otherwise you can listen to it via player. i guess via any spartan client that can pipe to a media player. one such a player is here: [https link] spartan radio player

💬 norayr · 34 comments · 5 likes · Dec 15 · 4 days ago