More > JRiver Media Center 20 for Linux
Setup JRiver Media Center 20 In Ubuntu/Linux Mint
Awesome Donkey:
This tutorial aims to aid users into setting up JRiver Media Center 20 onto computers running the following Linux operating systems;
Ubuntu 15.04 Vivid Vervet
Ubuntu 14.04.2 LTS Trusty Tahr
Linux Mint 17.2 Rafaela
Linux Mint Debian Edition 2 Betsy
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 20 for Linux is developed on Debian Wheezy 32-bit and Debian Jessie 64-bit - support for distros other than Wheezy 32-bit and Jessie 64-bit, like Ubuntu and Mint is considered experimental and 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, Ubuntu GNOME, Linux Mint (MATE), Linux Mint (Xfce), 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/Mint!
Step 1 - 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) and either type the following command or copy and paste the command in and press Enter (you *may* be prompted 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 Ubuntu/Linux Mint:
--- 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 Ubuntu/Linux Mint:
--- 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 2!
Step 2 - 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 extra packages will be installed:
lame libao-common libao4 libcue1 libreplaygain1 musepack-tools vorbis-tools
xfonts-100dpi xfonts-75dpi xfonts-unifont
Suggested packages:
libesd0 libesd-alsa0 ttf-unifont
The following NEW packages will be installed:
lame libao-common libao4 libcue1 libreplaygain1 mediacenter20 musepack-tools
vorbis-tools xfonts-100dpi xfonts-75dpi xfonts-unifont
0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded.
Need to get 39.9 MB of archives.
After this operation, 146 MB of additional disk space will be used.
Do you want to continue? [Y/n]
--- 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.
Now, if you're using a GNOME-based desktop environment (GNOME, Cinnamon, MATE, Unity, etc.) you should either type the following command or copy and paste the command in into the Terminal and press Enter to install these additional dependencies, otherwise skip this step if it's already installed!
--- Code: ---sudo apt-get install libp11-kit-gnome-keyring p11-kit-modules
--- End code ---
Now assuming all dependencies are met, you've been successful at installing Media Center 20 in Ubuntu/Mint! However, I recommend rebooting since this will allow MC to load up fonts correctly - otherwise if you run MC without rebooting first, fonts may look pretty horrendous!
Now, after rebooting you can start Media Center either go into the Unity dash, Mint menu, etc. and search 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 3!
Awesome Donkey:
Step 3 - 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 Ubuntu/Linux Mint machine! The next step will aid you in keeping Media Center 21 up-to-date.
Step 4 - Updating Media Center 20:
Okay, so you've got Media Center 20 installed and you might be wondering "how do I keep MC 20 up-to-date?". Well, there's several different ways available to accomplish this.
The easiest method to check for updates and update Media Center 20 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: ---sudo apt-get update && sudo apt-get dist-upgrade
--- End code ---
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 20 updates but for keeping up with the latest patches for vulnerabilities and various other potential security concerns.
The other ways to update Media Center 20? 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!
Awesome Donkey:
Get Pulseaudio Output Working:
If desired, you can also output using Pulseaudio - keep in mind though that ALSA 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 Ubuntu 14.04+/Linux Mint 17+ 64-bit 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: ---sudo apt-get install libasound2-plugins
--- End code ---
NOTE: You don't need to use this command in Ubuntu 15.04 Vivid Vervet 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: ---sudo apt-get install pavucontrol
--- End code ---
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? 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:
3.2 (06-01-2015): Updated for the new build method MC uses - install process is now simplified!
3.1 (05-18-2015): Changed the wording and updated the tutorial.
3.0 (05-14-2015): Heavily updated all the tutorials - I also removed all the dependencies as they'll be installed alongside mediacenter20. 32-bit may be supported, but needs testing!
2.2 (04-23-2015): Dropped Ubuntu 14.10 in favor of Ubuntu 15.04.
2.1 (04-16-2015): Added Ubuntu 15.04 support with a workaround to install the required libgcrypt11.
2.0 (03-15-2015): Tutorial has been rewritten and simplified. Lots of various changes!
1.8 (03-03-2015): Updated the tutorial specifying libgl1-mesa-glx:i386 and libgl1-mesa-glx as dependencies for Ubuntu 14.10 64-bit/32-bit. Also specified libgl1-mesa-glx-lts-utopic:i386 and libgl1-mesa-glx-lts-utopic as dependencies for Ubuntu 14.04.2 LTS 64-bit/32-bit (as they're apparently needed to avoid broken packages in Ubuntu 14.04.2).
1.7 (02-24-2015): Added APT repository tutorial and updated Media Center 20 links to the latest.
1.6 (02-24-2015): Added tutorial for removing Media Center 19 and Media Center 20.
1.5 (02-01-2015): Added tutorial for restoring a license, using copy and paste and updated the links
1.4 (11-10-2014): Added Linux Mint, updated links to the latest MC20 build and added a quick tutorial on updating Media Center 20 builds via the terminal
1.3 (10-23-2014): Updated for Ubuntu 14.10 and updated links
1.2 (08-12-2014): Updated for Media Center 20 + new requirements
1.1 (04-22-2014): Pulseaudio + pavucontrol information and screenshots added
1.0 (04-22-2014): Updated to reflect and require Ubuntu 14.04 LTS, updated dependencies and various fixes/changes
0.7 (03-15-2014): Updated stuff!
0.6 (02-04-2014): Updated Ubuntu 32-bit tutorial
0.5 (01-29-2014): Updated the kernel links to 3.13.1
0.4 (01-28-2014): Modified and cleaned up the formatting
0.3 (01-28-2014): Added AMD HDMI audio tutorial
0.2 (01-28-2014): Added Ubuntu 32-bit tutorial (still experimental, will need to check a couple more times)
0.1 (01-27-2014): Initial tutorial for Ubuntu 64-bit
JimH:
Thank you!
Awesome Donkey:
No problem. I'll be editing it more as the day passes. Hopefully I can get the Pulseaudio tutorial up by the end of today or tomorrow as I'll need to do some testing there (e.g seeing if .asoundrc is required or not for Pulse output, if adding yourself to the audio group is required and seeing if adding pulseaudio --start to startup is required). If I can't get it done by today instead I'll work on the tutorial of updating the kernel to get AMD HDMI audio working.
I also want to cover the ALSA device settings in MC and alsacap usage. :)
EDIT: Got side tracked by something, will resume testing and work on the tutorial tomorrow!
Navigation
[0] Message Index
[#] Next page
Go to full version