Radio on the linux

10 Best Radio Streaming Apps for Linux

Music streaming is a lot more popular than before thanks to platforms like Apple Music, Spotify, SoundCloud, and Deezer.

One style that never seems to go out of fashion, though, is the radio. There are millions of people subscribed to radio channels just like on music playlists and podcasts.

Because we are your friends and we want you to enjoying your radio experience, here are the 10 best apps for streaming radio on Linux.

1. Odio

Odio is a relatively new (but closed source) radio streaming app with a beautiful UI resembling that of Spotify. It allows you to search for stations by country, language, and tags among other filtering options.

Odio Radio Streaming Software

Odio features a light and dark theme, a stations library, and it is cross-platform.

Install Odio in Linux

2. Gradio

Gradio is an open source radio streaming app built with GTK3. It has a grey background, Ubuntu-style fonts, and a UI like the default GNOME desktop.

Gradio Linux Internet Radio Player

Gradio allows you to edit radio station details, organize radio channels into collections, import radio libraries, etc.

Install Gradio in Linux

3. Radio Tray

Radio Tray runs in your Linux system tray to provide an easy way to stream radio channels online. It was built specifically to provide a minimalist interface for streaming online radio since there are already many music players to choose from.

Radio Tray – Online Radio Streaming Player

Radio Tray supports plugins, M3U playlists with support for ASX, WAX and WVX formats, drag and drop, bookmarks, etc.

Install Radio Tray in Linux

4. Streamtuner2

Streamtuner2 is a GUI internet radio browser for streaming music and videos from several service directories conveniently listed in a single window.

Streamtuner2 Internet Radio Browser

It supports RadioBrowser, Xiph, YouTube, etc., plugins e.g. Delicast, customizable playback, and can work as a media player for local media content.

Install Streamtuner2 in Linux

5. Great Little Radio Player

Great Little Radio Player is a robust radio streamer that enables you to stream radio channels directly from websites that support the feature irrespective of your location. It is completely free to use with a collection of 500+ radio stations.

Great Little Radio Player

Great Little Radio Player also has ready-made themes called coats and they are designed to resemble other famous UIs like iTunes, Spotify, etc. so be rest assured to find one in line with your preference.

There are .deb and .rpm packages are available to install from the download page.

6. Lollypop

Lollypop is a beautiful modern music player capable of playing both local media files and streaming online content from web services like Spotify.

Lollypop Music Player

Its main features include audio scrobbling, Last.fm and TuneIn support, metadata collection, and intuitive navigation.

Install Lollypop in Linux

7. Clementine

Clementine is a robust multiplatform, Amarok-inspired music player with more features than I can summarize. It supports streaming radio channels, updating metadata both manually and form the internet, playing audio CDs, podcasts, and CUE sheet.

Читайте также:  Python platform system windows

Clementine Music Player

It is one of the most popular music players and has successfully won the title of fan favourite by delivering an awesome performance since its first release in 2010.

Install Clementine in Linux

8. Rhythmbox

Rhythmbox is a popular customizable open source media player for smooth music playback and management.

Rhythmbox Music Player

Its features include a clean UI, playlists, podcast collections, radio streaming, and plugin support, among tons of other features.

Install Rhythmbox in Linux

9. Curseradio

Curseradio is a python3 Internet radio application that runs in the terminal. It is both free to use and open source and although is designed to work with Tunein’s directory, you can adapt it to use other directories.

Curseradio Commandline Radio Player

It uses the fan favourite MPV for its audio playback and keyboard controls for its usage.

Install Curseradio in Linux

10. Guayadeque, The Linux Media Player

Guayadeque is a robust Linux media player for managing large collections of music and it is designed to adapt to the needs of any user.

Guayadeque Media Player

Containing all the features you will search for in a music player and more e.g. Rip audio CDs, smart play mode, play and record shoutcast audios, it can be used to stream radio channels and organize your favourites into collections for easy access.

Install Guayadeque in Linux

Which other awesome radio streaming applications do you know? Other titles you should check out include Tizonia and Yarock.

Feel free to add your suggestions in the comments section below and don’t forget to share.

Источник

Развертывание радиостанции на GNU/Linux. Часть I

Прежде всего, хочу сказать, что я читал на хабре много топиков о развертывании радио, но ни один не дал мне исчерпывающей информации.
Я решил все сделать сам. Это не какой-то проект или стартап, а просто just4fun. Возможно, это покажется полезным для вас.
Итак, я использовал только свободное ПО в развертывании радио-стрима, так что пользователи window$ и ma o$ могут дальше не читать ;). Хотя нет, все же прочитайте, возможно это откроет вам GNU/Linux с новой стороны.

Что мне нужно от потока вещания:

  • проигрывание музыки
  • прямой эфир (голос)
  • вышеперечисленное вместе
  • всякие штуки вроде заставок, смеха и пр.
  • замещающий поток, работающий 24/7 (желательно)
  • Роутер Dlink DIR-320 (я нищеброд тот еще эконом)
  • ПК с Gentoo Linux
  • Микрофон обычный за 50 рублей, 1 шт

Микрофон студийный, 1 шт
Накопитель USB 64 Мб

Первым делом была снесена стоковая прошивка роутера, и на ее место встал OpenWRT из транка. Я не буду рассказывать о том, как накатить OpenWRT, это можно прочесть, например, здесь.
Скажу лишь, что необходимо перенести корень ФС роутера на внешнюю флешку с помощью block-extroot, ведь встроенной памяти всего 4 мегабайта, а так же включить в параметрах сборки busybox программу useradd.

Итак, прошивка установлена, интернет работает, SSH тоже, заходим по SSH на наш роутер и начинаем разбираться.

I. Icecast
Вопроса, ‘а что же использовать в качестве стрим-сервера?’ у меня не возникало. К тому же, он достаточно стабилен и легковесен.

Устанавливаем icecast на роутер:

Почему на роутер? Конечно, компьютер ночью выключен, а планируется 24/7 режим.

Я буду использовать Icecast в песочнице, поэтому создам пользователя icecast.
Конфигурационный файл icecast имеет формат XML

По правде говоря, я вообще использовал kate (kio-sftp) для редактирования этого конфига, впрочем, это значения не имеет.

Конфиг хорошо отдокументирован. Для безопасности нам нужно установить chroot в единицу, а и changeowner в нашего пользователя. Так же обратите внимание, что paths (пути) в таком случае должны быть относительными от basedir, но со слешем в начале. А еще icecast очень не любит создавать пути сам.
В качестве примера, вот мой конфиг.

В моем случае нужно создать лог-файлы для пользователя icecast:

Читайте также:  Как отключит dep windows

Веб-интерфейс доступен на 192.168.1.1:8000

Кстати, добавьте строку
icecast -b -c /usr/share/icecast/icecast.xml
в /etc/rc.local, дабы запускать icecast при загрузке роутера.

Я не смогу работать 24 часа в сутки, поэтому мне нужен fallback-поток, который будет замещать основной на том же URL, в случае оффлайна первого.
Окончательный вариант настройки fallback-потока вы найдете во второй части, а пока я буду использовать для этого MPD.

В настройке MPD для icecast нет ничего сложного, сейчас он у меня транслирует параллельно в ALSA и IceCast. Просто установите mpd и откройте

/.mpdconf, там уже будут настроены и ALSA, и Icecast, нужно только раскомментировать и подправить параметры под себя.

Допустим, наш основной поток называется /live, а fallback — /mpd.ogg
Тогда в icecast.xml следует добавить:

Перезапустите icecast (killall наше все), и попробуйте открыть адрес
192.168.1.1:8000/live в плеере. Работает? Поехали дальше.

III: Лезем в интернет

Пора настроить firewall для принятия соединений извне. Если у вас нет «белого» IP, воспользуйтесь dyndns.org и обратитесь к документации по openwrt.

В /etc/config/firewall внесите следующие строки:

и перезапустите файервол:
/etc/init.d/firewall restart
Кстати, по мне, лучший способ проверки — не isup.me, а мобильник :). В общем, поехали дальше

IV: Настройка клиента
Клиентская машина, т.е. десктоп — тоже линукс, как я сказал в начале поста.
Для управления радио будем использовать бесплатную открытую, и что главное, непортабельную (Linux only ☻) программу idjc. Позволю себе процитировать отзыв с SourceForge:

In the past, I have streamed on Windows XP with both SAM and ShoutCast. After trying Internet DJ Console on Ubuntu Studio, I must say that it was the best streaming experience in my life. Over six hours connected to my server, and it preformed flawlessly. Kudos to those who put this together.

В портежах Gentoo её не оказалось, а, например, в Ubuntu она есть. Я собрал программу из исходников. Также мне понадобилось добавить USE-флаг «jack» в /etc/make.conf для установки оного и интеграции с alsa.

Для работы программа требует звуковой сервер JACK (когда меня спрашивают, что из выдающихся программ есть в Linux, но нет в m$, я отвечаю: Rosegarden, Cinelerra, JACK, Ardour, MythTV! Ну и idjc).
Другие зависимости: GTK+, pygtk и наличие звуковой карточки с наушниками и микрофоном.

IV.1 Настройка Jack
JACK работает в realtime-режиме, так что ему нужно дать где развенуться.
Добавьте себя в группу audio, затем в /etc/security.conf добавьте:

и перелогиньтесь.
Также необходимо создать конфигурационный файл, например:
echo «/usr/bin/jackd -d -r 44100 -p 256» >

/.jackdrc
После этого запустите сервер JACK, используя в качестве back-end’а вашу звуковую систему (подо что вы конфиг создавали):
jackd -d
т.е. alsa или pulse

IV.2 Настройка и использование idjc
idjc поддерживает множество профилей, мне хватило и одного. Главное окно выглядит так(все кликабельно):

Поддерживаются 2 параллельных плейлиста музыки, плавное переключение между ними (длинный ползунок внизу), внезапное появление ведущего в эфире (правая кнопка снизу), звонки в студию, (телефончики), а также:

  • Запись с 4 микрофонов
  • Вывод в 6 потоков Icecast/Shoutcast
  • Вывод в MP3 и OGG (потоки)
  • Запись в FLAC на жесткий диск

Кнопка настроек внизу слева. Preferences и Jingles я рассмотрю во второй части, а сейчас перейдем к Output:

Настройки не умещаются у меня на экране, внизу запись на диск, там ничего интересного.
Вверху можно отметить нужные стримы и подключиться к ним, или изменить шаблон вывода метаданных.

Ниже нажатая кнопка означает, что стрим идет на вкладке Format можно задать формат и битрейт и т.д, т.е. все настолько тривиально, что не вижу смысла выкладывать отдельные скриншоты.
Отмечу, что также можно транслировать названия песен в IRC.

V. Настройка Skype
Сначала установите skype ☻ и alsa-plugins. В Gentoo:
emerge alsa-plugins #с USE=»jack»
Затем в файл

и перелогиньтесь.
Кстати, перед любым запуском idjrc обязательно запустите JACK командой jackd -d alsa (подставив pulse, если нужно). Если вы любите графические интерфейсы, воспользуйтесь программой qjackctl.

Читайте также:  При запуске windows не удалось настроить обновления windows

В скайпе выберите устройство idjcvoip (это работает вообще для любой программы, можно использовать Ekiga или что угодно):

Чтобы пропустить звук из скайпа в эфир, нажмите на зеленый телефон, убрать — красный.

Источник

4 Apps to Listen to Internet Radio Stations on Linux

Listening to traditional local radio stations is quite out of fashion these days, but the advent of Internet radio and modern apps that support it has prevented the medium from becoming irrelevant.

Internet radio apps are a dime a dozen on mobile platforms like Android and iOS, but dedicated radio apps for Linux can be hard to find if you don’t know where to look. In this article we will examine the possible Internet radio options for Linux users.

Dedicated Internet Radio Apps

1. Gradio

Gradio is a new radio app that allows you to search for public radio stations on your Linux desktop. The app is built with the GTK toolkit, meaning it should work well on GTK-based desktops like GNOME, Unity, Cinnamon and more. Searching for stations is really easy – all you need to do is click the “Discover” tab and browse the featured stations or search for a specific one by typing the station name or keywords in the search box provided.

Installation instructions for Ubuntu, Fedora, Arch Linux and openSUSE can be found on the project’s github repository.

2. Radio Tray

Radio Tray is an old-time favourite for listening to online radio on Linux, and it’s still one of the best ones available. It is a minimalistic app that sits in the system tray of your desktop and does not consume your system resources excessively. It can play most media formats (using gstreamer libraries) and allows you to listen to radio stations under a number of different categories. It integrates well with the Ubuntu desktop and is distributed under the GPL General Public License.

To install radio Tray in Ubuntu 16.04 you can search for radiotray in the Software Center or use the following command in the terminal:

For Fedora 23/24:

Music Apps that support Internet radio

3. Lollypop

Lollypop is a fully-featured music player made for GNOME that also allows you to listen to Internet radio stations and Podcasts via TuneIn, one of the major Internet radio services. Lollypop features a wonderful search filter that allows you to search for radio stations by category such as Music, Sports, Talk or even Podcasts. You can also search for radio stations by language or location or add your own custom streams if you’re so inclined.

Installation instructions for Ubuntu/Debian-based distros, Fedora, Arch Linux and openSUSE can be found on the project’s website.

4. Rhythmbox

If you use Ubuntu or Fedora, the chances that you’ve come across Rhythmbox are very high, as it come pre-installed on both these Linux distros and some other ones that use GNOME as their flagship desktop environment. While Rhythmbox is primarily a music player, it also gives you the option of listening to online radio and podcasts.

To add a new radio station, you need to to hunt for the URL of the radio station you want to listen to and add it manually to Rhythmbox. There are plugins that you can install to make searching for radio stations easier, but overall its online radio capabilities are limited compared to the other apps on this list.

What is your favourite way to listen to radio stations on Linux? Let us know in the comments section below.

Ayo Isaiah is a freelance writer from Lagos who loves everything technology with a particular interest in open-source software. Follow him on Twitter.

Источник

Оцените статью