Tunecat: Simple Internet Radio

(codeberg.org)

67 points | by croottree 2 days ago ago

11 comments

  • Modified3019 a day ago ago

    For those that want a personal “radio station” that’s a bit more extensive: https://github.com/perminder-klair/subwave

    • Hugsbox a day ago ago

      Okay this project is really cool, I need to try it out now

  • snvzz 2 days ago ago

    I do not know what I am looking at.

    It's some sort of server. It seems to serve opus files, but what is the protocol it serves with?

    And it also seems to support connecting to irc servers? I am very confused.

    The README.md could definitely use some work.

    • tclancy a day ago ago

      Based on the header “Why another one” I would guess what it does is scratch an itch for the author.

      Showing my age, but I still get hopeful things with this particular suffix make use of the CueCat somehow. https://en.wikipedia.org/wiki/CueCat

    • troad 2 days ago ago

      It appears to take a folder of .opus music files and serve some kind of Opus live stream, and it is controllable via IRC (as in, you can tell it to queue or skip songs over IRC). Or at least that's my best guess based on the linked demo instance.

      It would certainly benefit from a single line atop the README that clearly stated what this actually does. I certainly don't think of IRC when I think of Internet radio.

      • _bernd a day ago ago

        > I certainly don't think of IRC when I think of Internet radio.

        Or you are certainly to young :) Voting songs and the like on shoutcast/icecast stations via irc was not only common for gamers if my memory serves me well from the earliest 2000ths

        • troad 20 hours ago ago

          Haha, I'm not too young for that, but I think that was a fairly fringe use case even then. Most people were never on IRC.

          In the late 90s / early 2000s Internet radio would probably have made me think of RealPlayer, and shortly thereafter actual radio stations' own websites with embedded streams. Then I'd think of aggregators like the original iTunes, and now TuneIn.

    • fuzzfactor a day ago ago

      From another worthwhile comment:

      >a personal “radio station” that’s a bit more extensive: https://github.com/perminder-klair/subwave

      I do less than any of this, and far less extensively to boot ;)

      Looks like the address, https://tunecat.runxiyu.org/stream.opus, is the exact location of a continuous media stream alone. Emanating from a dedicated media server, this is not the exact address of a website with an HTML server for you to receive hypertext from.

      At the main address, https://tunecat.runxiyu.org/, that is where there is a regular web server which delivers HTML to your browser. It is this very basic HTML page that has links to the above "live" stream source and plays the audio stream for you when you simply hit the play button on the displayed default browser-player's "play" button. The browser's little built-in player carries on while the rest of the plain webpage text stays displayed on the page.

      Whether that expected browser's-default HTML player appears in your particular browser or not, alternatively the MPV line following immediately underneath invokes the open-source mpv player to receive the same live stream from that first address in a different way. Click on that link and it opens a new page with the same stream playing in a player that is not built into the browser, and there is no text on this page either, only the browser's "external player" itself appears this way.

      Now using Windows Media Player or something like Celluloid in Linux, you can directly open the address of the stream itself without any browser at all. Start your local player app then open a "Location" rather than a file, where you then enter the address of the stream instead of a filename.

      IRC is just icing on the cake so it can take requests. I stop way shorter than that, I've been very happy when I reached "all music all the time, no ads, no talk" and stopped there. With Windows 98, since then I've been partying nonstop like it's 1999 ever since ;)

      This also fulfills that nicely.

    • markvdb 2 days ago ago

      [dead]

  • dontfeedthemac a day ago ago

    That's really cool!

  • madanparas 2 days ago ago

    [dead]