Page 2 of 3

Re: BBQradio streams go here

Posted: Sat Jun 15, 2013 10:07 pm
by machinebacon
Thanks mate,
will be added to the next release :)

Re: BBQradio streams go here

Posted: Sun Jun 16, 2013 12:44 pm
by MrPink
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..

Re: BBQradio streams go here

Posted: Sun Jun 16, 2013 1:30 pm
by wuxmedia
^ 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?

Re: BBQradio streams go here

Posted: Sun Jun 16, 2013 6:30 pm
by machinebacon
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

Re: BBQradio streams go here

Posted: Sun Jun 16, 2013 6:40 pm
by wuxmedia
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

Re: BBQradio streams go here

Posted: Sun Jun 16, 2013 6:42 pm
by machinebacon
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

Re: BBQradio streams go here

Posted: Sun Jun 16, 2013 6:44 pm
by wuxmedia
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:~$ 

Re: BBQradio streams go here

Posted: Sun Jun 16, 2013 6:45 pm
by machinebacon
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

Re: BBQradio streams go here

Posted: Sun Jun 16, 2013 7:02 pm
by wuxmedia
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.

Re: BBQradio streams go here

Posted: Sun Jun 16, 2013 7:09 pm
by machinebacon
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!

Re: BBQradio streams go here

Posted: Sun Jun 16, 2013 7:34 pm
by wuxmedia
glad i could help 8)

Re: BBQradio streams go here

Posted: Mon Jun 17, 2013 3:29 am
by ivanovnegro
@Wux: Thanks for the nice stations.

Re: BBQradio streams go here

Posted: Wed Sep 18, 2013 5:16 am
by johnraff
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.

Re: BBQradio streams go here

Posted: Wed Sep 18, 2013 8:32 am
by wuxmedia
thanks john, I thought you'd like mantra...
have you tried mplayer?

Re: BBQradio streams go here

Posted: Thu Sep 19, 2013 10:36 am
by machinebacon
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.

Re: BBQradio streams go here

Posted: Sat Sep 21, 2013 5:29 pm
by johnraff
@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.

Re: BBQradio streams go here

Posted: Sat Sep 21, 2013 5:42 pm
by machinebacon
^ 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

Re: BBQradio streams go here

Posted: Sat Sep 21, 2013 6:26 pm
by johnraff
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...

Re: BBQradio streams go here

Posted: Sun Sep 22, 2013 11:54 am
by rhowaldt
^ 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.

Re: BBQradio streams go here

Posted: Tue Oct 15, 2013 5:24 pm
by johnraff
^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.