INTERACT FORUM

Please login or register.

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

Author Topic: Setup JRiver Media Center 21 In Debian Jessie  (Read 9423 times)

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7909
  • Long cold Winter...
Setup JRiver Media Center 21 In Debian Jessie
« on: August 10, 2015, 06:14:46 pm »

This tutorial aims to aid users into setting up JRiver Media Center 21 onto computers running Debian 8.x Jessie. This tutorial does borrow ideas and parts done by InflatableMouse and his excellent Debian 7.x Wheezy tutorial found here, so please thank him. I thought I'd take the time to create a new tutorial for the Debian Jessie release, since installing MC on Debian Jessie is easier thanks to the APT repository. Let's get started, shall we?

But before we continue, please note the following;

- If you're using a derivative of Debian, e.g. Ubuntu or Linux Mint, please read this tutorial instead!
- Before installing, please read the outstanding issues topic! Some of the issues noted might still are present in the latest build.


Step 1 - Setting up Debian Jessie for Media Center 21:

First, we need to set your user account as an administrator, add your user to the sudoers file and add your user to the audio group. Fortunately, this can done in two simple steps. If for whatever reason you're using the root account on Debian, 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, 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 chose when installing Debian!

Code: [Select]
usermod -a -G adm,sudo,audio youruser
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 2!


Step 2 - Add the JRiver APT Repository:

The APT repository is required to install Media Center 21 and keep Media Center 21 updated with every new release.

First, open a Terminal (by either pressing CTRL+ALT+T or by searching for the terminal in your desktop environment) then either type the the following command or copy and paste the command to add the required key (it will prompt you 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 /etc/apt/sources.list.d/ depending if you're using 32-bit or 64-bit so either type one the following commands or copy and paste the command in and press Enter;

If you're using 64-bit Debian Jessie:
Code: [Select]
sudo wget http://dist.jriver.com/latest/mediacenter/mediacenter21jessie.list -O /etc/apt/sources.list.d/mediacenter21.list
Or...

If you're using 32-bit Debian Jessie:
Code: [Select]
sudo wget http://dist.jriver.com/latest/mediacenter/mediacenter21.list -O /etc/apt/sources.list.d/mediacenter21.list
Finally, 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
That's it! Proceed to step 3!


Step 3 - Installing Media Center 21:

It's finally time to install Media Center 21! First, open 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 mediacenter21
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 mediacenter21 musepack-tools vorbis-tools
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.

However, if you receive an error like;

Code: [Select]
dependency problems prevent configuration of mediacenter21:
 mediacenter21 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. But thanks to the apt repository all dependencies should be satisfied upon installing Media Center 21.

Now assuming all dependencies are met, you've been successful at installing Media Center 21 in Debian Jessie! To start Media Center either go into the Activities menu and look for Media Center 20 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]
mediacenter21
Now, we're going to cover installing the license for those who have purchased in step 4!
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: 7909
  • Long cold Winter...
Re: Setup JRiver Media Center 21 In Debian Jessie
« Reply #1 on: August 10, 2015, 06:15:37 pm »

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

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

First, make sure MC21 is closed and either download the .mjr by either restoring the license here or if you just purchased a Media Center 21 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]
mediacenter21 /RestoreFromFile "Media Center21 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]
mediacenter21 /RestoreFromFile "Media Center21 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]
mediacenter21 /RestoreFromFile ~/Downloads/"Media Center21 Linux-YYYYYY.mjr"
If you do not encounter an error while restoring your license from the file, open Media Center 21 up then go to the Help menu > Registration Info... - if it's registered, congratulations, your MC20 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 21 on your Debian Jessie 64-bit machine!  The next step will aid you in keeping Media Center 21 up-to-date.


Step 5 - Updating Media Center 21:

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

The easiest method to check for updates and update Media Center 21 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. It's HIGHLY recommended to run this command once a week - not just for MC 21 updates but for keeping up with the latest patches for vulnerabilities and various other potential security concerns.

The other ways to update Media Center 21? Well, if you Have Synaptic Package Manager installed you can update your system from there as well. Or you can just use the built-in update manager, if one is available for your Linux distro of choice! :)

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: 7909
  • Long cold Winter...
Re: Setup JRiver Media Center 21 In Debian Jessie
« Reply #2 on: August 10, 2015, 06:16:42 pm »

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

If desired, you can also output using Pulseaudio - keep in mind both ALSA and Pulse are both bit-perfect. I'd highly recommend sticking with ALSA instead of Pulseaudio, but if you wish to use Pulseaudio you'll need to set it up first. When you try 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 searching for Pulseaudio 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!


How To Remove Media Center 20 and Media Center 21:

If you've updated from Media Center 20 to Media Center 21, you might find yourself with two versions of Media Center installed. If you don't want multiple versions of Media Center installed, you can remove the old Media Center

Step 1: Backup your library and settings. Read the wiki article on how to backup your library and settings.

Step 2: Open a Terminal and input the following (you *may* be prompted for your password - answer yes when it prompts!);

Code: [Select]
sudo apt-get remove mediacenter20
Step 3 (Optional): If you want to completely remove Media Center 20's files, with the Terminal open and input the following (you *may* be prompted for your password - answer yes when it prompts!);

Code: [Select]
sudo rm -rf '/usr/lib/jriver/Media Center 20'
And...

Code: [Select]
sudo rm -rf '~/.jriver/Media Center 20'
Now, if you want to remove Media Center 21 (for whatever reason, like a clean install), just repeat step 2 and use this command instead;

Code: [Select]
sudo apt-get remove mediacenter21
If all goes well, your Media Center 20/21 installation(s) should be removed.


Enabling Copy And Paste Buffers:

Currently Media Center 21 for Linux supports one copy and paste buffer system (cut buffers) and it can be challenging to use. For further information please read Bob's topic about this here (I HIGHLY suggest you do!). The current downside is I've not found a working way to add these copy and paste commands to the X startup scripts for Ubuntu/Mint. I'll continue looking into this but for those who want copy and paste working only while Media Center 21 is open, this is the best way to do it.

Step 1: Close MC21 if its open and open a Terminal window and input the following (you *may* be prompted for your password);

Code: [Select]
sudo apt-get install autocutsel
Step 2: Once this is installed, leave the Terminal open and input the following;

Code: [Select]
autocutsel -fork &
Again, make sure to leave the Terminal open and input the following;

Code: [Select]
autocutsel -selection PRIMARY -fork &
Remember to leave the Terminal with the commands running open for as long as you need copy and paste functionality. If you close the Terminal you'll lose the ability to copy and paste!

Step 3: Open MC21 and you should be able to successfully copy and paste.

Once you're done with copy and paste, close the Terminal window. To re-enable copy and paste, just follow step 2 again.


Tutorial changelog:

1.0 (08-10-2015): First version of the Debian Jessie tutorial for Media Center 21!
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

awpagan

  • Member
  • *
  • Posts: 3
Re: Setup JRiver Media Center 21 In Debian Jessie
« Reply #3 on: August 16, 2020, 09:04:35 am »

Thought I'd update an oldy :)

Just installed MediaCenter 21.0.90 amd64 on an Intel D510 atom running Debian 10.5 using GDebi Package installer.

All dependencies were ok in GDebi, installed ok, even had the link in the sound panel..

Using MediaCenter 21 to control a music library on a Qnap to play to the sonicorbiter..
Next to get a touchscreen, byt at present can control via Gizmo..
Logged

awpagan

  • Member
  • *
  • Posts: 3
Re: Setup JRiver Media Center 21 In Debian Jessie
« Reply #4 on: August 16, 2020, 09:06:53 am »

Forgot
next is to install License.

hmmmmm
 tomorrow
Logged
Pages: [1]   Go Up