BBQradio streams go here

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: BBQradio streams go here

Unread post by machinebacon » Sat Jun 15, 2013 10:07 pm

Thanks mate,
will be added to the next release :)
..gnutella..

User avatar
MrPink
applies for custom title
Posts: 49
Joined: Tue Jan 22, 2013 10:38 pm

Re: BBQradio streams go here

Unread post by MrPink » Sun Jun 16, 2013 12:44 pm

Someone from outside Denmark should try if they can be played. Danmarks Radio is geo-locking their tv-streams, but I'm not sure about the radio channels..

User avatar
wuxmedia
Grasshopper
Posts: 6445
Joined: Wed Oct 17, 2012 11:32 am
Location: Back in Blighty
Contact:

Re: BBQradio streams go here

Unread post by wuxmedia » Sun Jun 16, 2013 1:30 pm

^ works fine in France, using mplayer, I had to remove the .m3u.
here's a mad one we've been getting down with for the last month;

http://air.radiolla.com/mantra192k
perfect for tibetan prayer bowls back to back with indo gamelan music followed tribal islam music from morrocco.

in fact checking out the site http://en.radiolla.com/ ; reveals a bunch of cool stations

http://air.radiolla.com/radiolla192k
(pop newish easy listening)

http://air.radiolla.com/jiraffe192k
(jazz fusion)

http://air.radiolla.com/volta192k
(electronic/ambient)

http://air.radiolla.com/equalyza192k
(left field Hop)

http://air.radiolla.com/ilma192k
(classic)

all at a lovely 192k and NO adds or boring talking.

did the other stations make it to the bbqradio? noticed that the gui radio in XFCE only has a few stations.
bbqradio (cli) seems to need to be run as root?
"Seek, and Ye shall find"
"Github | Chooons | Site"

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: BBQradio streams go here

Unread post by machinebacon » Sun Jun 16, 2013 6:30 pm

Wux,
the latest bbqradio/bbqradio-gui have 24 channels, there's a bunch I stole from the soma.fm list (see also the "Recipe" section of the forums-> Scripts -> bbqradio)
The CLI version works as normal user, very sure. (There's nothing that requires root in the script, and it's basically the -gui version with dialog instead of yad)

Edit: I might make a 'button-only' interface, for the gui
..gnutella..

User avatar
wuxmedia
Grasshopper
Posts: 6445
Joined: Wed Oct 17, 2012 11:32 am
Location: Back in Blighty
Contact:

Re: BBQradio streams go here

Unread post by wuxmedia » Sun Jun 16, 2013 6:40 pm

Ok. i guess i could 'roast' the script (foresee borkage thread 8) )
hmm.
why do i get this on xfce64?
after typing bbqradio;

Code: Select all

/usr/bin/bbqradio: line 2: /usr/local/bin/pdmenu: No such file or directory
wux@xfce:~$ which pdmenu
/usr/local/bin/pdmenu
wux@xfce:~$ 
prefixing sudo makes it work. weird huh?

edit: 'button only' as in 'no drop downs' sounds good, limits a bit the selection. but thats good encourages roasting
"Seek, and Ye shall find"
"Github | Chooons | Site"

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: BBQradio streams go here

Unread post by machinebacon » Sun Jun 16, 2013 6:42 pm

that's junk. wtf did I do there?
can you sudo rm /usr/bin/bbqradio ?
Then try again, it should grab it from /usr/local/bin/bbqradio
..gnutella..

User avatar
wuxmedia
Grasshopper
Posts: 6445
Joined: Wed Oct 17, 2012 11:32 am
Location: Back in Blighty
Contact:

Re: BBQradio streams go here

Unread post by wuxmedia » Sun Jun 16, 2013 6:44 pm

hmm

Code: Select all

wux@xfce:~$ sudo rm /usr/bin/bbqradio
[sudo] password for wux: 
wux@xfce:~$ bbqradio
bash: /usr/bin/bbqradio: No such file or directory
wux@xfce:~$ /usr/local/bin/bbqradio
bash: /usr/local/bin/bbqradio: No such file or directory
wux@xfce:~$ echo $PATH
/home/wux/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
wux@xfce:~$ 
"Seek, and Ye shall find"
"Github | Chooons | Site"

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: BBQradio streams go here

Unread post by machinebacon » Sun Jun 16, 2013 6:45 pm

Edit ^

1) sudo rm /usr/bin/bbqradio
2) wget -c http://linuxbbq.org/shared/bbqradio
3) sudo mv bbqradio /usr/local/bin/bbqradio
4) sudo chmod +x /usr/local/bin/bbqradio && sudo chmod 777 /usr/local/bin/bbqradio

sorry wux
..gnutella..

User avatar
wuxmedia
Grasshopper
Posts: 6445
Joined: Wed Oct 17, 2012 11:32 am
Location: Back in Blighty
Contact:

Re: BBQradio streams go here

Unread post by wuxmedia » Sun Jun 16, 2013 7:02 pm

no need to apologise, you are amazing, i'm moaning about nothing.
if this is helping you i'm happy to grope about like the newbie i am to help you achieve Nirvana.
um bbqradio on it's own doesn't work, need to put /usr/local/bin/bbqradio to achieve fulfilment.
but don't worry really.
"Seek, and Ye shall find"
"Github | Chooons | Site"

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: BBQradio streams go here

Unread post by machinebacon » Sun Jun 16, 2013 7:09 pm

yes, it needs to be in either /usr/bin/ or the /usr/local/bin/ folder , chmodded into +x and for all users. I place the newer bbq things into latter folder, actually to prevent the shit I produced there :D Thanks for the heads-up!
..gnutella..

User avatar
wuxmedia
Grasshopper
Posts: 6445
Joined: Wed Oct 17, 2012 11:32 am
Location: Back in Blighty
Contact:

Re: BBQradio streams go here

Unread post by wuxmedia » Sun Jun 16, 2013 7:34 pm

glad i could help 8)
"Seek, and Ye shall find"
"Github | Chooons | Site"

User avatar
ivanovnegro
Minister of Truth
Posts: 5448
Joined: Wed Oct 17, 2012 11:12 pm

Re: BBQradio streams go here

Unread post by ivanovnegro » Mon Jun 17, 2013 3:29 am

@Wux: Thanks for the nice stations.

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 » Wed Sep 18, 2013 5:16 am

Radio urls seem to be very unreliable - they get changed or just die, protocols alter...
Still, I'm finding my mpg123 (old - mpg123 1.12.1) failing to load quite a lot of these links, when radiotray works OK. The objection to gstreamer - size?

Other comparison between mpg123 & radiotray:
mpg123 uses much more CPU (10%~11% of Pentium4 playing 192K radiolla-mantra, while radiotray takes ~4%),
otoh radiotray takes 20MB of RAM out of 512, mpg123 takes about 4MB.

Found a nice option with mpg123

Code: Select all

mpg123 -R --fifo mpgpipe
lets you send orders from anywhere like this:

Code: Select all

echo 'silence' >mpgpipe
echo 'load http://air.radiolla.com/mantra192k' >mpgpipe
echo 'load http://205.164.62.21:8030/' >mpgpipe
So you can change radio stations on the fly without restarting every time. Might be useful in a radio tuner.
All code is one.

User avatar
wuxmedia
Grasshopper
Posts: 6445
Joined: Wed Oct 17, 2012 11:32 am
Location: Back in Blighty
Contact:

Re: BBQradio streams go here

Unread post by wuxmedia » Wed Sep 18, 2013 8:32 am

thanks john, I thought you'd like mantra...
have you tried mplayer?
"Seek, and Ye shall find"
"Github | Chooons | Site"

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: BBQradio streams go here

Unread post by machinebacon » Thu Sep 19, 2013 10:36 am

Thanks John, nice hint with fifo.
Have you tried mpg321 already? I wonder how it is different from mpg123. I've tested both and found them very very similar, both in CPU and RAM usage, but I don't have a Pentium4, so maybe it's more obvious on your box.
..gnutella..

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 » Sat Sep 21, 2013 5:29 pm

@wux thanks for mantra - it's nice! Yes, mplayer's my longtime favourite to be honest. It can play pretty much anything you give it, as long as you send it the -playlist option when needed.

@bacon haven't tried mpg321. Reading about it it sounds pretty much the same as mpg123. Is it supposed to be easier on old processors?

Actually, I'm inclined to suggest mplayer as the default - it can play a wider variety of formats than mpg*** (eg evil mms streams) and will use the mpg123 library to play mp3 streams anyway, if it's available. mplayer also has an equivalent to mpg's "remote" called "slave mode" which works the same way, letting you send commands over a fifo.
All code is one.

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: BBQradio streams go here

Unread post by machinebacon » Sat Sep 21, 2013 5:42 pm

^ Well, mplayer2 is not the default media player for the 'main editions' (Tiny/Bass, no-X) because of heavy dependencies (there's another thread* in the Off Topic section, where we compared VLC and mplayer2 and were quite shocked). These editions are weighing less than 250MB for the ISO (and less than 1GB installed) and mplayer or vlc is purposedly not included. I had to follow the self-declared philosophy of "use the smallest available package for a certain task", and for the bbqradio stations that are included the mpg123 player does exactly what is wanted/needed.
For music playback there's mocp and mpg123 (for bbqradio), but mplayer2 is included in around 95% of the other editions. So, I'm inclined to keep mplayer2 out of the main editions (Tiny/Bass - these are basically the netinstall/minimal editions of BBQ), so the user can decide to install mplayer, mplayer2, vlc or the gstreamer-based players. I'll add a check for mplayer/vlc to the bbqradio script, so that it can fallback to mpg123 if the other players are not installed.


* http://linuxbbq.org/bbs/viewtopic.php?f=7&t=578
..gnutella..

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 » Sat Sep 21, 2013 6:26 pm

Fair enough. I never noticed mplayer pulling in a huge amount of stuff, but that was perhaps because I was installing it on a fairly full-featured/bloated system and most of those libraries were installed already. With media stuff I tend to install anything that's going, just in case it might be needed some day...
All code is one.

User avatar
rhowaldt
Dog
Posts: 4565
Joined: Wed Oct 17, 2012 9:01 am
Contact:

Re: BBQradio streams go here

Unread post by rhowaldt » Sun Sep 22, 2013 11:54 am

^ exactly. interesting experiment is to take one of the BBQ no-X bases, which are, as bacon points out, extremely bare, then do some dependency-checks before installing anything on top. gives you a very good idea of what stuff is being used. of course when your system is, for example, already filled with gnomes, you are not going to notice when an extra package uses those same libraries. this is why bloat is relative.
All statements are true in some sense, false in some sense, meaningless in some sense, true and false in some sense, true and meaningless in some sense, false and meaningless in some sense, and true and false and meaningless in some sense.

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 » Tue Oct 15, 2013 5:24 pm

^true. Though mplayer, while it might call for a lot of libraries, is lighter than mpg123 on CPU use when it's running, at least for me.
All code is one.

Post Reply