LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-11-2006, 12:22 AM   #1
mman49
Member
 
Registered: Apr 2004
Location: Hanover Pa
Distribution: Fedora core 1
Posts: 104

Rep: Reputation: 15
Can't play mp3's on Hard drive in Slackware 2.6.15.


Hi all.

Me again.

Well, I put some mp3s here on my linux box that I networked over from winxp.
I can't get any of the players to play them with the exception of Kaboodel media player, which played one for like 30 seconds then just shutdown with out error. Sometimes I go to select an mp3 to play and it shuts right donw.

I did an update with swaret last night, so I don't know if that has anything to do with it or not.

I can play sounds fine and I actually played a avi that worked with sound.

So, I don't know whats up with my mp3's ....

Any help on this would be greatly appreciated.

Thanks again

Mitch..
 
Old 02-11-2006, 03:33 AM   #2
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 47
A good start might be to try to play your mp3 files with the `mpg321` command in Konsole. Either it works or you'll get some error message which you can post here.
 
Old 02-11-2006, 01:56 PM   #3
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally Posted by mman49
I did an update with swaret
you're running slackware-current or 10.2??
 
Old 02-11-2006, 05:15 PM   #4
mman49
Member
 
Registered: Apr 2004
Location: Hanover Pa
Distribution: Fedora core 1
Posts: 104

Original Poster
Rep: Reputation: 15
The funny thing is, I can rip some music off of cd's with KAudio Creator in Slackware 10.2 2.6.15 and it works fine using Noatun. Maybe the folder with mp3's in it I copied from my windows xp pc to here got corupted or something.
Uselpa, how do you use mpg321 command in Konsole. I even tried to cd where I have the ripped mp3's that KAudio did and I can't cd to them from the command line while I'm in kde. I get a lot of \ options.
I'm finally able to cd to the next to the last folder I need to be in, but I need to go ito one more folder.
It's listed like this.
The folder I need to get into is called The Cream Of Clapton
but it looks like this:
root@myhost:~/mp3/Eric Clapton# ls
The\ Cream\ Of\ Clapton/


or this.

root@myhost:~/mp3/Eric Clapton# ls -alf
/ ../ The\ Cream\ Of\ Clapton/
root@myhost:~/mp3/Eric Clapton#


How do I cd into that?



Well, I just tried to play the same folder on xp and its not playing on there either.
So, I guess these are bad mp3's I had. Looks like the problem is not my Slack pc..


Mitch

Last edited by mman49; 02-11-2006 at 05:45 PM.
 
Old 02-11-2006, 05:38 PM   #5
kuitang
Member
 
Registered: Sep 2005
Distribution: Slackware, Ubuntu, OS X
Posts: 58

Rep: Reputation: 15
Front-end media players like Kaboodle and Noatun use a back end program to actually play decode the mp3 file and send to PCM stream to the soundcard. Try opening a terminal and playing them with the vanilla mp3 player commands such as amp and mpg321.
 
Old 02-11-2006, 05:48 PM   #6
mman49
Member
 
Registered: Apr 2004
Location: Hanover Pa
Distribution: Fedora core 1
Posts: 104

Original Poster
Rep: Reputation: 15
Point me to a how to on the vanilla mp3 player commands such as amp and mpg321 and I'll try it.


Thanks.
 
Old 02-11-2006, 06:10 PM   #7
odevans
Member
 
Registered: Nov 2005
Location: Columbus, OH, USA
Distribution: Slackware
Posts: 246

Rep: Reputation: 30
Code:
user@slackbox:$  man mpg321

or

user@slackbox:$  man amp
Although it's relatively straightforward:
Code:
user@slackbox:$  amp somesong.mp3

and

user@slackbox:$  mpg321 somesong.mp3
 
Old 02-11-2006, 06:19 PM   #8
mman49
Member
 
Registered: Apr 2004
Location: Hanover Pa
Distribution: Fedora core 1
Posts: 104

Original Poster
Rep: Reputation: 15
I did go to the man pages and I guess i
 
Old 02-11-2006, 06:22 PM   #9
mman49
Member
 
Registered: Apr 2004
Location: Hanover Pa
Distribution: Fedora core 1
Posts: 104

Original Poster
Rep: Reputation: 15
I did go to the man pages so I kind of had it right, but do I have to cd into the folder where I have my mp3's at?

I can't seem to cd into The Cream Of Clapton. When I try to I get no such file, and doing a ls command, it looks like this.

The\ Cream\ Of\ Clapton/ How do I get into this?
 
Old 02-11-2006, 06:29 PM   #10
odevans
Member
 
Registered: Nov 2005
Location: Columbus, OH, USA
Distribution: Slackware
Posts: 246

Rep: Reputation: 30
Type the first couple of letters and hit the TAB key eg:
Code:
user@slackbox:$  cd The\ <hit tab>
Or, type it in as it appears in the output of ls:
Code:
user@slackbox:$ cd The\ Cream\ Of\ Clapton
 
Old 02-11-2006, 06:36 PM   #11
kuitang
Member
 
Registered: Sep 2005
Distribution: Slackware, Ubuntu, OS X
Posts: 58

Rep: Reputation: 15
The directory "The Cream of Clapton" has spaces. You cannot directly type spaces into an ls command because the shell will interpret it as a space in the command, no a space in the file name. So it displays "The Cream of Clapton" with The\ Cream\ Of\ Clapton/, which is exactly the way you should type it. The backslash means "escape the following character". In this case, we are escaping the space (not letting the space in the filename be interpreted as a space by the shell).

$ cd The\ Cream\ Of\ Clapton
$ ls
... Your list of files ...

using the amp decoder:
$ amp a_song_with_no_spaces.mp3
$ amp A\ Song\ With\ Spaces\ In\ It.mp3

using the mpg321 decoder:
$ mpg321 a_song_with_no_spaces.mp3
$ mpg321 A\ Song\ With\ Spaces\ In\ It.mp3

A side note is that tab-completion works for filenames with spaces just like it does for filenames without spaces. So you could instead type cd The-[TAB] and save yourself some awkward typing.
 
Old 02-11-2006, 06:46 PM   #12
odevans
Member
 
Registered: Nov 2005
Location: Columbus, OH, USA
Distribution: Slackware
Posts: 246

Rep: Reputation: 30
You can also enclose the directory name in double quotes:
Code:
user@box:$  cd "The Cream Of Clapton"
 
Old 02-11-2006, 06:49 PM   #13
mman49
Member
 
Registered: Apr 2004
Location: Hanover Pa
Distribution: Fedora core 1
Posts: 104

Original Poster
Rep: Reputation: 15
Ok, I figured it out.

You can't do it in X.

Amp is working from a straight command line before X is started. It sounds good to, but I finally was able to cd into The\ Cream\ Of\ Clapton/ but when I do a ls -1 or ls -alf, nothing shows up in those folders? What ls command am I missing?
I alreday did the man ls and tired several of those and still, now mp3's show up in the folders I cd to that do have mp3s in them..
 
Old 02-11-2006, 07:05 PM   #14
mman49
Member
 
Registered: Apr 2004
Location: Hanover Pa
Distribution: Fedora core 1
Posts: 104

Original Poster
Rep: Reputation: 15
Well, I got amp to work one time. Won't work now.
Maybe if I do a reboot. Still can't see any files in those folders I have mp3's in using the command line.
 
Old 02-11-2006, 07:10 PM   #15
mman49
Member
 
Registered: Apr 2004
Location: Hanover Pa
Distribution: Fedora core 1
Posts: 104

Original Poster
Rep: Reputation: 15
I can not see my mp3 files, now matter what option I use with the ls command.

I'm doing this as root. Could this be the problem?

Thanks.
 
  


Reply



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
How to get totem to play mp3's dude998866 Linux - Newbie 2 01-22-2006 11:33 AM
XMMS will not play .wav files on hard drive o_j Linux - General 2 09-12-2004 04:44 AM
Unable to play Mp3's remhova Red Hat 5 03-26-2004 10:30 PM
unable to play mp3's JMK Red Hat 5 11-13-2003 05:26 PM
Can't play MP3's Twiggz Linux - Software 11 09-29-2003 05:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:43 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration