INTERACT FORUM

Linux => JRiver Media Center 31 for Linux => Topic started by: RalfK on September 10, 2023, 04:47:12 am

Title: CD player / ripper
Post by: RalfK on September 10, 2023, 04:47:12 am
Congratulations! Now finally, after wanting this for years, the Linux version of the MC31 also has CD ripping and a CD player integrated like the windows version. Fantastic, thank you very much!

I only have one problem left. Maybe I don't see that? So I like the GUI of Media Center. Under Windows I always use this on a computer with a monitor/keyboard and mouse. So everything is fine. But my Linux is always a headless system. How can I start or rip a CD? I can't find an auto start for ripping or playback.

At least a preconfigurable behavior after inserting a CD would be necessary: playback or ripping.

If a CD is running, you can control everything via JRemote. Really beautifully done! Of course, it would be ideal if you could decide whether ripping or playback via JRemote and/or Panel after inserting the CD.

Best regards
Ralph
Title: Re: CD player / ripper
Post by: Surfreak on September 12, 2023, 01:48:17 am
But my Linux is always a headless system. How can I start or rip a CD? I can't find an auto start for ripping or playback.

At least a preconfigurable behavior after inserting a CD would be necessary: playback or ripping.

I have the same problem with my linux config. It worked only for one time - and then never again. :-(
Title: Re: CD player / ripper
Post by: Surfreak on October 07, 2023, 01:20:40 pm
Really no answer till now? Did we miss an explanation, that it is not working under linux?
Title: Re: CD player / ripper
Post by: Awesome Donkey on October 07, 2023, 01:50:30 pm
Uhh, I don't think MC for Linux supports CD ripping yet. If support was added in MC31 and I didn't notice, I must be going blind.
Title: Re: CD player / ripper
Post by: mwillems on October 08, 2023, 09:46:49 pm
Uhh, I don't think MC for Linux supports CD ripping yet. If support was added in MC31 and I didn't notice, I must be going blind.

It does support basic ripping now in 31, I think?  Or at least it did in the early builds, I haven't tested in a few versions. 

To OP's question, I don't know a good way to start a rip on a headless system, other than the usual remote desktop/VNC solutions.
Title: Re: CD player / ripper
Post by: bob on October 09, 2023, 09:44:39 am
Auto-rip is only supported on Windows platforms. It should be removed from the options.

linux is somewhat problematic here. Some of the distros interfere with MC's detection and control of the CD/DVD drive by grabbing control of the drive at a lower level for auto-mounting, etc.
Title: Re: CD player / ripper
Post by: rifergom on December 11, 2023, 02:30:39 pm
I don't know if jriver can rip cd's on linux, probably yes, and as someone commented in this forum, maybe additional permissions are required for the user, or to be added to the group corresponding to the cd drive control, anyway the asunder application rips wonderfully well, supporting a multitude of formats (WAV, MP3, Ogg Vorbis, FLAC, Opus, Wavpack, Musepack, AAC), besides searching for disc information in online databases.
https://flathub.org/apps/ca.littlesvr.asunder
I hope this answer is useful
Title: Re: CD player / ripper
Post by: terrym@tassie on December 17, 2023, 06:27:51 pm
You can use MCWS to start a rip from a browser using the command:
Code: [Select]
http://your.server.ip.addr:52199/MCWS/v1/Control/MCC?Command=23001
The command must be executed twice as the first command brings up the rip dialog box and the second actually initiates the rip.
Save the command as a bookmark/favourite for repeatability.

I'm not sure I think that is the best behavior for MCC command, I would expect to be able to issue the MCC command just once to commence ripping.

Perhaps this function could be added to Panel?

EDIT:
On the distro I use (Linux Mint) there is a settings application called 'Removable drives and media' in that you can associate a script or program to be run when an audio cd is inserted. The default program is 'Rythmbox'.
If the setting is edited to run the following shell script (save the script as mc_autorip or something)
Code: [Select]
#!/bin/bash
/usr/lib/jriver/MC31/mc31 /MCC 23001 1> /dev/null
/usr/lib/jriver/MC31/mc31 /MCC 23001 1> /dev/null
When a CD is then inserted the rip will autorun.
I don't know enough about any other linux distros to advise on what may be available to run programs/scripts on media insertion but the above works with Linux Mint.
 
Title: Re: CD player / ripper
Post by: RalfK on April 27, 2024, 10:37:37 am
Thank you very much for this tip!
I didn't follow the topic any further at the time. But now I've checked again with MC32 to see if anything has happened. Unfortunately not.
But the call you mentioned via web browser works though. :) That makes it even more difficult to understand why it isn't integrated into JRemote...

Is there a command like this to play the CD? Because if it's running, you can control the playback process via JRemote. You just have to start the CD first.
And while we're at it: is there also a command for eject?