36
Masta
7y

Difference n°538592 between developers and regular people:

"Do you listen music at work ? If so what app do you use ?

- (regular people) I don't / I use Spotify/Youtube.

- (me) I usually listen to my personal webradio server (running with icecast+liquidsoap on a little ubuntu DO droplet). Currently has a few funny jingles made by a friend and +3000 tracks (this number grows with time as I listen to new stuff), all crate-digged by myself for myself. Basically the the best radio in the whole world <3"

Comments
  • 8
    I have to do this sometime, im tired of having to manually switch between tracks every time
  • 15
    I must be pretty regular then since I use Spotify 😄
  • 2
    @BindView Give it a try at the occasion, it's not so difficult (even if the liquidsoap documentation is probably the worst documentation in the universe) and it's cool. It gives you that feeling of crafting something by yourself and learning new things :)
  • 5
    @Froot I'm sure if we look for it we can find things that you do more "devly" than me ;)
  • 5
    Youtube radio stations. Fabriclive dnb, synthwave, chill hop. Just found a good easy deep radio called the gentleman.
  • 3
    Thanks, ill jump into it, may i ask where do you fetch music from? Or is it manual? Most of what i listen to is only on yt or soundcloud :/
  • 3
    @BindView I use soulseek to find and download what I want (not very legal but I don't really care about that), and for the radio only mp3 files in 256-320 kbps (actually I stream in 256 for the moment but I'll may want to have a better quality later).
  • 2
    I'll just leave this here https://musicforprogramming.net/ :)
  • 2
    i have my own music, no streaming for unless it's an entire album. i hate how yt/spotify algorithms (and alike) try to push all the time the suggested songs that monetize better killing the discovery of new bands/songs. soundcloud is somewhere in between but can't say i can live on(ly) on that either.
  • 2
    @Masta So if I'm understanding this clearly, you have your own (web) radio station going on a droplet playing own own music and a couple of jingles. That sounds pretty cool. It would also be a pretty cool addition to our very own local artists. Do you have any tutorials on how to do that?
  • 1
    @Masta Mind sharing the link to your station? :3
  • 1
    @monkehparade Unfortunatly I can't remember any tutorial in particular that really helped me. I essentially struggled with Icecast and Liquidsoap documentations, and googled a lot.

    The Icecast part is easy. You can have it running minutes. As a streaming server it will stream your audio source to the web, but to actually build one (with playlists, jingles, direct diffusions and such other cool things), you'll need another application (a "source client" in Icecast jargon). That's where you'll need Liquidsoap. Basically it lets you write a script file with instructions in order to create your playlists, manage your log files, handle input streams, etc. And it's actually the hardest part, as LS documentation is such a pain in the ass.

    (...)
  • 0
    @Masta

    (...)

    But the good new is, hey, all of this runs on linux, as developers we (should) know linux, so we can always find a way to achieve what we need. I mean, I started about a year ago with a much more complicated LS script than my actual. Over time, I delegated a lot to cron files an shell/php scripts. Because I have more control on things that way, and because it's often simpler anyway.

    So my advice at this point is the following: give it a try, work on it for an evening of your free time, and you'll see it's sometimes frustrating but not so complex.

    I'll may consider to write such a tutorial myself one day. In the meantime, if you have some questions please ask and I'll try to help you as best as I can :)
  • 0
    @monkehparade

    And sorry but, as much as I would love to share the url, for the moment I prefer not to, since I don't pay for a diffusion licence. That's actually really affordable here in France (80€/year: https://clients.sacem.fr/autorisati...) so I will definitely do this in the future, just to make sure that my little webradio is legal and that I can share it without worrying. Actually the radio is intended to be on a community website (I will not say "social network", fuck) which I work on as a side project. So I wait until that project is ready to open to engage myself with the radio etc. In the meantime, sorry but it's only for me :)
  • 0
    Oh, and if Liquidsoap is really too painfull for you (which I can perfectly understand), you'll may want to try Libretime (fork from Airtime). Basically it's like a frontend for Liquisoap, with a web admin platform.

    I haven't tested it so far, since I wanted to do things on the lowest level possible in order to really learn new stuff (and not just using a UI). I managed to achieve what I wanted to do that way, and I'm happy with it.

    But for more complex configurations than mine maybe you'll want to try Libretime.
  • 0
    There's also a few webradio servers that are written in node, available on github, if someone wants to try new things. I didn't test any of those.
  • 0
    @Masta Bonus part: with ffmpeg you can use your icecast stream as audio input, merge it with images/videos of your choice and then push your "radio-in-video" stream directly live on social video platforms like Facebook live or Twitch.

    (I made it work on Facebook, it streamed about 5 hours before they automatically censor the stream because of music rights. If anyone knows how to contact them to discuss this... I'm really interested!)
  • 0
    @Froot Imposter! Begone!
  • 1
    @Root sowwy. I'll show myself out ☚ī¸
  • 1
    Using "Headset App" (https://headsetapp.co) here. So basically YouTube. Is all I need
Add Comment