Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: JohnJS on July 01, 2011, 11:17:30 PM

Title: audio cd with mplayer no deps
Post by: JohnJS on July 01, 2011, 11:17:30 PM
Need command to play audio cd's with mplayer no deps.
Dvd's play fine.
Thanks.
Title: Re: audio cd with mplayer no deps
Post by: Rich on July 02, 2011, 12:19:46 AM
Hi JohnJS

A quick search turned this up:

mplayer -cdrom-device /dev/sr0 cdda:// -cache 5000

Replace sr0 with whatever your CD drive is.

If that does not work I found the following as a possible reason on the mplayerhq website:

You've compiled MPlayer without cdparanoia.  Install that (and it's
-dev packages) and then recompile mplayer.

You may have to wait for Curaga for a more definitive answer.
Title: Re: audio cd with mplayer no deps
Post by: curaga on July 02, 2011, 07:00:37 AM
This comes up once in a while. Mplayer does not play audio cd's by itself, it uses one of the cd libs for it.

Since the aim of -nodeps is to have no deps, it doesn't have this functionality. I recall the larger mplayer builds support audio cd's.
Title: Re: audio cd with mplayer no deps
Post by: JohnJS on July 02, 2011, 10:32:22 AM
Thanks Rich and Curaga,
Tried: "mplayer -cdrom-device /dev/hdc cdda:// -cache 5000" and get this:
"no stream found to handle url cdda://".

Playing audio cd's is not that important to me on this computer so I'll just live with it.
Many thanks for your help.

By the way, Curaga the mplayer no deps extension that you submitted works very well with dvd's.
Title: Re: audio cd with mplayer no deps
Post by: SamK on July 02, 2011, 10:59:14 AM
...I'll just live with it.
Have you had a look in the repo at cdplay?  It's a command line player and tiny only 8k.
   
Title: Re: audio cd with mplayer no deps
Post by: JohnJS on July 02, 2011, 03:51:59 PM
Thanks SamK.
Cdplay works fine. Really small  and great for occasional use.