LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 07-25-2004, 11:46 PM   #1
NickC
Member
 
Registered: Nov 2003
Location: Portland, OR, USA
Posts: 111

Rep: Reputation: 15
XMMS won't play MP3 files


I am trying to use XMMS v 1.2.7 to play MP3 files. I copied the files from my Windows partition. I am able to load MP3's into the playlist, but nothing happens with I play it. If it were just a sound issue, I figured I'd at least see the timer showing seconds as the song plays within XMMS. But nothing happens in XMMS - only the song shows in the playlist.; the "Play" key doesn't respond. And the song timer is blank (just a little square shows up to the left of where the time should be.

I thought one issue could be the Windows way of including spaces in the filename. So I renamed the file with no spaces, but no luck.

I searched and there were references to Options -> Preferences and making sure the Input Plugin includes MPEG support - it does. MPEG Layer 1/2/3 Player 1.2.7 [libmgp123.so] is shown in the Input Plugin list.

I also heard that sometimes the Output Plugin has to be changed from OSS to ALSA - I changed that but no luck.

I read another suggestion to see if it works from console. So I opened up a shell and typed in: xmms <songname>.mp3 - it properly launched XMMS with the song shown in the playlist, but again didn't do a thing even when I pressed the Play button.

Any suggestions?
 
Old 07-26-2004, 01:00 AM   #2
Lakota
Member
 
Registered: Oct 2003
Location: London, ON, Canada
Distribution: Mandriva 2007 Free
Posts: 507

Rep: Reputation: 30
Open your start application menu, go to "system, configuration, other, menudrake" and open it. On the list of applications open "multimedia, sound, " and highlight the Xmms entry. On the general tab, on the "command" line it will say "soundwrapper xmms". Delete the word "soundwrapper", leave "xmms" only, and hit the save button.

That is it, should work fine then.

P. S. that is the fix for Mandrake 10.0, I have never used 9.2 hopefully the same will work for you.

Last edited by Lakota; 07-26-2004 at 01:05 AM.
 
Old 07-26-2004, 02:17 AM   #3
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
What happens when you right-click on it and select "view file info"?
 
Old 07-26-2004, 04:23 AM   #4
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
Re: XMMS won't play MP3 files

Quote:
Originally posted by NickC
MPEG Layer 1/2/3 Player 1.2.7 [libmgp123.so] is shown in the Input Plugin list.
That's good, but is the "Enable Plugin" box checked when you select that plugin?
 
Old 07-26-2004, 05:09 PM   #5
NickC
Member
 
Registered: Nov 2003
Location: Portland, OR, USA
Posts: 111

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Lakota
Open your start application menu, go to "system, configuration, other, menudrake" and open it. On the list of applications open "multimedia, sound, " and highlight the Xmms entry. On the general tab, on the "command" line it will say "soundwrapper xmms". Delete the word "soundwrapper", leave "xmms" only, and hit the save button.

That is it, should work fine then.

P. S. that is the fix for Mandrake 10.0, I have never used 9.2 hopefully the same will work for you.
I just tried this, but unfortunately it did not make a difference. XMMS is behaving the same as I described above.

motub: Yes, "Enable Plugin" was checked.


adz: when I right-click -> View File Info, there is a box to the right that says MPEG Info: Under that, it just has the line:

MPEG ?, layer ?

So it sounds like it's not recognizing this as an MP3 file?

I forgot to mention that the way I copied the files was to first mount my Windows XP partition (NTFS) in /mnt/winXP/C/ - from there I simply cp'd it to /home/<user>/Music/ Any possibility that something got corrupted in this process?

Last edited by NickC; 07-26-2004 at 05:12 PM.
 
Old 07-26-2004, 08:12 PM   #6
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
What happens when you try to play something directly from the mounted NTFS partition? WIll any other app play these mp3s?

Last edited by adz; 07-26-2004 at 08:16 PM.
 
Old 07-26-2004, 08:30 PM   #7
NickC
Member
 
Registered: Nov 2003
Location: Portland, OR, USA
Posts: 111

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by adz
What happens when you try to play something directly from the mounted NTFS partition? WIll any other app play these mp3s?
Good call!! It works fine - I launched XMMS from command line accessing /mnt/winXP/D/ which was mounted to /dev/hda5/

So it must be somehow the cp process messed stuff up. Could it be that I HAVE to transfer files through a FAT32 system? I thought NTFS was fine except Linux can't write to it (which is fine - I just want to copy files from Windows to Mandrake, not vice versa).
 
Old 07-26-2004, 08:58 PM   #8
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
Corruption on such a scale is rare. Maybe it's a permission problem. Copying from other filesystems can bugger up permissions so double check those.
 
Old 07-26-2004, 11:38 PM   #9
NickC
Member
 
Registered: Nov 2003
Location: Portland, OR, USA
Posts: 111

Original Poster
Rep: Reputation: 15
That's exactly what it was! I'm still playing around with Linux, so I didn't setup fstab to automatically mount my XP partitions with access to my userID. So I did the mount manually as root, and apparantly the cp process made the files read-only for root only. I can see how it would have made them write only for root but read for my userID. But for some reason the permissions showed as -r-------- for root.

I just did a chown to my userID and all is well now. Thanks for the help!
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how can i play mp3 files in red hat linux 9 using xmms player? nikhil_imt Linux - Software 4 01-24-2005 02:43 PM
XMMS won't play MP3 files anymore daihard Linux - Software 8 10-27-2004 10:22 PM
How to play mp3 with XMMS vanhelsing Linux - Software 12 05-31-2004 07:04 PM
KDE 3.2 - XMMS won't play mp3 martina-cz Linux - Software 13 02-29-2004 03:10 PM
mp3 files don't play in xmms orange400 Linux - General 7 03-23-2003 03:20 AM


All times are GMT -5. The time now is 02:36 PM.

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