BBQradio streams go here

User avatar
lrcaballero
Window Manager
Posts: 62
Joined: Sun Nov 10, 2013 6:02 am
Location: /home/California

Re: BBQradio streams go here

Unread post by lrcaballero » Fri Dec 13, 2013 4:00 am

These are my favorite:

(01) http://pub7.di.fm/di_ambient Ambient - a blend of ambient, downtempo, and chillout
(05) http://pub7.di.fm/di_chillout Chillout - ambient psy chillout, check out our trippy flavors!
(40) http://pub7.di.fm/di_lounge Lounge - sit back and enjoy the lounge grooves!
(54) http://pub7.di.fm/di_trance Trance Channel - we can't define it!
(60) http://pub7.di.fm/di_vocaltrance Vocal Trance - a fusion of trance, dance, and chilling vocals

Classical: Classic FM from UK http://media-ice.musicradio.com/ClassicFMMP3
Cinemix: Soundtracks http://192.184.9.79:8006


You may play these by installing mplayer and/or if you choose to, you may use this wonderful script that livarp came up with, is call cli_radio and you may get it here: http://arpinux.deviantart.com/gallery/? ... =cli_radio

this is a photo of cli_radio looks like reconfigured with my favorite radio stations

Enjoy and cheers,

Image

User avatar
ChefIronBelly
Approved BBQer
Posts: 1044
Joined: Mon Jan 13, 2014 6:01 am
Location: Michigan

Re: BBQradio streams go here

Unread post by ChefIronBelly » Tue Jan 21, 2014 9:54 pm

Ambient Sleeping Pill

Code: Select all

mpg123 http://50.7.96.138:8530/stream
great for nap time
(1/1) Installing: LinuxBBQ...................................[69%]==============[/]

User avatar
johnraff
Sperminator
Posts: 199
Joined: Wed Oct 17, 2012 6:38 pm
Location: Japan
Contact:

Re: BBQradio streams go here

Unread post by johnraff » Thu Sep 18, 2014 11:03 am

Radio stream urls come and go, they seem to die off pretty quickly. If you get a long list of urls to check out it's quite a chore to send each one to mpg123 and see if it will play, and then decide if you like it. This little script speeds it up a bit. The url list needs to have the urls at the beginning of the lines (space is OK) - anything after the first word is ignored (but will be kept if you want that station). The stations you want to keep will be stored in newlist.txt, urls followed by comments.

Usage: scriptname listname
Hit Enter to go to the next url.
Write a comment if you want to keep that url - the url and its comment will be added to newlist.txt.
It might save you some time working through something like machinebacon's massive list of Greek radio stations (now off the server anyway).

Two minor points of bash interest:
*) Because read is used both inside and outside the loop, to avoid the inside one getting its stdin messed up the outside one used FD 3 instead of stdin to read in the url list.
*) I couldn't think of any other way of getting the focus back to the main window without having to click on it than to use wmctrl to set a title, then wmctrl to return focus to the window with that title. If you don't want to install wmctrl (it's useful anyway) just to save a click for each station, then comment out the two lines starting with wmctrl.

Code: Select all

#!/bin/bash
#read list of radio urls, copy some to list
listfile=./newlist.txt
name='parsing...'
wmctrl -r :ACTIVE: -T "$name"
while read -u3 url rest
do
    urxvt -e mpg123 --list "$url" & mpid=$!
    sleep 1
    echo "Keep $url ?
Enter a comment to add to list, just press Enter to skip"
    wmctrl -F -a "$name"
    read -r
    [[ $REPLY ]] && echo "$url # $REPLY # $rest" >> "$listfile"
    kill $mpid >/dev/null 2>&1
    wait $mpid 2>/dev/null
done 3< "$1"
exit
All code is one.

Post Reply