Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Gentoo Linux Help > [SOLVED] MOC (Music On Console) does not list .mp3s. Oggs play fine.

Forgot Password?
 Gentoo Linux Help   For help and discussion related to Gentoo Linux

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Closed Thread
 
Thread Tools Display Modes
Old 06-07-2009   #1 (permalink)
Linux User
 
saivin's Avatar
 
Join Date: Dec 2008
Location: Bengaluru, India
Posts: 294
[SOLVED] MOC (Music On Console) does not list .mp3s. Oggs play fine.

Hi,
I installed MOC and am trying to play mp3 files. It does not even list them. It just shows my main music directory and all the subdirectories. On the otherhand .ogg files play fine.

I presume its not related to any USE flag or libraries coz, I have mp3, mpeg, ogg, vorbis, ffmpeg, etc in USE flag and have also installed xine-lib, win32codecs etc. Please note that the mp3 files play fine in Xfmedia. Only MOC has problem.

On MOC forum, somebody had similar problem (with opensuse system) and he himself solved the problem by installing 'libmad-devel' package. I installed 'libmad' but still the problem is present. I did not find 'libmad-devel' or 'libmad-dev'. What is the -devel or -dev equivalent in gentoo?
__________________
A candle looses nothing by lighting other candles. - Khalil Zibran.
Registered Linux User #490076
saivin is offline  


Old 06-07-2009   #2 (permalink)
Linux Guru
 
Join Date: Oct 2007
Posts: 2,410
what does
Code:
emerge -pv moc
report?
Jonathan183 is offline  
Old 06-07-2009   #3 (permalink)
Linux User
 
saivin's Avatar
 
Join Date: Dec 2008
Location: Bengaluru, India
Posts: 294
The following...
Code:
These are the packages that would be merged, in order:

Calculating dependencies  ... done!
[ebuild   R   ] media-sound/moc-2.5.0_alpha3-r2  USE="aac alsa curl ffmpeg flac speex vorbis -debug -jack -libsamplerate -mad -modplug -musepack -sid -sndfile -timidity -wavpack" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB
__________________
A candle looses nothing by lighting other candles. - Khalil Zibran.
Registered Linux User #490076
saivin is offline  
Old 06-07-2009   #4 (permalink)
Linux Guru
 
Join Date: Oct 2007
Posts: 2,410
Does using mad flag help?
Jonathan183 is offline  
Old 06-07-2009   #5 (permalink)
Linux User
 
saivin's Avatar
 
Join Date: Dec 2008
Location: Bengaluru, India
Posts: 294
what 'mad'ness is this?

Yes, its related to 'mad' but has not solved the problem yet. Put 'mad' in use flag and re-emerged moc. Now, moc lists .mp3 files. But when I play a file, it says: can't get decoder... What else am I missing? Is there anything I need to execute once I re-emerge a package?

Also, why installing 'libmad' did not help?
__________________
A candle looses nothing by lighting other candles. - Khalil Zibran.
Registered Linux User #490076
saivin is offline  
Old 06-07-2009   #6 (permalink)
Linux Guru
 
Join Date: Oct 2007
Posts: 2,410
I don't use moc I use mp3blaster as a console based player ... I'll have a go at setting up moc later on.
Jonathan183 is offline  
Old 06-07-2009   #7 (permalink)
Linux User
 
saivin's Avatar
 
Join Date: Dec 2008
Location: Bengaluru, India
Posts: 294
If you can do that for me and make out what worked for you, I will be grateful.

Just keep these points in the back of your mind:
a) now moc can see mp3 files but says it can't find decoder (before it could not even see an mp3.
b) mp3 is playing fine with Xfmedia all this time. So, its something moc related.
c) current system is x86 gentoo.
d) MOC works fine in my laptop with x86_64 gentoo.
__________________
A candle looses nothing by lighting other candles. - Khalil Zibran.
Registered Linux User #490076
saivin is offline  
Old 06-07-2009   #8 (permalink)
Linux Guru
 
Join Date: Oct 2007
Posts: 2,410
I got similar results to you initially so I added to /etc/portage/package.use the following line ...
Code:
media-sound/moc aac alsa ffmpeg flac mad vorbis curl -debug jack libsamplerate modplug musepack sid sndfile -speex timidity wavpack
this worked for me ... not sure minimum combination actually required - I guess you can optimise this yourself. Let us know if it works for you.

I tried this on my desktop system which is 32 bit.
Jonathan183 is offline  
Old 06-07-2009   #9 (permalink)
Linux Engineer
 
Join Date: Nov 2007
Location: Córdoba (Spain)
Posts: 1,495
The "mad" flag is all you should need for mp3, I am not sure what the problem could be.

Re-emerge libmad and try to use "revdep-rebuild", maybe libmad is broken or something...
i92guboj is offline  
Old 06-08-2009   #10 (permalink)
Linux User
 
saivin's Avatar
 
Join Date: Dec 2008
Location: Bengaluru, India
Posts: 294
solved


Mad at mad... I did nothing and its working now...

Did rebooting do the trick(shutdown system yesterday night and switched on now. )? I had compiled Xfmedia after moc and it worked like charm without rebooting or even logout-login...!

Anyway, thanks for the 'mad' suggestion Jonathan.

i92guboj, 'revdep-rebuild' is not working. It says command not found. What package I need to install?
__________________
A candle looses nothing by lighting other candles. - Khalil Zibran.
Registered Linux User #490076
saivin is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 12:48 PM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2