You are not logged in.

#1 2006-11-21 23:52:15

Shagbag
Member
Registered: 2006-10-25
Posts: 259

Can XMMS play direct from a CD? [RESOLVED]

Oh God, I'm so ashamed to have to ask this question.  I'm a total n00b to XMMS.  I only installed it because it was listed as a 'Favourite Application' on my Enlightenment DR17 install.

Could someone please, kindly tell me if and how XMMS can play directly from a CD?

I have already installed the 'codecs' package with pacman, btw.

Offline

#2 2006-11-22 01:40:34

bones
Member
From: Brisbane
Registered: 2006-03-24
Posts: 322
Website

Re: Can XMMS play direct from a CD? [RESOLVED]

You want the good news or bad news  wink
The good news is there is a plugin available that lets you play CD's
The bad news is I can't remember the name or where it is, as it's been a while since I used xmms so you'll need to do some detective work.


"When once you have tasted flight, you will forever walk the earth with your eyes turned skyward, for there you have been, and there you will always long to return."

Offline

#3 2006-11-22 01:56:35

slackhack
Member
Registered: 2004-06-30
Posts: 738

Re: Can XMMS play direct from a CD? [RESOLVED]

Offline

#4 2006-11-22 08:13:46

Shagbag
Member
Registered: 2006-10-25
Posts: 259

Re: Can XMMS play direct from a CD? [RESOLVED]

Thanks guys!  I'll install it tonight when I get home from work.

Offline

#5 2006-11-22 21:33:08

Shagbag
Member
Registered: 2006-10-25
Posts: 259

Re: Can XMMS play direct from a CD? [RESOLVED]

It's got me stumped.  I still can't see the CD in XMMS even after I installed libcdaudio (pacman -Sy libcdaudio).

When I run 'mount' I get the following:

/dev/hda13 on / type ext3 (rw)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /proc/bus/usb type usbfs (rw)
none on /dev/pts type devpts (rw)
none on /dev/shm type tmpfs (rw)

No sign of a cd-rw or dvd-rom anywhere. sad
So I look at my /etc/fstab:

none /dev/pts devpts defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/cdrom /mnt/cd iso9660 ro,user,noauto,unhide 0 0
/dev/dvd /mnt/dvd udf ro,user,noauto.unhide 0 0
/dev/hda5 swap swap defaults 0 0
/dev/hda13 / ext3 defaults 0 0

The request to mount the cdrom and dvd are in /etc/fstab but it seems they're not being executed.
If I try mount -t iso9660 /dev/cdrom /mnt/cd I get the error:

mount: block device /dev/cdrom is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/cdrom,
missing codepage or other error
In some cases useful info is found in syslog - try dmesg | tail or so

So I try dmesg | tail and get:

hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54 { AbortedCommand LastFailed Sense=0x05 }
ide: failed opcode was: unknown
ATAPI device hds:
Error: Illegal request -- (Sense key=0x05)
Illegal mode for this track or incompatible medium -- (asc=0x64, ascq=0x00)
The failed "Read 10" packet command was:
"28 00 00 00 00 10 00 00 01 00 00 00 00 00 00 00 "
end_request: I/O error, dev hdc, sector 64
isofs_fill_super: bread failed, dev=hdc, iso_blknum=16, block=16

Which is virtual 'double-dutch' to a n00b like me.  Can anyone suggest what I should do?

Offline

#6 2006-11-22 21:59:17

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: Can XMMS play direct from a CD? [RESOLVED]

You don't mount audio cds. I'm not sure, but the first error could also mean that your cd drive isn't connected properly (just until recently I was wondering why dvd burning almost always failed on me ;-)). If you're getting this error while reading other discs, you'd better double-check.

I'm not sure about xmms (you could be better off with some newer, maintained software, e.g. audacious or bmp if you're looking for winamp-like look), but I think that to play audiocd you either have to enter the configuration dialog and configure audiocd plugin (point to it /dev/cdrom) or perhaps just click on "play files" and navigate to /dev/cdrom.

-edit-

I think you should install xmms-cdparanoia package in order to play audio cds with xmms.

-another edit-

Seems that cdparanoia is only an alternative. Just open configuration dialog and set the CD Audio Player plugin to /dev/cdrom (don't forget to set it to digital extraction if you don't have a cable connecting cdrom with a soundcard). Then I think you should choose Play Location and enter /dev/cdrom (I have no audio cds here, can't check).

Offline

#7 2006-11-22 22:21:26

Borosai
Member
From: Sandy Appendix, U.S.A.
Registered: 2006-06-15
Posts: 227

Re: Can XMMS play direct from a CD? [RESOLVED]

Unless you absolutely must use XMMS, you might want to try Audacious. It's not perfect, but it will will play CDs with a simple Alt+C. Just install audacious-player and audacious-plugins to try it out. Oh, but before you play a CD, you have to go the Preferences-->Plugins-->Select the CD Audio plugin and enter it's preferences window. There you set the device location (/dev/hda in my case) and other options to get it to work just right. Good luck.

Offline

#8 2006-11-22 22:43:20

erosa
Member
Registered: 2006-10-17
Posts: 14

Re: Can XMMS play direct from a CD? [RESOLVED]

Borosai wrote:

Unless you absolutely must use XMMS, you might want to try Audacious. It's not perfect, but it will will play CDs with a simple Alt+C. Just install audacious-player and audacious-plugins to try it out. Oh, but before you play a CD, you have to go the Preferences-->Plugins-->Select the CD Audio plugin and enter it's preferences window. There you set the device location (/dev/hda in my case) and other options to get it to work just right. Good luck.

I second Audacious.


Oh boy!

Offline

#9 2006-11-23 09:10:35

Shagbag
Member
Registered: 2006-10-25
Posts: 259

Re: Can XMMS play direct from a CD? [RESOLVED]

Thanks for all the replies.  I'm still perservering with XMMS at this stage.  I'll definitely try Audacious once I've got XMMS working.  For now I'm still trying to get some sound.

I didn't realise I had to configure XMMS's CD audio player - duh!  Once I did that and created a /mnt/cdrom directory XMMS could play my CD.  The only problem is I can't hear anything.  I fiddled with Enlightenment DR17's volume but didn't get any results.  I wanted to configure ALSA but I don't know how to bring it up from the command line.

Can anyone please tell me what command I need to run to configure ALSA?

Offline

#10 2006-11-23 11:51:55

rayjgu3
Member
From: Chicago IL usa
Registered: 2004-07-04
Posts: 695

Re: Can XMMS play direct from a CD? [RESOLVED]

su
pacman -S alsa-utils alsa-lib alsa-oss
alsaconf
follow direction on screen
also see here

Offline

#11 2006-11-24 22:14:08

Shagbag
Member
Registered: 2006-10-25
Posts: 259

Re: Can XMMS play direct from a CD? [RESOLVED]

Whoah!  Excellent.  I've got it working.  I can hear Jamiroquai as I type this!
The link to the ALSA wiki was really helpful.  Thanks for that.  I also needed the binaries you suggested, which I downloaded.  That gave me 'alsamixer' which I didn't seem to have.  I ran 'alsamixer' and noticed that everything was off.  I typed 'h' to get the help screen and from there it was all common sense. big_smile

Thanks everyone for the tips.  Now I've got XMMS working it's time to try Audacity.

Offline

#12 2006-11-24 23:07:35

Borosai
Member
From: Sandy Appendix, U.S.A.
Registered: 2006-06-15
Posts: 227

Re: Can XMMS play direct from a CD? [RESOLVED]

I'm glad to hear it. Just a reminder...audacity and audacious are two different programs. Make sure you are installing the one you want. smile

Offline

#13 2006-11-25 07:56:40

Shagbag
Member
Registered: 2006-10-25
Posts: 259

Re: Can XMMS play direct from a CD? [RESOLVED]

LOL!  I'm such a frickin' n00b.  Thanks for the correction.  Audacious it is.

Offline

Board footer

Powered by FluxBB