Answer the question
In order to leave comments, you need to log in
Software kit for creating an Internet radio station
Please tell me, is there a ready-made set of programs for * nix in nature, which would start up without tambourines and be able to quickly create the simplest Internet radio station from a folder with mp3 files?
I want to: specify a folder with mp3, tweak the config and launch a service that will randomly play these files and preferably not load the system too much (I can not convert on the fly, bring the library to one bitrate by cron). Ideally, I would have a web muzzle so that I could do next/skip.
I don't want to: convert to AAC/OGG, etc., search for codecs, compile from source, patch the kernel, not find any dependencies in the standard repository, etc. I don't want Java.
They are not interested in a hosted solution (a project on the intranet, and all sorts of licenses, etc.)
There is no specific OS, the choice is Centos (5/6), Debian.
My skills (rather efforts) are limited to "yum search/install" / "apt-get". As a last resort, I can configure > make > make install. English level.
Preferably with instructions if the set is ambiguous.
I know about icecast, ezstream, Liquidsoap, airtime, J Radio, ARAS, ROSS, VLC. Read articles on Habré.
All this to some extent does not meet the requirements or does not start with my knowledge (for example, the instructions on the Internet are outdated).
Answer the question
In order to leave comments, you need to log in
Actually, here is my script: sbin.ru/radio.zip
It even had two versions, inside both with an example of launch (endless while because sometimes under load my old server could not cope with the process and the connection was torn).
To run, you need icecast, the Shout perl module, and also this sbin.ru/mp3tools-27-11-05.tgz (on x86_64 they can be decently buggy, because it was written in 2003-2005, and I got the first amd64 in 2006 year).
Random on the list was done like this: a random element was selected, thrown out of the list, and the next one was selected at a distance between cur_list_length / 2 and cur_list_length from the current one. This reduced the chances of choosing two songs by the same artist in a row, because it was assumed that the artists in the file were grouped (I had them arranged in directories, and the list was generated using find). I did not intend to implement any smarter algorithm.
icecast+ices?
At one time, I solved this problem with a perl script written on the knee, using the Shout module to access the icecast server. Worked for more than one year, I can search.
It was a case of using liquidsoap - I really liked it, there are examples on the off-site for a quick start.
Even here I wrote 2 articles about streaming, and manuals in general, at least eat booty. It’s scary and incomprehensible - welcome to freelancing, it seems obvious, for example, I take from 300 American rubles for this. Decisions like "Denver" are impudence, because a radio station is not a "folder with music", it is first of all an idea and an idea of how it will be. If you are a music editor, then you should understand this, and the system administrator should not be afraid of assembling from sorts, let alone talking about assembling the kernel. And the requirements are generally incomprehensible, the issue of bitrate conversion looks like streaming will go on a Pentium166. As the author of my streaming solutions, such questions are extremely incomprehensible to me.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question