[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Command line audio and CD player?



Rodolfo wrote:

> I'm looking for an audio and CD command line player,
> but it seems that `cdplayer' only plays CD's but not audio files,
> whereas `m3u123' viceversa only plays audio files but not CD's.
>
> Any command line tool that plays both?


David E. Fox wrote:

> I can't think of any specifically that do the job. 
>
> On the other hand, one would think that 'mplayer' should be do it, but
> several attempts to access the cd device (/dev/cdrom, or /dev/hdc)
> failed here. 'mplayer vcd://1' managed to read the TOC and it acted
> like it was going to work (disc accesses) but it just stops. I really
> didn't expect that to work, because I have an audio CD in the drive,
> but not a video cd. Still, one would guess that if there's any command
> like player that should be able to do the job, it should be mplayer,
> simply because it seems to be able to play anything, and audio CD
> playback should be simple enough, relative to the other stuff that
> mplayer can do.



Bill Marcum wrote:

> If it isn't a video CD, try cdda:// and make sure /dev/cdrom is a 
> symbolic link to your cd player.



"David E. Fox" <dfox@m206-157.dsl.tsoft.com> writes:

> Hmm. I figured something like that was going to do it, but I couldn't
> think of the right syntax. 
>
> OTOH, I tried ('mplayer cdda://1') while a CD was in the drive
> (and /dev/cdrom is linked to /dev/hdc, which is correct here) but it
> tells me that it can't find the file '1'.
>
> This is with 1.0pre08 running (self-compiled to a debian package, not
> the Marillat version).
>
> Is this supposed to work? If so, then it would qualify the OPs
> requirement for a command line tool that playa both cd's and other
> media files.


You have to install cdparanoia and libcdparanoia0-dev and then install
mplayer again, and then do:

 $ mplayer cdda://

. See:

 http://forums.debian.net/viewtopic.php?t=7335

. Thanks, cheers,
Rodolfo



Reply to: