LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Streaming Radio Etch/KDE (https://www.linuxquestions.org/questions/linux-newbie-8/streaming-radio-etch-kde-624222/)

r00ster 02-27-2008 08:56 AM

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.

mrclisdue 02-27-2008 10:52 AM

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,

H_TeXMeX_H 02-27-2008 11:31 AM

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.

r00ster 02-28-2008 10:19 AM

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?

craigevil 02-28-2008 11:24 AM

I use Amarok to listen to streaming stations. All I do is click the station and it opens and plays in Amarok.

r00ster 02-28-2008 12:28 PM

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?

craigevil 02-28-2008 02:22 PM

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.

r00ster 02-29-2008 09:31 AM

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.

Oxyacetylene 02-29-2008 12:21 PM

Quote:

Originally Posted by craigevil (Post 3072810)
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.

r00ster 03-01-2008 05:22 AM

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?

r00ster 03-01-2008 05:53 AM

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.

Oxyacetylene 03-01-2008 06:38 PM

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.

glidermike 03-01-2008 06:45 PM

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!

r00ster 03-02-2008 10:41 AM

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.

r00ster 03-03-2008 01:49 PM

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.

Oxyacetylene 03-03-2008 02:29 PM

I think PostgreSQL gets installed as a dependency with Debian. I have made it work with MySQL but it requires more work. The easiest way may be to install PostgreSQL and then see if Amarok will configure the database on its own.

r00ster 03-05-2008 07:22 AM

All I know at this point is that the pictures, videos and music that were in my home folders got transmogrified after installing MySQL and restarting.

Pictures are thumbnail quality; e.g., reduced from 68.5 KB (original per d/l file) to 5.1 KB (per "properties").

I'm trying to restore what I can from a backup disk.

Oxyacetylene
Quote:

I think PostgreSQL gets installed as a dependency with Debian.
I mentioned that PostgrepSQL was not installed in post #14:
Quote:

I see the amarok setup suggests installing a d/b server such as MySQL or PostgreSQL. These aren't installed on my ETCH distro.
I'm not sure what you want me to understand about it.

r00ster 03-05-2008 09:00 AM

I can see my Initial Question has been answered and that I'm spinning off in an entirely different area; (i.e., MySql installation and administration) which might be better pursued in a different thread or a different forum and after I've done some reading to get my bearings.

Thank you very much for your help.

r.


All times are GMT -5. The time now is 12:52 AM.