{"id":7443,"date":"2018-01-18T15:21:31","date_gmt":"2018-01-18T15:21:31","guid":{"rendered":"http:\/\/ubuntuhandbook.org\/?p=7443"},"modified":"2018-01-18T15:21:31","modified_gmt":"2018-01-18T15:21:31","slug":"pyradio-command-line-internet-radio-player-for-ubuntu","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2018\/01\/pyradio-command-line-internet-radio-player-for-ubuntu\/","title":{"rendered":"PyRadio &#8211; Command Line Internet Radio Player for Ubuntu"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-7151\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/09\/ubuntu-logo245.png\" alt=\"\" width=\"245\" height=\"250\" \/><\/p>\n<p>PyRadio is an open-source curses based internet radio player that runs in command console. The software is implemented in Python, and uses mplayer or VLC for media playback.<\/p>\n<p>The community has recently made the snap package for PyRadio to make it easy to install the tool in Ubuntu 16.04 and higher either via Ubuntu Software:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-7445\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/01\/pyradio-snap-600x244.jpg\" alt=\"\" width=\"600\" height=\"244\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/01\/pyradio-snap-600x244.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/01\/pyradio-snap-450x183.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/01\/pyradio-snap-768x312.jpg 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/01\/pyradio-snap.jpg 896w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>or by running command in terminal:<\/p>\n<pre style=\"border: None;\">snap install pyradio<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-7446\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/01\/pyradio-snap-install-600x74.jpg\" alt=\"\" width=\"600\" height=\"74\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/01\/pyradio-snap-install-600x74.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/01\/pyradio-snap-install-450x55.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/01\/pyradio-snap-install.jpg 693w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>Since snap app contains most required libraries and dependencies, the installation file is kinda large.<\/p>\n<p>To start the radio player, run command:<\/p>\n<pre style=\"border: none;\">pyradio --play<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-7444\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/01\/pyradio-600x314.jpg\" alt=\"\" width=\"600\" height=\"314\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/01\/pyradio-600x314.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/01\/pyradio-450x236.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/01\/pyradio-768x402.jpg 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/01\/pyradio.jpg 804w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>And here are keyboard shortcuts:<\/p>\n<ul>\n<li><code>Up\/Down\/j\/k\/PgUp\/PgDown<\/code> Change station selection<\/li>\n<li><code>Enter<\/code> Play selected station<\/li>\n<li><code>-\/+<\/code> Change volume<\/li>\n<li><code>m<\/code> Mute<\/li>\n<li><code>r<\/code> Select and play a random station<\/li>\n<li><code>g<\/code> Jump to first station<\/li>\n<li><code>&lt;n&gt;G<\/code> Jump to n-th station<\/li>\n<li><code>Space<\/code> Stop\/start playing selected station<\/li>\n<li><code>Esc\/q<\/code> Quit<\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>PyRadio is an open-source curses based internet radio player that runs in command console. The software is implemented in Python, and uses mplayer or VLC for media playback. The community has recently made the snap package for PyRadio to make it easy to install the tool in Ubuntu 16.04 and higher either via Ubuntu Software: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[52],"tags":[1521,1360],"class_list":["post-7443","post","type-post","status-publish","format-standard","hentry","category-app-review","tag-command-line-radio-player","tag-internet-radio"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/7443","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=7443"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/7443\/revisions"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=7443"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=7443"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=7443"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}