{"id":6065,"date":"2016-06-13T16:36:33","date_gmt":"2016-06-13T16:36:33","guid":{"rendered":"https:\/\/manuals.qantumthemes.xyz\/sonik\/?post_type=ht_kb&#038;p=6065"},"modified":"2016-06-13T16:36:33","modified_gmt":"2016-06-13T16:36:33","slug":"2-5-radio-station-channels","status":"publish","type":"ht_kb","link":"https:\/\/manuals.qantumthemes.xyz\/sonik\/knowledge-base\/2-5-radio-station-channels\/","title":{"rendered":"2.5 Radio station channels"},"content":{"rendered":"<p>A radio channel is composed of:<\/p>\n<ul>\n<li>A visible radio channel page (with its own custom post type and a custom template in the theme)<\/li>\n<li>A featured image (or logo)<\/li>\n<li>A playable stream of the radio station<\/li>\n<\/ul>\n<h2 id=\"creating-the-radio-channel\" >Creating the radio channel:<\/h2>\n<p>To simply create a radio channel page, use the title and text editors like you do for a normal page. The created page has a template in the front-end that you can copy to your child theme and customize named: single-radiochannel.php.<\/p>\n<p>&nbsp;<\/p>\n<h2 id=\"creating-the-playable-channel\" >Creating the playable channel<\/h2>\n<p>A playable channel is a radio channel connected with an existing MP3 stream URL.<\/p>\n<p><span style=\"color: #ff0000;\"><strong>Important: this feature requires you to have a normal MP3 stream url, such as Shoutcast, Icecast, Radio.co, Wavestreaming or similar.<\/strong><\/span><\/p>\n<p>You need to obtain the MP3 URL of your radio stream to use it in the settings of the Radio Channel page, and be able to play the music using one of the theme&#8217;s players: the one in the Header Bar or the Featured Circular Player.<\/p>\n<p>To view the radio channel in the player, you need to do two things:<\/p>\n<p>Compile the Radio Channel Details when you create a new radio channel.<br \/>\nHave your player visible under\u00a0Appearance-&gt;Customize<br \/>\nHow to compile the radio player details MP3 Stream URL:<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/manuals.qantumthemes.xyz\/sonik\/wp-content\/uploads\/2016\/06\/Screen-Shot-2015-10-13-at-14.11.09.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-6067 size-full alignleft\" src=\"https:\/\/manuals.qantumthemes.xyz\/sonik\/wp-content\/uploads\/2016\/06\/Screen-Shot-2015-10-13-at-14.11.09.png\" alt=\"Screen-Shot-2015-10-13-at-14.11.09\" width=\"728\" height=\"317\" srcset=\"https:\/\/manuals.qantumthemes.xyz\/sonik\/wp-content\/uploads\/2016\/06\/Screen-Shot-2015-10-13-at-14.11.09.png 728w, https:\/\/manuals.qantumthemes.xyz\/sonik\/wp-content\/uploads\/2016\/06\/Screen-Shot-2015-10-13-at-14.11.09-300x131.png 300w, https:\/\/manuals.qantumthemes.xyz\/sonik\/wp-content\/uploads\/2016\/06\/Screen-Shot-2015-10-13-at-14.11.09-50x22.png 50w, https:\/\/manuals.qantumthemes.xyz\/sonik\/wp-content\/uploads\/2016\/06\/Screen-Shot-2015-10-13-at-14.11.09-600x261.png 600w, https:\/\/manuals.qantumthemes.xyz\/sonik\/wp-content\/uploads\/2016\/06\/Screen-Shot-2015-10-13-at-14.11.09-320x139.png 320w\" sizes=\"(max-width: 728px) 100vw, 728px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h2 id=\"to-use-the-built-in-players-you-need-the-mp3-url-of-your-radio-stream\" >To use the built-in players, you need the mp3 URL of your radio stream.<\/h2>\n<p>To obtain the mp3 URL, it is very simple, usually web radio stations provide a file that will allow you to stream the broadcast\u00a0on iTunes, Winamp, Windows Media Player and other players.<\/p>\n<p>Here are a few examples:<\/p>\n<p>http:\/\/neon.wavestreamer.com:3540\/listen.m3u?sid=1<br \/>\nhttp:\/\/neon.wavestreamer.com:3540\/listen.asx?sid=1<br \/>\nhttp:\/\/neon.wavestreamer.com:3540\/listen.pls?sid=1<br \/>\nYou could use one of the URL\u00a0streams above, but you will probably want to\u00a0use you own URL or one from another radio provider:<\/p>\n<p>Get the URL\u00a0of the player from your radio provider. For Wavestream users, you find this url in the integration tools:<\/p>\n<p>Download one of the files for integration. It is a simple text file, masked as a different format.<br \/>\nRename the file in player.txt<br \/>\nOpen this file with any text editor, like notepad (PC) or TextEdit (Mac)<br \/>\nYou will find something like this:<br \/>\n#EXTM3U<br \/>\n#EXTINF:-1,06 AM Ibiza Underground<\/p>\n<p>http:\/\/173.192.105.231:3540\/Live<br \/>\nThis URL\u00a0will be your mp3 stream, just add \u201c.mp3\u2033 at\u00a0the end, like this:<\/p>\n<p>\u2026\u2026.yourUrl\/Live.mp3<br \/>\nTo be sure that your mp3 stream is valid, open it in the browser, with a modern browser it should render as a music player, and play the radio stream:<\/p>\n<p>If the radio stream works correctly, you can integrate it in your site.<\/p>\n<p>&nbsp;<\/p>\n<p>For some streaming providers, you need to add at the end of your stream URL the string<strong> ;stream.mp3<\/strong>, but in some cases this doesn&#8217;t work because each provider can use a different custom address.<\/p>\n<p>If the stream URL you have doesn&#8217;t work, contact your radio provider to ask for the correct direct MP3 URL.<\/p>\n<p>Also be sure that the provider settings allows direct access to the stream, as the theme&#8217;s player is nothing more than a &#8220;link&#8221; to the stream, which needs to be &#8220;open&#8221; to the public for listening.<\/p>\n<p><strong>Don&#8217;t use the link the the .pls file, which is nothing more than a TXT file.<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"author":1,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht_kb_category":[540],"ht_kb_tag":[561,546,558,563,560,559,562],"class_list":["post-6065","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-contents","ht_kb_tag-icecast","ht_kb_tag-mp3","ht_kb_tag-radio","ht_kb_tag-radio-com","ht_kb_tag-shoutcast","ht_kb_tag-streaming","ht_kb_tag-wavestreaming"],"_links":{"self":[{"href":"https:\/\/manuals.qantumthemes.xyz\/sonik\/wp-json\/wp\/v2\/ht_kb\/6065"}],"collection":[{"href":"https:\/\/manuals.qantumthemes.xyz\/sonik\/wp-json\/wp\/v2\/ht_kb"}],"about":[{"href":"https:\/\/manuals.qantumthemes.xyz\/sonik\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/manuals.qantumthemes.xyz\/sonik\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/manuals.qantumthemes.xyz\/sonik\/wp-json\/wp\/v2\/comments?post=6065"}],"version-history":[{"count":2,"href":"https:\/\/manuals.qantumthemes.xyz\/sonik\/wp-json\/wp\/v2\/ht_kb\/6065\/revisions"}],"predecessor-version":[{"id":6069,"href":"https:\/\/manuals.qantumthemes.xyz\/sonik\/wp-json\/wp\/v2\/ht_kb\/6065\/revisions\/6069"}],"wp:attachment":[{"href":"https:\/\/manuals.qantumthemes.xyz\/sonik\/wp-json\/wp\/v2\/media?parent=6065"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/manuals.qantumthemes.xyz\/sonik\/wp-json\/wp\/v2\/ht_kb_category?post=6065"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/manuals.qantumthemes.xyz\/sonik\/wp-json\/wp\/v2\/ht_kb_tag?post=6065"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}