![]() |
Playing a CD - Printable Version +- Snakeoil Forums (https://forums.snakeoil-os.net) +-- Forum: Hifi Talk (https://forums.snakeoil-os.net/Forum-Hifi-Talk) +--- Forum: Computer Audio (https://forums.snakeoil-os.net/Forum-Computer-Audio) +--- Thread: Playing a CD (/Thread-Playing-a-CD) Pages:
1
2
|
Playing a CD - D629497 - 06-Aug-2018 I have a DVD/CD drive in the laptop I use for my music server. I tried to play a CD through the USB, but could get no sound. mplayer -ao alsa:device=hw=1.0 cdda:// CD plays but no sound. Is this because the USB device is being used by mpd? Can I use mpd or LMS to play CDs through the DAC. This is not something I would do very often, but was wondering what I was missing? Thanks RE: Playing a CD - agent_kith - 06-Aug-2018 (06-Aug-2018, 12:27 AM)D629497 Wrote: I have a DVD/CD drive in the laptop I use for my music server. I tried to play a CD through the USB, but could get no sound. ![]() Try something like the following: Code: sudo mplayer -ao alsa:device=hw=1.0 cdda:// Did that work? Also, I'd check the command line syntax later, but you're sure it's 'hw=1.0', and not 'hw=1,0'? RE: Playing a CD - agent_kith - 06-Aug-2018 Just remembered MPD in Snakeoil OS has CDDA playback support built in. Maybe that's why it's not working via mplayer. Can you try and add some tracks in MPD and see if that works? I'd have to figure out how to do this from my end as I don't have a CD drive in my setup. Until then, can you try and start the web client (myMPD), and add a source like so: Code: cdda:///1 And then go to the queue, and try to play it. What happens? RE: Playing a CD - Bromf - 07-Aug-2018 Following this discussion... I have a usb cd drive.....lists as /dev/sr0 where do I need to add this to make it visible to Snakeoil/MyMPD player ? RE: Playing a CD - agent_kith - 07-Aug-2018 (07-Aug-2018, 09:38 AM)Bromf Wrote: Following this discussion...Go to add source, and just enter: Code: cdda:// Let me know if it errors out, and if not. Go to the playlist, and let me know what's in there.. This should work in theory, havn't said that, I havn't tested this myself. RE: Playing a CD - Bromf - 07-Aug-2018 Edit....Ok... Tried adding http://cdda:/// as a stream and it appears in the queue as 'cdda:' but nothing happens when it is selected. RE: Playing a CD - agent_kith - 07-Aug-2018 (07-Aug-2018, 11:02 AM)Bromf Wrote: Edit....Ok... Tried adding http://cdda:/// as a stream and it appears in the queue as 'cdda:' but nothing happens when it is selected.Think I may have disabled cd_paranoia (or whatever it's called) in the MPD plugins... I'd try and figure out a way to test this at home. Also, LMShas a CD player plugin. Time for me to expand the manual on how to do this.. Hope to get back to you guys soon on how to do this. RE: Playing a CD - Bromf - 07-Aug-2018 Hmmm ,... has the site had a hiccough...? for a while it was 'not found' then my post disappeared... ![]() So to recap....tried the lms plugin and got ...'Cannot access the cdrom drive - check name and whether another app is using the drive(-1)' Tried renaming.../dev/cdrom to /dev/sr0....no joy.. did a sudo apt update and sudo apt install cdda2wav which installed icedax...... still no joy..... ![]() However... the cd plugin I have never got to work on any LMS...(Daphile..PiCore...etc) so maybe it is broken... ![]() Looking forward to cd player via MyMPD .... ![]() New DAC and usb interface installed tonight and can report that DiyinHK ... https://www.diyinhk.com/shop/audio-kits/113-xmos-384khz-dxd-dsd256-high-quality-usb-to-i2sdsdspdif-pcb.html#/xmos-xmos_384k_and_0_96_vu_meter_pcb and https://www.ebay.com/itm/ES9028Q2M-ES9028-I2S-input-decoder-board-mill-board-DAC-balanced-output-/132317494575 working in I/V mode work very well with Snakeoil... ![]() ![]() RE: Playing a CD - D629497 - 08-Aug-2018 (06-Aug-2018, 08:36 AM)agent_kith Wrote: Thanks. I tried using sudo but I still get a failed to initiale device error. The syntax is correct though. I tried stopping the server and client but it made no difference. RE: Playing a CD - agent_kith - 08-Aug-2018 Sorry for the late responses guys.. I'd try and find some time soon to look into this.. Will get back to you guys once I figured out how this is done. |