INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: [How-To] Set up JRiver Media Center 26 in Debian/Ubuntu/Linux Mint  (Read 19068 times)

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7886
  • Long cold Winter...

It's that time again! This tutorial aims to aid users into setting up JRiver Media Center 26 onto computers running the following Debian-based GNU/Linux operating systems/distributions/variants (others listed here *may* work, but your mileage may vary!);

Debian
Ubuntu
Linux Mint

Recommended distros/versions:

Debian 10.x Buster
Ubuntu 20.04 LTS Focal Fossa
Linux Mint 20 Ulyana


Ubuntu Studio and Linux Mint Debian Edition have not and likely will not be tested! Again, your mileage with those may vary. There *may* be issues with Ubuntu 16.04.x LTS too (e.g. segfaults) so unless the issue(s) aren't identified and corrected, you might want to consider upgrading to Ubuntu 18.04 LTS as soon as possible once it's released to avoid any possible issues.

NOTE: This tutorial does borrow ideas and parts done by InflatableMouse and his excellent Debian Wheezy tutorial found here, so please thank him.

Before we continue, please note the following;

- Media Center 26 for Linux is developed on Debian Jessie/Stretch/Buster - support for distros other than Debian Jessie/Stretch/Buster, e.g. like Ubuntu and Linux Mint are not officially supported!
- This tutorial will focus on the operating systems above, any others you're on your own with.
- This *should* also apply to Ubuntu/Mint derivatives like Xubuntu, Kubuntu, Lubuntu, Linux Mint (MATE), Linux Mint (Xfce), elementaryOS, etc. However, extra steps may be required!
- Before installing, please read the outstanding issues topic! Many of the issues noted for Debian also apply to Ubuntu/Linux Mint!


Step 0 - Debian Only - Adding yourself to the required groups:

NOTE: If you're indeed using Debian, you'll likely will need to install sudo and add your user account to the sudo group FIRST as explained in this tutorial before proceeding with this tutorial: http://milq.github.io/enable-sudo-user-account-debian/

This step is for Debian only - you can skip this step if you're using Ubuntu/Linux Mint! Got sudo installed and your user account added to the sudo group already? If not, read the note above! If you do, let's begin then! By default on Debian user accounts aren't automatically added to the adm and audio groups upon creation of the account (like with the case of sudo). This is absolutely required if you're running Debian Jessie or Debian Stretch! Okay, in a detailed nutshell we're going to set your user account as an administrator, add your user to the sudoers file and add your user to the audio group. Fortunately, all of this can done in just two simple steps! If for whatever reason you're using the root account on Debian or again you're using Ubuntu/Linux Mint/etc., you may skip this step.

First, open a Terminal (by either pressing CTRL+ALT+T or by searching for the terminal in your desktop environment) then type the following command and press Enter. You WILL be prompted for the root password!

Code: [Select]
su
Next, we're going to use the following command to add your user to the sudo, adm and audio groups! So either type the following command or copy and paste the command into the Terminal and press Enter. Be sure to change youruser to the name of your user account you picked when installing Debian!

Code: [Select]
gpasswd -a youruser sudo && gpasswd -a youruser adm && gpasswd -a youruser audio
If the command was successful, it's time to reboot the PC to make sure the changes above are applied properly. You can probably just log out of the account and log back in, but to be safe it's easier to just reboot the PC.

That's it! Proceed to step 1!


Step 1 - Add the JRiver APT Repository:

The APT repository is required to install Media Center 26 and keep Media Center 26 updated with every new release. There's three available repositories; Latest, Stable and Beta. Decide for yourself which one you want to use. Choose and use only either the latest or stable repo - you *can* use the beta repo alongside either the stable or latest repos!

NOTE: You can run the beta repo alongside either the latest or stable repos if desired (for beta testing, etc.). Don't try to use both the latest and stable repos at the same time - only choose and use one of them!

First, open a Terminal (by either pressing CTRL+ALT+T or by searching for the Terminal in your Linux distro's search feature) and either type the following command or copy and paste the command in and press Enter (you *may* be prompted for your password);

Code: [Select]
wget -q "http://dist.jriver.com/mediacenter@jriver.com.gpg.key" -O- | sudo apt-key add -
Next, with the Terminal still open, we need to download and add the correct mediacenter.list file to the /etc/apt/sources.list.d/ directory. Also, you can pick which repository you want to use (Latest, Stable or Beta - choose only one!) so either type one the following commands or copy and paste the command in and press Enter;


Media Center 26 (Latest) Repository:

This repository is using the latest up-to-date release of Media Center 26. There *may* be instability issues! NOTE: I'd personally recommend using the latest repo unless you're intending to run a "stable" system (e.g. HTPC or a Raspberry Pi).

Code: [Select]
sudo wget http://dist.jriver.com/latest/mediacenter/mediacenter26.list -O /etc/apt/sources.list.d/mediacenter26.list

Media Center 26 (Stable) Repository:

This repository is using the latest stable release of Media Center 26. It may be out-of-date compared to the Latest repository and is updated every few months (so you might have to wait for bug fixes), however these builds have been thoroughly tested and are considered stable.

Code: [Select]
sudo wget http://dist.jriver.com/stable/mediacenter/mediacenter26.list -O /etc/apt/sources.list.d/mediacenter26.list
Media Center 26 (Beta) Repository:

This repository is for beta builds - not intended for users who prefer stability! These builds are likely buggy, may crash, etc. But this repo can be used alongside either the stable or latest repos!

Code: [Select]
sudo wget http://dist.jriver.com/beta/mediacenter/mediacenter26.list -O /etc/apt/sources.list.d/mediacenter26beta.list
That's it! Now we can install Media Center 25...

Step 2 - Installing Media Center 26:

Finally, we're going to install Media Center 26! First, we need to reload the packages list, so with the Terminal still open either type the following command or copy and paste the command in and press Enter;

Code: [Select]
sudo apt-get update
You can now install Media Center 26 by opening a Terminal (by either pressing CTRL+ALT+T or by searching for the terminal in your desktop environment) or re-use the Terminal from the previous step. Next either type the following command or copy and paste the command in and press Enter (you *may* be prompted for your password);

Code: [Select]
sudo apt-get install mediacenter26
If during this process it should say something along the following;

Code: [Select]
The following extra packages will be installed:
  lame libcue1 libreplaygain1 musepack-tools vorbis-tools
The following NEW packages will be installed:
  lame libcue1 libreplaygain1 mediacenter26 musepack-tools vorbis-tools
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.

Just press Y (or Enter) when it asks this... however, if you receive an error like;

Code: [Select]
dependency problems prevent configuration of mediacenter26:
 mediacenter26 depends on ....

This means all dependencies have not been met. Don't fret, this can usually be taken care of by using the following command in the Terminal by either typing the following command or copying and pasting the command in and press Enter;

Code: [Select]
sudo apt-get install -f
It'll show you the missing dependencies, after looking them over just press enter to install them. Now assuming all dependencies are met, you've been successful at installing Media Center 26 in Ubuntu/Mint/etc! Enjoy Media Center!

NOTE: You can start Media Center either go into the GNOME menu, Xfce menu, Unity dash, KDE menu, LXDE menu, Cinnamon menu, MATE menu, etc. and search for Media Center 26 or you can run it from the Terminal by either typing the following command or copying and pasting the command in and press Enter;

Code: [Select]
mediacenter26
Now, we're going to cover installing the license for those who have purchased in step 3!
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit | Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7886
  • Long cold Winter...
Re: Set up JRiver Media Center 26 in Debian/Ubuntu/Linux Mint
« Reply #1 on: January 08, 2020, 09:34:23 am »

Step 4 - Installing A Media Center 26 Linux License Or Master License:

This portion of the tutorial will explain how to manually install your purchased license (either Linux license or Master license) in Media Center 26. Thanks for purchasing a license and supporting the development!

First, make sure MC26 is closed and either download the .mjr by either restoring the license here or if you just purchased a Media Center 26 Linux or Master license, then use the .mjr file downloaded with your purchase. After downloading your license file, open a Terminal and either type the following command or copy and paste the command in and press Enter (you *may* be prompted for your password);

If you're using a Linux license:

Code: [Select]
mediacenter26 /RestoreFromFile "Media Center26 Linux-YYYYYY.mjr"
NOTE: Replace the X's and Y's with the correct numbers from your specific .mjr file AND adjust the path to your file.

If you're using a Master license:

Code: [Select]
mediacenter26 /RestoreFromFile "Media Center26 Master-YYYYYY.mjr"
NOTE: Replace the X's and Y's with the correct numbers from your specific .mjr file AND adjust the path to your file.

If your code is located in the default downloads directory, the following command should work (remember to replace the X's and Y's with the correct numbers and change Linux to Master if you're using a Master license!);

Code: [Select]
mediacenter26 /RestoreFromFile ~/Downloads/"Media Center26 Linux-YYYYYY.mjr"
If you do not encounter an error while restoring your license from the file, open Media Center 26 up then go to the Help menu > Registration Info... - if it's registered, congratulations, your MC26 for Linux is now registered!

Additional information and discussion regarding licenses can be found in this topic.

Once you're done, you should be ready to go! Congratulations, you've successfully installed Media Center 26 on your Ubuntu/Linux Mint machine! The next step will aid you in keeping Media Center 26 up-to-date.


Step 5 - Updating Media Center 26:

Okay, so you've got Media Center 26 installed and you might be wondering "how do I keep MC 26 up-to-date?". Well, there's several different ways available to accomplish this.

The overall best way is to use your Linux distro's update manager app and check for updates that way. It *should* pick up on them (you may need to open the update manager app and hit the Refresh or Reload button to have it check for updates manually and reload the list). However, if all else fails how else can you check for updates and update Media Center 26 if an update is available? Simple! Just open a Terminal and either type the following command or copy and paste the command in and press Enter (you *may* be prompted for your password);

Code: [Select]
sudo apt-get update && sudo apt-get dist-upgrade
Let the command run and it should prompt you with a list of updates for your Linux distribution of choice. Just type Y (or yes) and the system should be updated. If you don't regularly check for updates in your Linux distro's update manager app, then it's HIGHLY recommended to run this command once a week - not just for MC26 updates but for keeping up with the latest patches for vulnerabilities and various other potential security concerns.

Other ways to update Media Center 26? Well, if you Have Synaptic Package Manager installed you can update your system from there as well. So, you've got options for updating Media Center and your operating system! :)

Okay, what's next? The next post contains various information and tips you may find handy. Enjoy!
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit | Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7886
  • Long cold Winter...
Re: Set up JRiver Media Center 26 in Debian/Ubuntu/Linux Mint
« Reply #2 on: January 08, 2020, 09:34:46 am »

Get Thread Priorities Working:

With the release of Media Center 25, it'll automatically set this up for you now! So there should be nothing to do here. :)



Get Pulseaudio Output Working:

If desired, you can also output using Pulseaudio - keep in mind though that ALSA output is bit-perfect. I'd highly recommend sticking with ALSA instead of Pulseaudio since Pulseaudio requires resampling to one sample rate, but if you wish to use Pulseaudio for whatever reason you'll need to set it up...

Pulseaudio *should* work out-of-the-box on Debian 8+/Ubuntu 14.04+/Linux Mint 17+ however if you want to cover all your bases on getting Pulseaudio working try the following commands in a Terminal by either typing the following command or copying and pasting the command in and press Enter (you *may* be prompted for your password);

Code: [Select]
sudo apt-get install libasound2-plugins
NOTE: You don't need to use this command in Debian Jessie/Stretch/Buster 64-bit, Ubuntu 15.04+ 64-bit and Linux Mint 17+ 64-bit!

Just open Media Center up, go to Tools > Options > Audio > click the Device settings... button and select pulse as the output device but keep in mind you may need to specify the default output device Pulseaudio uses via the pavucontrol utility.



Setting Default Pulseaudio Device Via PulseAudio Volume Control (pavucontrol):

When trying to use the Pulseaudio output in Media Center, you might find yourself with this type of error when trying to play music...



This means the correct output device for Pulseaudio isn't being used, thus why this error is encountered. Fortunately, there's a way to fix this. Open up a Terminal window and either type the following command or copy and paste the command in and press Enter (you *may* be prompted for your password);

Code: [Select]
sudo apt-get install pavucontrol
After installing, either start PulseAudio Volume Control by typing pavucontrol into the Terminal or by typing in Pulseaudio into the Unity dash until you see PulseAudio Volume Control. Once open, you'll want to go to the Configuration tab like seen here;



Notice how there's multiple output devices listed here? As seen above, what I want to use as the default is my Schiit Modi 2 Uber aka USB Modi Device. In this example, to set this card up I setup the Configuration tab to the following...



And take a look at the Output Devices tab now. See how it's using the USB Modi Device as the default device?



Please setup your device(s) accordingly for your own needs! And if desired setup your input devices via the Input Devices tab! If everything looks good, try playing music through Pulse again in Media Center. If sound works, congrats, you have working sound via Pulse!



Uninstall/Remove Media Center (And All Files):

Okay, first, you'll need to open a Terminal window (by either pressing CTRL+ALT+T or by searching for the Terminal in your Linux distro's search feature) and either type the following commands one-by-one or copy and paste the commands in one-by-one and press Enter (you *may* be prompted for your password);

Step 1 - Uninstall Media Center from the Terminal:

To Uninstall Media Center 23:

Code: [Select]
sudo apt-get remove mediacenter23
To Uninstall Media Center 24:

Code: [Select]
sudo apt-get remove mediacenter24
To Uninstall Media Center 25:

Code: [Select]
sudo apt-get remove mediacenter25
To Uninstall Media Center 26:

Code: [Select]
sudo apt-get remove mediacenter26
Of course if you're using a version older than Media Center 23, just substitute the version number in the command in the Terminal.

Step 2 - Remove The Media Center APT repository .list File(s):

Hopefully you didn't close the Terminal window, because you'll need it again for this next part! We need to remove the Media Center repo .list file(s) from the /etc/apt/sources.list.d/ directory. The easiest way to do this is from the Terminal, so with the Terminal open choose the command(s) below that you need...

To Remove Media Center 23's .list Latest/Stable Repository File:

Code: [Select]
sudo rm /etc/apt/sources.list.d/mediacenter23.list
To Remove Media Center 24's .list Latest/Stable Repository File:

Code: [Select]
sudo rm /etc/apt/sources.list.d/mediacenter24.list
To Remove Media Center 25's .list Latest/Stable Repository File:

Code: [Select]
sudo rm /etc/apt/sources.list.d/mediacenter25.list
To Remove Media Center 26's .list Latest/Stable Repository File:

Code: [Select]
sudo rm /etc/apt/sources.list.d/mediacenter26.list

Now, if you're using the beta repository for any installed Media Center versions, use these commands in the Terminal as well...


To Remove Media Center 23's .list Beta Repository File:

Code: [Select]
sudo rm /etc/apt/sources.list.d/mediacenter23beta.list
To Remove Media Center 24's .list Beta Repository File:

Code: [Select]
sudo rm /etc/apt/sources.list.d/mediacenter24beta.list
To Remove Media Center 25's .list Beta Repository File:

Code: [Select]
sudo rm /etc/apt/sources.list.d/mediacenter25beta.list
To Remove Media Center 26's .list Beta Repository File:

Code: [Select]
sudo rm /etc/apt/sources.list.d/mediacenter26beta.list
Again if you're using a version older than Media Center 23, just substitute the version number in the command in the Terminal.

Step 3 - Remove Media Center's Settings Folder(s):

You can leave them if you want, especially if you need to reinstall the older Media Center version, but if you want to remove the older Media Center folders you'll need the Terminal again, and use these command(s) for the older Media Center versions that were installed...

To Remove Media Center 23's Settings Folder:

Code: [Select]
sudo rm -rf '/usr/lib/jriver/Media Center 23'
To Remove Media Center 24's Settings Folder:

Code: [Select]
sudo rm -rf '/usr/lib/jriver/Media Center 24'
To Remove Media Center 25's Settings Folder:

Code: [Select]
sudo rm -rf '/usr/lib/jriver/Media Center 25'
To Remove Media Center 26's Settings Folder:

Code: [Select]
sudo rm -rf '/usr/lib/jriver/Media Center 26'
Yes, again, if you're using a version older than Media Center 23, just substitute the version number in the command in the Terminal.

And that should do it, removing all traces of previous Media Center versions.



Adding Additional Skins In Media Center 26:

Media Center 25 for Linux supports additional skins, like the Windows and Mac builds. I've created Linux-based skins (based on the excellent Modern Cards) with a Adwaita skin for GNOME 3 (the default theme is Adwaita), a Ubuntu Ambiance (GNOME) skin, a Arc Theme skin, a Mint-X Cinnamon skin, a Elementary OS skin and others. You can find them in this topic.

Now the easiest way to add skins is by doing the following; open the Home folder (using the native file manager on your distro), pressing CTRL+H to show the hidden files then going to the .jriver folder. From there open the Media Center 26 folder and you're met with multiple folders, including a Skins folder. Open Skins then Standard View and the folders inside contain the additional skins. Just drag and drop the skin you want to add (make sure you drag and drop the extracted skin folder from the Skins/Standard View directory inside the downloaded skin's archive) and change the skin within Media Center 26. If you don't see your skin listed, then the skin probably wasn't installed correctly.



Q&A:

Q: Do I need to remove older Media Center versions to install Media Center 26?

A: Nope! If you desire, you can keep older versions of Media Center installed alongside the current version. But if you're going to use only the newest version of Media Center with the Media Network feature, I'd recommend going into the older Media Center's Options > Media Network and disabling Media Network, as it *could* clash with the newer Media Center version running. I'd also recommend if you run Media Center at startup of your Linux distro to go into the older Media Center's Options > Startup and making sure the startup option is set to Nothing. From there you can set the newer Media Center to start at your Linux distro's startup.


Q: Can I uninstall/remove older Media Center versions if I don't need them anymore?

A: Yes you can! Just follow the uninstall/remove portion of the tutorial above for the older Media Center version(s) you have and want to remove.


Q: I'm running into an issue doing this, help!

A: Okay... take a deep breath and try going through the tutorial again, triple checking each step. However if you still have issues, please post a reply below! :)



Tutorial changelog:

1.0 (01/08/2020): Déjà vu all over again! Media Center 26 tutorial for Ubuntu/Mint/etc. is up! Rewrote parts of it, added a Q&A.
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit | Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72534
  • Where did I put my teeth?
Re: Set up JRiver Media Center 26 in Debian/Ubuntu/Linux Mint
« Reply #3 on: January 08, 2020, 09:40:22 am »

Thank you!
Logged

HifiMan

  • Member
  • *
  • Posts: 2
Re: [How-To] Set up JRiver Media Center 26 in Debian/Ubuntu/Linux Mint
« Reply #4 on: January 27, 2020, 09:50:01 am »

Hello,
Hi, I have Ubuntu 18.04.3, after the comman "sudo apt-get install mediacenter26" I received the error message mediacenter26 not found. Next step was the command "sudo apt-get install -f" and after reboot "mediacenter26". I could not complete the installation. Any information for me?
Thank you and best regards
Manfred
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7886
  • Long cold Winter...
Re: [How-To] Set up JRiver Media Center 26 in Debian/Ubuntu/Linux Mint
« Reply #5 on: January 27, 2020, 10:02:57 am »

Did you install the repository? If not, that's why.

Also it's worth mentioning that MC26 will likely be rebased on Debian Buster soon, which means MC26 won't run on Ubuntu 18.04 LTS (or Linux Mint 19) anymore. This is due to them having an older GLIBC library whereas MC26 will require a newer version of the GLIBC library found in Debian Buster and newer versions of Ubuntu. It's not possible to update the GLIBC library to the version that will be needed by MC26 in Ubuntu 18.04 LTS or Linux Mint 19 so they simply won't be able to run on those OSes anymore. Just something to be aware of.
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit | Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

RainCaster

  • Recent member
  • *
  • Posts: 34
headless install?
« Reply #6 on: February 25, 2020, 05:11:43 pm »

I'm trying to do a headless install on my Ubuntu 18.04 LTS server machine. I just need the server part to run, all clients will be on other machines. When I went to add the license file, it said:
MediaCenter: Unable to open the X display device (null)

How can I configure this to run in headless mode? Is there a command line switch for this?
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72534
  • Where did I put my teeth?
Re: [How-To] Set up JRiver Media Center 26 in Debian/Ubuntu/Linux Mint
« Reply #7 on: February 25, 2020, 05:20:14 pm »

That sounds like more than a license problem.  But try this, using the IP address of the server.

http://192.168.0.48:52199/Panel/#/system/admin
Logged

RainCaster

  • Recent member
  • *
  • Posts: 34
Re: [How-To] Set up JRiver Media Center 26 in Debian/Ubuntu/Linux Mint
« Reply #8 on: February 25, 2020, 06:06:35 pm »

Hard to tell if it's a license issue. The file worked fine on a Windows machine- the test client.

The server replied "192.168.0.xx refused to connect."
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72534
  • Where did I put my teeth?
Re: [How-To] Set up JRiver Media Center 26 in Debian/Ubuntu/Linux Mint
« Reply #9 on: February 25, 2020, 06:18:31 pm »

Did you try putting a monitor and keyboard on it?
Logged

RainCaster

  • Recent member
  • *
  • Posts: 34
Re: [How-To] Set up JRiver Media Center 26 in Debian/Ubuntu/Linux Mint
« Reply #10 on: February 25, 2020, 06:25:36 pm »

I have a monitor and keyboard, but no X services. This is a server, not a workstation. All I want is the network server, no display, just UPnP.

Even the web server stuff does not work, and I see nothing configured in Apache after the install that was not there before. (my website, mail, etc.)
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72534
  • Where did I put my teeth?
Re: [How-To] Set up JRiver Media Center 26 in Debian/Ubuntu/Linux Mint
« Reply #11 on: February 25, 2020, 06:42:19 pm »

You need to have an X Server installed.  MC requires it.
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7886
  • Long cold Winter...
Re: [How-To] Set up JRiver Media Center 26 in Debian/Ubuntu/Linux Mint
« Reply #12 on: February 26, 2020, 04:26:58 am »

Fair warning, but do keep in mind MC26 will soon be updated, requiring newer dependencies from at least Debian Buster and thus MC26 won't run on Ubuntu 18.04 LTS nor Linux Mint 19 anymore because the libraries in those older distros are too old.
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit | Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

RainCaster

  • Recent member
  • *
  • Posts: 34
Re: [How-To] Set up JRiver Media Center 26 in Debian/Ubuntu/Linux Mint
« Reply #13 on: February 26, 2020, 10:35:59 am »

Thanks, that tells me all I need to know. I will remove medicenter26 from my Linux machines and stop paying for the more costly "Master License".
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7886
  • Long cold Winter...
Re: [How-To] Set up JRiver Media Center 26 in Debian/Ubuntu/Linux Mint
« Reply #14 on: February 26, 2020, 12:50:59 pm »

Well, Ubuntu 20.04 LTS is coming next month, so updating to it ASAP would be recommended. Also, you should be able to get it working with a dummy X server, I believe there's been users who have done that.
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit | Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

max096

  • MC Beta Team
  • Galactic Citizen
  • *****
  • Posts: 363
Re: [How-To] Set up JRiver Media Center 26 in Debian/Ubuntu/Linux Mint
« Reply #15 on: February 26, 2020, 01:25:48 pm »

You can also always go the container route.

https://hub.docker.com/repository/docker/shiomax/jrivermc26

As long as your distro can run docker it will run the builds that require debian 10 too (assuming the image is based on debian10). You also dont need to figure out how to setup headless x11 and vnc.
Logged

pepar

  • World Citizen
  • ***
  • Posts: 248
Re: [How-To] Set up JRiver Media Center 26 in Debian/Ubuntu/Linux Mint
« Reply #16 on: March 13, 2020, 08:41:24 am »

What is the process to update from "latest" MC25 to "latest" MC26? Am using Debian Buster.

Thanks,
Jeff
Logged
"I like the future, I'm in it." F. Theater

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7886
  • Long cold Winter...
Re: [How-To] Set up JRiver Media Center 26 in Debian/Ubuntu/Linux Mint
« Reply #17 on: March 13, 2020, 11:10:41 am »

Add the MC26 repository, install MC26, backup your library in MC25, start MC26 and restore your library backup.
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit | Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

pepar

  • World Citizen
  • ***
  • Posts: 248
Re: [How-To] Set up JRiver Media Center 26 in Debian/Ubuntu/Linux Mint
« Reply #18 on: March 13, 2020, 11:57:34 am »

Add the MC26 repository, install MC26, backup your library in MC25, start MC26 and restore your library backup.
And, I'd guess (?), uninstall MC25?

Jeff
Logged
"I like the future, I'm in it." F. Theater

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7886
  • Long cold Winter...
Re: [How-To] Set up JRiver Media Center 26 in Debian/Ubuntu/Linux Mint
« Reply #19 on: March 13, 2020, 12:32:38 pm »

Well, there's no need for that unless you want to. I'd recommend keeping it until you have MC26 fully up and running with your library backup restored. Then you can uninstall MC25 if you want to.
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit | Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

kurosawa

  • Recent member
  • *
  • Posts: 6
Re: [How-To] Set up JRiver Media Center 26 in Debian/Ubuntu/Linux Mint
« Reply #20 on: April 20, 2020, 08:29:07 am »

I tried Gizmo with JRiver Mediacenter25 on Ubuntu.
I can browse the catalog(s) (albums, songs, ...) but when I am trying to play it says "the player has stopped".
I can play everything under Windows 10 with Gizmo.
I would also like to get it working on Ubuntu 18.04.4 LTS
Logged

kurosawa

  • Recent member
  • *
  • Posts: 6
Re: [How-To] Set up JRiver Media Center 26 in Debian/Ubuntu/Linux Mint
« Reply #21 on: April 20, 2020, 08:36:26 am »

posted a screenshot
Logged

mwillems

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 5240
  • "Linux Merit Badge" Recipient
Re: [How-To] Set up JRiver Media Center 26 in Debian/Ubuntu/Linux Mint
« Reply #22 on: April 20, 2020, 09:15:33 am »

posted a screenshot

So it looks like you're using Gizmo to remote control your Ubuntu instance rather than playing back locally on the phone, right (based on the "playing to server" at the top)?  So that suggests that playback on the ubuntu machine is failing for some reason.  If you start playback on the ubuntu machine manually (not using gizmo) in MC what happens?  Does it play correctly?
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7886
  • Long cold Winter...
Re: [How-To] Set up JRiver Media Center 26 in Debian/Ubuntu/Linux Mint
« Reply #23 on: April 20, 2020, 09:59:26 am »

If you're trying to play back media on Ubuntu in MC itself, what audio output device are you using? If you're using Pulse (and maybe Default), I don't think it'll work unless you resample everything to 48 kHz. If that's the case, I'd recommend using the hw: or front: outputs for your device if they're available.
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit | Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7886
  • Long cold Winter...
Re: [How-To] Set up JRiver Media Center 26 in Debian/Ubuntu/Linux Mint
« Reply #24 on: April 23, 2020, 01:15:08 pm »

So, I've upgraded to Ubuntu 20.04 LTS and of course Media Center 26 works fine.

If you're on Ubuntu 18.04 LTS, I'd highly recommend upgrading to Ubuntu 20.04 LTS ASAP as Media Center 26 will be updated targeting Debian Buster, which won't run on Ubuntu 18.04 LTS anymore because the dependencies are too old. Same goes for Linux Mint 19 and older, unfortunately Linux Mint 20 won't be released for awhile.

Because of that I've removed Ubuntu 18.04 LTS and Linux Mint 19 from the recommended distros list above.
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit | Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10968
Re: [How-To] Set up JRiver Media Center 26 in Debian/Ubuntu/Linux Mint
« Reply #25 on: April 23, 2020, 04:37:28 pm »

Bob and I talked about the version requirment a few weeks ago, and its likely that we'll keep the current setup for MC26 for now, and change over to a Buster base for all variants in a future version, likely late this year.
Logged
~ nevcairiel
~ Author of LAV Filters

bchaps

  • Member
  • *
  • Posts: 2
Upgraded to Focal Fossa - now get "double free or corruption (out)"
« Reply #26 on: April 28, 2020, 09:54:59 pm »

Hi all,

I've been running Mediacenter for a few years now and have just upgraded to Ubuntu 20.04 LTS (Focal Fossa)

When running mediacenter26, it opens and seems to work fine until a movie is played.  Music works fine.
Once played it immediately crashes.
I could not find log files anywhere for this, so I ran from the commandline and got the following output:

bchaps@cangrejo:~$ mediacenter26&
[1] 81166
bchaps@cangrejo:~$ double free or corruption (out)

[1]+  Abortado                (`core' generado) mediacenter26

Any ideas?

Thanks!
bill
Logged

mwillems

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 5240
  • "Linux Merit Badge" Recipient
Re: Upgraded to Focal Fossa - now get "double free or corruption (out)"
« Reply #27 on: April 29, 2020, 08:42:11 am »

Hi all,

I've been running Mediacenter for a few years now and have just upgraded to Ubuntu 20.04 LTS (Focal Fossa)

When running mediacenter26, it opens and seems to work fine until a movie is played.  Music works fine.
Once played it immediately crashes.
I could not find log files anywhere for this, so I ran from the commandline and got the following output:

bchaps@cangrejo:~$ mediacenter26&
[1] 81166
bchaps@cangrejo:~$ double free or corruption (out)

[1]+  Abortado                (`core' generado) mediacenter26

Any ideas?

Thanks!
bill

I've also been seeing segfaults for video on one machine lately, but I assumed it was related to my graphics card (an AMD 5700XT, which still has relatively "experimental" Linux support, I see no issues on other machines with integrated graphics). 

What kind of graphics hardware are you using?  Did MC26 previously work on this machine with the older version of Ubuntu?
Logged

bchaps

  • Member
  • *
  • Posts: 2
Re: Upgraded to Focal Fossa - now get "double free or corruption (out)"
« Reply #28 on: April 29, 2020, 09:09:03 pm »

I've also been seeing segfaults for video on one machine lately, but I assumed it was related to my graphics card (an AMD 5700XT, which still has relatively "experimental" Linux support, I see no issues on other machines with integrated graphics). 

What kind of graphics hardware are you using?  Did MC26 previously work on this machine with the older version of Ubuntu?

--UPDATE - I can play movies from Theater View - but not from a playlist.  That is strange!  But, it only made it half way through the video.
--UPDATE2 - Flattened and rebuilt.  Basically the same issue.  Discovered that if I play photos from the image gallery first, then i can start a video.  Audio works perfectly fine.  Definitely a video issue.
-- [1]+  Violación de segmento  (`core' generado) mediacenter26


Hi mwillems,
  Yes, I was originally running MC 24 (on Mint), then later 25 & 26 on the previous version of Ubuntu on this laptop. 
It is an Asus Zenbook with the regular Intel integrated graphics.
Since upgrading, I've rebooted (many times), uninstalled, reinstalled, restored from the previous days backup and even dug through the video configuration and did not find anything interesting.

This feels like one of those issues that happens because of an upgrade and is near impossible to track down. Maybe this weekend, I will flatten and rebuild from scratch since it will be raining out. :) 

bchaps@cangrejo:~$ sudo lshw -c video
[sudo] contraseña para bchaps:
  *-display                 
       descripción: VGA compatible controller
       producto: UHD Graphics 620
       fabricante: Intel Corporation
       id físico: 2
       información del bus: pci@0000:00:02.0
       versión: 07
       anchura: 64 bits
       reloj: 33MHz
       capacidades: pciexpress msi pm vga_controller bus_master cap_list rom
       configuración: driver=i915 latency=0
       recursos: irq:126 memoria:ee000000-eeffffff memoria:d0000000-dfffffff ioport:f000(size=64) memoria:c0000-dffff


Logged

kurosawa

  • Recent member
  • *
  • Posts: 6
Re: [How-To] Set up JRiver Media Center 26 in Debian/Ubuntu/Linux Mint
« Reply #29 on: May 04, 2020, 05:05:08 am »

I am using an RME ADI2 pro on Ubuntu. Everything is working fine, except that I can only upscale PCM to DSD64 and not higher.
If I try to set it highter then the music is playing not smoothly.
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7886
  • Long cold Winter...
Re: [How-To] Set up JRiver Media Center 26 in Debian/Ubuntu/Linux Mint
« Reply #30 on: May 04, 2020, 05:11:42 am »

PCM to DSD conversions are one of the most resource intensive operations Media Center can do, especially multichannel. If going beyond DSD64 causes issues with glitches and whatnot, that means the PC you're running Media Center on isn't powerful enough to handle the on-the-fly PCM to DSD conversion.
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit | Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

kurosawa

  • Recent member
  • *
  • Posts: 6
Re: [How-To] Set up JRiver Media Center 26 in Debian/Ubuntu/Linux Mint
« Reply #31 on: May 07, 2020, 05:30:46 am »

In Windows 10 there is no problem with upsampling beyond DSD64.
But anyway: "
It's one of these (silly) HiFi Myths ... Upsampling audio doesn't make the quality better. The quality is like it is.

In one of the postings here this has been clarified / confirmed also by RME (Matthias Carstens).

It's only marketing to sell you hard- or software on top that you do not require.

It only makes the files longer and creates a bit more system load because more data need to be processed
and send across USB by double / quad sample rates (88.2 - 192 kHz).

Upsampling makes only sense in situations where devices do not support a certain sample rate
which you use in your current project / setup, so this is more related to studio work.

SRC is one of the features, which is typically only required in studios, that had to be "sacrificed"
to be able to offer the ADI-2 DAC for under €1000.

"
So no upsampling for me. If I want DSD256, then I will have to rip it from vinyl or buy it online (Nativedsd, ...)
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7886
  • Long cold Winter...
Re: [How-To] Set up JRiver Media Center 26 in Debian/Ubuntu/Linux Mint
« Reply #32 on: June 30, 2020, 08:33:34 am »

Tested MC26 on Linux Mint 20 Ulyana and... it works fine. :)
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit | Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones
Pages: [1]   Go Up