LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-27-2010, 12:15 AM   #1
epsilon72
Member
 
Registered: Mar 2007
Posts: 124

Rep: Reputation: 17
libcddb breaks aqualung - Debian Lenny


Today I find myself in need of a good gapless cd player for linux, again. I've recently made the switch from gentoo to debian and I really like it. I used aqualung as my cd player while using gentoo , but the version of aqualung in Debian is currently broken. I've tried compiling and installing a newer version, but that one couldn't play audio cd's at all, probably due to older dependancies. I can't install packages from squeeze or sid without having to upgrade a lot of things (like libc6) and that's not something I want to do.

Are there any other gapless audio cd players out there for linux? All of the major audio players I've tried so far (rhythmbox, mplayer, totem, etc.) insert gaps inbetween the tracks - which to me is really annoying, but from the look of things it must not bother other people that much.

Last edited by epsilon72; 02-27-2010 at 11:36 AM.
 
Old 02-27-2010, 12:43 AM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Here is what is available on my lenny box:
Code:
% apt-cache search gapless player
aqualung - Gapless Gtk-based audio player
mpd - Music Player Daemon
potamus - extremely lightweight GTK-based audio player
So it may be worth try potamus, although the description does not say if it will play cds.

Regarding installing a aqualung from testing or unstable: have you tried simply backporting from the source package in testing or unstable?

Evo2.
 
Old 02-27-2010, 12:51 AM   #3
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
Audacious has a rather flexible crossfader output plugin which can be used to remove gaps between tracks in playback, among other effects.
 
Old 02-27-2010, 01:41 AM   #4
epsilon72
Member
 
Registered: Mar 2007
Posts: 124

Original Poster
Rep: Reputation: 17
Unhappy

Quote:
Originally Posted by evo2 View Post
Here is what is available on my lenny box:
Code:
% apt-cache search gapless player
aqualung - Gapless Gtk-based audio player
mpd - Music Player Daemon
potamus - extremely lightweight GTK-based audio player
So it may be worth try potamus, although the description does not say if it will play cds.

Regarding installing a aqualung from testing or unstable: have you tried simply backporting from the source package in testing or unstable?

Evo2.
I would backport a newer version of aqualung from testing or sid, but besides having to upgrade many of its dependancies, the version referenced in the bug I linked to is the current sid version, and it's experiencing the same problem I have.
Potamus takes lightweight to a whole new level - It makes openbox look like KDE 4. It can't play audio cd's as far as I can tell, and doesn't even have an open file dialog - you have to drag and drop files from your file manager into it.

Quote:
Originally Posted by David the H. View Post
Audacious has a rather flexible crossfader output plugin which can be used to remove gaps between tracks in playback, among other effects.
I might be missing something, but I can't seem to find any crossfade plugin in audacious. Both audacious plugin packages did get installed...
I remember toying with audacious in my Gentoo days and seeing that the crossfading plugin worked for audio files but not cd's, but I can't remember for sure if that was the case.

Last edited by epsilon72; 02-27-2010 at 01:42 AM.
 
Old 02-27-2010, 02:14 AM   #5
epsilon72
Member
 
Registered: Mar 2007
Posts: 124

Original Poster
Rep: Reputation: 17
Okay, so this thread might turn into something else - a "let's figure out how to compile aqualung the debian way" thread.

I've narrowed down the problem to libcddb. The current version breaks aqualung, and only 1.3.* (not even available in sid) works, supposedly.

So, all I have to do is figure out how to compile and install aqualung the debian way (I don't want to just do configure/make/make install), while passing the --with-cddb=no option to the configure script.

Any debian experts know how to do this with apt-build or dpkg-buildpackage or anything like that?
 
Old 02-27-2010, 06:03 AM   #6
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
It's a long time since I did this, but basically you can start by downloading the aqualung-xxx.dsc and aqualung-xxx.diff.gz from the debian source package. Then you use the use upstream aqualung source tarball instead of the debian aqualung-xxx-orig.tar.gz. After that... well at that point I'd have to have another look and the debian new maintainers guide.

Evo2.
 
Old 02-27-2010, 08:24 AM   #7
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
The crossfade plugin in audacious is offered as one of the output plugins, in the "audio" settings tab (as opposed to the "plugins" tab). I suppose it depends on if your version has been compiled with support for it though; in debian it's provided by the audacious-plugins package.

The crossfader sits between the program and the real output plugin, monitoring and buffering the output so it can modify the way song transitions occur, so I don't see why it wouldn't work for CDs also.
 
Old 02-27-2010, 08:34 AM   #8
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
Quote:
Originally Posted by epsilon72 View Post
So, all I have to do is figure out how to compile and install aqualung the debian way (I don't want to just do configure/make/make install), while passing the --with-cddb=no option to the configure script.

Any debian experts know how to do this with apt-build or dpkg-buildpackage or anything like that?
To modify build options in debian, first download the source using apt, then cd into the "debian" directory and edit the "rules" file that should be found there. Assuming the package uses the standard build process, somewhere in that file will be a section for configuration flags.

Then just save the file and run:

dpkg-buildpackage -rfakeroot -uc -b

It will create a debian package in the parent directory that you can install.
 
Old 02-27-2010, 11:35 AM   #9
epsilon72
Member
 
Registered: Mar 2007
Posts: 124

Original Poster
Rep: Reputation: 17
David the H.: Thanks. I forgot about the rules file. I got the package built and it runs great, aside from having "Unknown Artist" and "Unknown Track" when playing cd's - but I'll take that over not being able to play cd's any time!

Also, as a side note, it looks like audacious might have had its crossfade plugin removed a little bit before the lenny freeze: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=471576
 
Old 02-27-2010, 03:10 PM   #10
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
That bug is two years old now, and the last posts say it got fixed. I don't see why they wouldn't have returned it to the package once it was working again, assuming they even needed to remove it. I don't know about lenny, but the plugin definitely still exists in the sid version of the package. I'm using it right now, in fact.

I do remember having problems with audacious at about that time, and I suppose it could've been the cause of some of them, but the big problem I remember having was that the debian package had been built with sse2 support enabled and Athlon systems choked on it. Which come to think of it is the reason I learned how to change the compile flags .
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Decibel Audio Player 1.0 - Simplistic Music Player for GNOME LXer Syndicated Linux News 0 07-19-2009 10:20 PM
Media player with gapless playback of FLAC/SHN? MheAd Linux - Software 3 06-15-2007 09:01 PM
k3b gapless problems!!! please help roggae Linux - Software 5 02-07-2005 03:34 PM
Is there an audio player with content library like Media Player? Merlin53 Linux - Software 4 11-24-2004 06:42 PM
Gapless CD Burning synecdoche Linux - General 2 07-16-2003 10:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:29 PM.

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