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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
02-27-2008, 08:56 AM
|
#1
|
|
Member
Registered: May 2007
Location: boundary beach, bc
Distribution: Squeeze/KDE
Posts: 159
Rep:
|
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.
|
|
|
|
02-27-2008, 10:52 AM
|
#2
|
|
Member
Registered: Dec 2005
Distribution: Slackware -current, 14.0
Posts: 959
Rep: 
|
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,
|
|
|
|
02-27-2008, 11:31 AM
|
#3
|
|
Guru
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,614
|
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.
|
|
|
|
02-28-2008, 10:19 AM
|
#4
|
|
Member
Registered: May 2007
Location: boundary beach, bc
Distribution: Squeeze/KDE
Posts: 159
Original Poster
Rep:
|
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?
|
|
|
|
02-28-2008, 11:24 AM
|
#5
|
|
Senior Member
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,732
|
I use Amarok to listen to streaming stations. All I do is click the station and it opens and plays in Amarok.
|
|
|
|
02-28-2008, 12:28 PM
|
#6
|
|
Member
Registered: May 2007
Location: boundary beach, bc
Distribution: Squeeze/KDE
Posts: 159
Original Poster
Rep:
|
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?
|
|
|
|
02-28-2008, 02:22 PM
|
#7
|
|
Senior Member
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,732
|
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.
|
|
|
|
02-29-2008, 09:31 AM
|
#8
|
|
Member
Registered: May 2007
Location: boundary beach, bc
Distribution: Squeeze/KDE
Posts: 159
Original Poster
Rep:
|
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.
|
|
|
|
02-29-2008, 12:21 PM
|
#9
|
|
Member
Registered: Apr 2004
Location: Greensboro, NC, USA
Distribution: Debian
Posts: 134
Rep:
|
Quote:
Originally Posted by craigevil
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.
|
|
|
|
03-01-2008, 05:22 AM
|
#10
|
|
Member
Registered: May 2007
Location: boundary beach, bc
Distribution: Squeeze/KDE
Posts: 159
Original Poster
Rep:
|
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?
|
|
|
|
03-01-2008, 05:53 AM
|
#11
|
|
Member
Registered: May 2007
Location: boundary beach, bc
Distribution: Squeeze/KDE
Posts: 159
Original Poster
Rep:
|
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.
|
|
|
|
03-01-2008, 06:38 PM
|
#12
|
|
Member
Registered: Apr 2004
Location: Greensboro, NC, USA
Distribution: Debian
Posts: 134
Rep:
|
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.
|
|
|
|
03-01-2008, 06:45 PM
|
#13
|
|
Member
Registered: Nov 2005
Location: Toronto Canada
Distribution: Debian
Posts: 90
Rep:
|
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!
|
|
|
|
03-02-2008, 10:41 AM
|
#14
|
|
Member
Registered: May 2007
Location: boundary beach, bc
Distribution: Squeeze/KDE
Posts: 159
Original Poster
Rep:
|
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.
|
|
|
|
03-03-2008, 01:49 PM
|
#15
|
|
Member
Registered: May 2007
Location: boundary beach, bc
Distribution: Squeeze/KDE
Posts: 159
Original Poster
Rep:
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 02:07 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|