📜 ⬆️ ⬇️

Another console radio

cmdradio


Recently, an article about cmd.fm, a console Internet radio player in the browser , skipped on Habré , which made me think: why not make a console radio player?

cmdradio is a very simple internet radio player in the command line. It is made specifically for those people who do not understand the directions, do not know the names of groups, but just want to listen to music in the mood.
You just need to type cmdradio play% genrename%

Development

I have never worked on creating desktop applications before, but Visual Studio 2005 came to hand, so the project was written in C #, because it seemed too hard to start with C, and then the desire to do something would leave me too fast.
I have been looking for a normal source of stations for a very long time, but, having reviewed the main ones, it turned out that services with a normal API and a large number of stations, such as Shoutcast and TuneIn, have long fenced their API for selected ones and no one else provides normal access to the list of stations.
I found the exit by chance, in the form of the Icecast directory, which gives a huge list of stations in 4MB XML. To force the user to download such a file every time would be inhumane, and the xiph server will not be able to handle the big load, so a small server was written on NodeJS, which periodically enters a large playlist into the database, and sends a specific entry to requests from clients by station and genre. And soon, I hope that the icecast directory will tighten the normal API.
')
Linux support is now implemented through Mono.

License

Source codes are available under the Do Whatever You Want licensed, Json.NET and BASS libraries under their licenses.

So far, the official site . Write reviews, suggestions.
Download links: Windows x32 , Windows x64 , OSX , Linux , ARM (Mono required)

UPD: To run under Windows 8, you need to enable .NET 2.0

UPD2: Mono versions for OSX and Linux have been added to the repository.

UPD3: You can subscribe to updates on Google+ and @cmdradio

UPD4: Version for ARM (Raspberry Pi, etc.)

UPD5: Official Website

Source: https://habr.com/ru/post/196612/


All Articles