More > JRiver Media Center 20 for Linux
Setup JRiver Media Center 20 In Debian Jessie
Awesome Donkey:
This tutorial aims to aid users into setting up JRiver Media Center 20 onto computers running Debian 8.0 Jessie. This tutorial does borrow ideas and parts done by InflatableMouse and his excellent Debian 7.0 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 20:
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: ---su
--- End code ---
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: ---usermod -a -G adm,sudo,audio youruser
--- End code ---
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 20 and keep Media Center 20 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: ---wget -q "http://dist.jriver.com/mediacenter@jriver.com.gpg.key" -O- | sudo apt-key add -
--- End code ---
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: ---sudo wget http://dist.jriver.com/latest/mediacenter/mediacenter20jessie.list -O /etc/apt/sources.list.d/mediacenter20.list
--- End code ---
Or...
If you're using 32-bit Debian Jessie:
--- Code: ---sudo wget http://dist.jriver.com/latest/mediacenter/mediacenter20.list -O /etc/apt/sources.list.d/mediacenter20.list
--- End code ---
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: ---sudo apt-get update
--- End code ---
That's it! Proceed to step 3!
Step 3 - Installing Media Center 20:
It's finally time to install Media Center 20! 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: ---sudo apt-get install mediacenter20
--- End code ---
During this process it should say something along the following;
--- Code: ---The following NEW packages will be installed:
lame libcue1 libreplaygain1 mediacenter20 musepack-tools vorbis-tools xfonts-unifont
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
--- End code ---
However, if you receive an error like;
--- Code: ---dependency problems prevent configuration of mediacenter20:
mediacenter20 depends on ....
--- End code ---
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: ---sudo apt-get install -f
--- End code ---
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 20.
Now assuming all dependencies are met, you've been successful at installing Media Center 20 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: ---mediacenter20
--- End code ---
Now, we're going to cover installing the license for those who have purchased in step 4!
Awesome Donkey:
Step 4 - Installing A Media Center 20 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 20. Thanks for purchasing a license and supporting the development!
First, make sure MC20 is closed and either download the .mjr by either restoring the license here or if you just purchased a Media Center 20 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: ---mediacenter20 /RestoreFromFile "Media Center20 Linux-YYYYYY.mjr"
--- End code ---
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: ---mediacenter20 /RestoreFromFile "Media Center20 Master-YYYYYY.mjr"
--- End code ---
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: ---mediacenter20 /RestoreFromFile ~/Downloads/"Media Center20 Linux-YYYYYY.mjr"
--- End code ---
If you do not encounter an error while restoring your license from the file, open Media Center 20 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 20 on your Debian Jessie 64-bit machine! The next post contains various information and tips you may find handy.
Awesome Donkey:
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: ---sudo apt-get install pavucontrol
--- End code ---
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? I used my old AMD machine just for this example and left onboard audio enabled for this example. As seen above, what I want to use as the default is my old Xonar STX card aka Virtuoso 100. 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 Virtuoso 100 as the default device?
Remember, this is an example with my old Xonar STX sound card. 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 19 and Media Center 20
If you've updated from Media Center 19 to Media Center 20, you might find yourself with two versions of Media Center installed. Since Media Center 20 is a free upgrade from Media Center 19, it's recommended you backup your settings in Media Center 19 (to somewhere you can find it, e.g. Desktop) and remove Media Center 19.
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: ---sudo apt-get remove mediacenter19
--- End code ---
Now, if you want to remove Media Center 20, just repeat step 1 and use this command instead;
--- Code: ---sudo apt-get remove mediacenter20
--- End code ---
If all goes well, your Media Center 19/20 installation(s) should be removed.
Enabling Copy And Paste Buffers
Currently Media Center 20 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 20 is open, this is the best way to do it.
Step 1: Close MC20 if its open and open a Terminal window and input the following (you *may* be prompted for your password);
--- Code: ---sudo apt-get install autocutsel
--- End code ---
Step 2: Once this is installed, leave the Terminal open and input the following;
--- Code: ---autocutsel -fork &
--- End code ---
Again, make sure to leave the Terminal open and input the following;
--- Code: ---autocutsel -selection PRIMARY -fork &
--- End code ---
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 MC20 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.1 (06-01-2015): Updated for the new build method MC uses - 32-bit Jessie is now supported!
1.0 (05-18-2015): First version of the Debian Jessie 64-bit tutorial!
JimH:
Thanks very much for all the documentation.
Awesome Donkey:
My pleasure. Can you pin this topic? Thanks! :)
Navigation
[0] Message Index
[#] Next page
Go to full version