LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 02-27-2008, 08:56 AM   #1
r00ster
Member
 
Registered: May 2007
Location: boundary beach, bc
Distribution: Debian 3.2.46-1+deb7u1
Posts: 199

Rep: Reputation: 15
Streaming Radio Etch/KDE


Way back, before my Age of Enlightenment when I was using XP-Home, I used to listen to BostonPete.com Classical via WMP. It had a menu of stations to pick from. I also had Winamp running and picked up some stations on it too.

Now I'm running Etch/KDE/Iceweasel | Konqueror Desktop and I'd like to find the nearest (or best) thing so's I can find some more good stations.

I checked the BostonPete.com site, but I can't figure out how to get it to play on my DT.

I'd prefer to avoid things like RealPlayer "with GooglePack" and stick to Debian as nearly as possible.

I'd appreciate some guidance.
 
Old 02-27-2008, 10:52 AM   #2
mrclisdue
Senior Member
 
Registered: Dec 2005
Distribution: Slackware -current, 14.1
Posts: 1,039

Rep: Reputation: 163Reputation: 163
So, I went on a wee adventure, and this is what I discovered:

Get the link you want to listen to (right-click, copy link, etc), feed it to mplayer - $ mplayer http://www.bostonpete.com/wma/station001.asx - mplayer errors out, looking for avisynth.dll.

Try again with vlc - $ vlc http://www.bostonpete.com/wma/station001.asx - vlc plays the 25 sec intro, then stops.

Google for avisynth.dll - a couple of tarballs downloaded, but compiling and installing will be a nightmare, plus, I just want the .dll, anyway.

More googling....voila!...buried somewhere is this:

use mplayer with the -playlist option; hence

Code:
mplayer -playlist http://www.bostonpete.com/wma/station001.asx
and there you have it.

cheers,
 
Old 02-27-2008, 11:31 AM   #3
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
I've found xine works best for streaming media. Mplayer and VLC also work but they have strange issues sometimes, where they stop playing without reason. Just my experiences. For example you can use 'xine-mozilla-plugin' if you wanted to play it embedded in the browser, or you can type in the url into xine.
 
Old 02-28-2008, 10:19 AM   #4
r00ster
Member
 
Registered: May 2007
Location: boundary beach, bc
Distribution: Debian 3.2.46-1+deb7u1
Posts: 199

Original Poster
Rep: Reputation: 15
mrclisdue;
H_TeXMeX_H;


Ah's a'feared o' thet. Ah's opened a 'can-a-worms' an' it's too cold to go fishin'.

I seem to have both noatun and juk installed in [.kde/share/apps/]. I did some googling and it doesn't appear that either of these answer.

apt-cache doesn't present either xine or Mplayer as 'ready-to wear' items.

What I did find, based on about 2 hours of searching, was that XMMS and amaroK seem to have the edge satisfaction-wise for some tyros using KDE.

I'm very appreciative of your concise, informed and 'to-the-point' replies, but do I need to uprgrade my wetware a mite a'fore I go any further; d'ya'think?
 
Old 02-28-2008, 11:24 AM   #5
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,732
Blog Entries: 12

Rep: Reputation: 456Reputation: 456Reputation: 456Reputation: 456Reputation: 456
I use Amarok to listen to streaming stations. All I do is click the station and it opens and plays in Amarok.
 
Old 02-28-2008, 12:28 PM   #6
r00ster
Member
 
Registered: May 2007
Location: boundary beach, bc
Distribution: Debian 3.2.46-1+deb7u1
Posts: 199

Original Poster
Rep: Reputation: 15
Hi Craig; LTNS

Quote:
apt-cache search amarok
amarok - versatile and easy to use audio player for KDE
amarok-engines - output engines for the Amarok audio player
amarok-xine - xine engine for the Amarok audio player
Does this mean amarok is dependent on the xine "engine"? IOW, if I d/l amarok via apt-get, would xine be included, or would I have to get it separately?
 
Old 02-28-2008, 02:22 PM   #7
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,732
Blog Entries: 12

Rep: Reputation: 456Reputation: 456Reputation: 456Reputation: 456Reputation: 456
apt-get install amarok will also install amarok-xine.

Quote:
Depends
amarok-engines | amarok-engine, kdelibs4c2a (>= 4:3.5.8-5), libart-2.0-2 (>= 2.3.18), libaudio2, libc6 (>= 2.7-1), libfontconfig1 (>= 2.4.0), libfreetype6 (>= 2.3.5), libgcc1 (>= 1:4.1.1-21), libgl1-mesa-glx | libgl1, libglib2.0-0 (>= 2.14.0), libgpod3-nogtk | libgpod3, libice6 (>= 1:1.0.0), libidn11 (>= 0.5.18), libifp4, libjpeg62, libkarma0, libmtp7, libmysqlclient15off (>= 5.0.27-1), libnjb5, libpng12-0 (>= 1.2.13-4), libpq5, libqt3-mt (>= 3:3.3.7), libruby1.8 (>= 1.8.6.111), libsdl1.2debian (>= 1.2.10-1), libsm6, libsqlite3-0 (>= 3.4.2), libstdc++6 (>= 4.2.1-4), libtag1c2a (>= 1.4), libtagc0 (>= 1.4), libtunepimp5, libusb-0.1-4 (>= 2:0.1.12), libvisual-0.4-0 (>= 0.4.0), libx11-6, libxcursor1 (>> 1.1.2), libxext6, libxft2 (>> 2.1.1), libxi6, libxinerama1, libxrandr2 (>= 2:1.2.0), libxrender1, libxt6, ruby, unzip, zlib1g
Recommends kdemultimedia-kio-plugins
Suggests konqueror | www-browser, libqt0-ruby1.8, libvisual-0.4-plugins, python, python-qt3

amarok-engine
Depends
amarok-xine
Note version numbers may be different in Etch, the above is for sid.
 
Old 02-29-2008, 09:31 AM   #8
r00ster
Member
 
Registered: May 2007
Location: boundary beach, bc
Distribution: Debian 3.2.46-1+deb7u1
Posts: 199

Original Poster
Rep: Reputation: 15
Craig;

Thanks.

I had a "I could'a had a V8" moment about 5 minutes after I posted my Q and headed out for the day. I could/should have queried [apt-cache showpkg].

I'll try it out later today and let you know how it turns out.
 
Old 02-29-2008, 12:21 PM   #9
Oxyacetylene
Member
 
Registered: Apr 2004
Location: Greensboro, NC, USA
Distribution: Debian
Posts: 134

Rep: Reputation: 15
Quote:
Originally Posted by craigevil View Post
I use Amarok to listen to streaming stations. All I do is click the station and it opens and plays in Amarok.
I use Amarok as well and I think it is a great media player. Amarok is also great for accessing large collections of mp3's or other music on your computer. There are some very cool features built into this package.
 
Old 03-01-2008, 05:22 AM   #10
r00ster
Member
 
Registered: May 2007
Location: boundary beach, bc
Distribution: Debian 3.2.46-1+deb7u1
Posts: 199

Original Poster
Rep: Reputation: 15
Thanks Craig & Oxy;

The Setup Wizard for amarok asks me to identify which folder(s) my music is stored and to pick from a list.

I haven't used Etch for any media stuff yet so there's nothing there to select. Should I just select my Home folder, or do I need to create a folder in my "Media" folder which, at present, just has a couple of gratuitous entries for CD's?
 
Old 03-01-2008, 05:53 AM   #11
r00ster
Member
 
Registered: May 2007
Location: boundary beach, bc
Distribution: Debian 3.2.46-1+deb7u1
Posts: 199

Original Poster
Rep: Reputation: 15
Slightly aside; I notice an ad by google at the bottom of this page that promotes:
www.monteverdi.tv What I find odd is that it only runs on Windows and Macs; not linux.
 
Old 03-01-2008, 06:38 PM   #12
Oxyacetylene
Member
 
Registered: Apr 2004
Location: Greensboro, NC, USA
Distribution: Debian
Posts: 134

Rep: Reputation: 15
When you go through the setup wizard you can just point it to any directory for now. It asks where your music is stored so it knows where to look for music to build a catalog. You can change this option later once you start collecting some music. You can also just use the default database option for now.
 
Old 03-01-2008, 06:45 PM   #13
glidermike
Member
 
Registered: Nov 2005
Location: Toronto Canada
Distribution: Debian
Posts: 90

Rep: Reputation: 15
Streamtuner

I use streamtuner for radio and streamripper to copy to my hard drive. It's in the repos get it via synaptic, it's a very nice program!
 
Old 03-02-2008, 10:41 AM   #14
r00ster
Member
 
Registered: May 2007
Location: boundary beach, bc
Distribution: Debian 3.2.46-1+deb7u1
Posts: 199

Original Poster
Rep: Reputation: 15
Oxyacetylene;

I see the amarok setup suggests installing a d/b server such as MySQL or PostgreSQL. These aren't installed on my ETCH distro. New territory for yours truly. I'll have a run at MySQL (per below tutorial) and see how it goes.

http://www.debianhelp.co.uk/mysql.htm

glidermike;

Thanks for the tip. I'll keep it in mind, but I can only do one at a time. I'm sure I can try out a couple and settle on one before I get too far committed to any one.
 
Old 03-03-2008, 01:49 PM   #15
r00ster
Member
 
Registered: May 2007
Location: boundary beach, bc
Distribution: Debian 3.2.46-1+deb7u1
Posts: 199

Original Poster
Rep: Reputation: 15
I think I spazzed installing mysql.

From:http://www.debianhelp.co.uk/mysql.htm
Quote:
To access the user, host databases, etc... type this;

mysql> use mysql;
Database changed
mysql>

To give localhost permission to access all databases, enter this:

mysql> insert into
-> host(host,db,Select_priv, Insert_priv, Update_priv,
-> Delete_priv, Create_priv, Drop_priv)
-> values('localhost','%','Y','Y','Y','Y','Y','Y');
In root shell I got:
Quote:
mysql> use mysql;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
mysql> insert into
-> host(host,db,Select_priv, Insert_priv, Update_priv,
-> Delete_priv, Create_priv, Drop_priv)
-> values('windowsbox','%','Y','Y','Y','Y','Y','Y');
Query OK, 1 row affected (0.00 sec)

mysql> quit
Bye
The nubie type problem(s) I have are:
1. I don't know how to access/find the mysql files in X-Term and therefore I can't make changes. I checked "/root" but nothing shows up.

2. Since I'm on a stand alone DT with direct connection via modem to HS Cable, I'd like to edit [/etc/init.d/mysqld] and change:

[/usr/bin/safe_mysqld > /www.null 2>&1 &]

to this:

[/usr/bin/safe_mysqld --skip-networking > /www.null 2>&1 &]

3. I don't know how to "ping" mysql to see if it is running> e.g.
Quote:
royrogers:~# mysqladmin -umysql ping
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'mysql'@'localhost' (using password: NO)'
royrogers:~# man mysql
Reformatting mysql(1), please wait...
royrogers:~# mysqladmin -uDB_royrogers -pDB_mysql pw ping
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'DB_royrogers'@'localhost' (using password: YES)'
royrogers:~# mysqladmin -uDB_mydatabase -pDB_mysql pw ping
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'DB_mydatabase'@'localhost' (using password: YES)'
royrogers:~# mysqladmin mydatabase mysql pw ping
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'
I'd articulate my problems better if I knew how. This is the best I can do.
 
  


Reply

Tags
radio, streaming


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Best player for streaming radio? jogl_z_8 Debian 4 04-27-2007 12:14 PM
Streaming Radio Stump Linux - Newbie 3 07-04-2006 04:52 PM
no streaming radio scottsteibel Linux - Newbie 6 12-05-2004 03:29 PM
Streaming internet Radio Mr54mk Linux - Newbie 4 12-13-2003 08:09 PM
xmms and streaming radio TravisB Linux - General 2 03-27-2002 02:26 PM


All times are GMT -5. The time now is 02:00 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration