INTERACT FORUM

More => Old Versions => JRiver Media Center 23 for Linux => Topic started by: Goatshade on March 19, 2018, 04:41:41 pm

Title: [23.0.80; Issue; Solved] Various persistent issues
Post by: Goatshade on March 19, 2018, 04:41:41 pm
So I finally decided to install Lubuntu 16.04 LTS on a separate partition in my living room HTPC SSD because while it handles Windows 10 Pro quite well for what it is, it is quite old (http://speccy.piriform.com/results/EFA0eI3wmRGGh31NbETr3aC). I have managed to get everything running okay, including MC23 via the stable repository, and intend to make this my permanent implementation on said machine by removing the Windows 10 installation; however, I am fairly new to Linux compared to Windows, and there are a few persistent issues which I imagine could be worked easily by someone with more knowledge. They are as follows:


Apart from these issues, this is looking quite promising. System runs much better all-around than it did running Windows 10 Pro, given that Lubuntu is suitably light-weight to accommodate it. I will probably upgrade (https://secure.newegg.com/Wishlist/MyWishlistDetail?ID=38974308&RandomID=76570731531029320180319145704) the system at some point with hardware that can handle 1080p, but for now, I would really like to get these issues resolved and remove the Windows 10 boot so that it can be entirely automated (no OS selection at start-up and therefore, auto-log-in and start-up of MC, as well as VNC for remoting in and maintenance). Any guidance is appreciated. :)

This is unrelated to MC, but since installing the Nvidia proprietary drivers via the Proprietary Devices tab of the Software Updater, text in parts of some applications has become humongous, where-as that of some others has become too small to read. This presents a problem when a given application does not appear to have its own robust font settings, such as Chrome with regards to the text of its tabs and bookmarks bar, and the Nvidia X Server settings all-around. Why does this occur? Thankfully, MC looks normal.
Title: Re: [23.0.80; Issue] Various persistent issues
Post by: Awesome Donkey on March 19, 2018, 05:08:14 pm
1. You have to use 23.0.102 from the latest repo to get the MC24 license to work with MC23. You should be able to override the stable repo file with the latest repo file, if desired.
2. On Linux, the MC startup options don't actually do anything. In fact, you have to set it up to start on boot with X manually - I believe there's a systemd service somebody posted that can do this, but I've never tried it or looked into it. You *may* be able to open the Startup Applications app in Ubuntu and set MC to autostart that way.
4. Yes, but if you're going to try importing the library itself (and not just the library settings, as you mentioned) remember file paths are different on Linux than on Windows (e.g. there's no drive letters, different mounting points depending on what you're trying to mount, etc.). You'll likely have to fix those using the Rename, Move, & Copy Files tool.
Title: Re: [23.0.80; Issue] Various persistent issues
Post by: mattkhan on March 19, 2018, 05:10:29 pm
https://wiki.lxde.org/en/Autostart covers autostart on lxde

sounds like you might find https://yabb.jriver.com/interact/index.php/topic,111506.0.html useful though

re the video playback, I recommend you test with a local file first to verify that the video system on the device is ok & then switch to testing streaming from the server
Title: Re: [23.0.80; Issue] Various persistent issues
Post by: Awesome Donkey on March 19, 2018, 05:16:11 pm
It should also work when adding /usr/bin/mediacenter23 /MediaServer in the Startup Applications app in Ubuntu, I just checked it. Of course, /MediaServer being optional if you don't want the MC UI to launch at boot.
Title: Re: [23.0.80; Issue] Various persistent issues
Post by: Goatshade on March 19, 2018, 07:59:14 pm
Okay, so I've solved issue #1 by switching to the latest repo temporarily to download MC23.0.102, applying the registration code, and switching back to the stable repo. With that in mind, will running apt-get update cause 23.0.80 to be installed over 23.0.102 again, or will it respect the higher version number?

I've also mostly solved issue #2 by way of mwillems' systemd instructions. System now runs both MC23 and RealVNC Server 5.3.3 at start-up/log-in. The latter is exhibiting some odd behaviour, though: It exits (crashes?) by itself every couple of minutes or so, before starting back up per the restart parameters.

Below is the code in my .service file. Is there something I should change?

Code: [Select]
[Unit]
     Description=RealVNC Server
     After=display-manager.service

  [Service]
     Type=forking
     Environment=DISPLAY=:0
     User=schmengie
     ExecStart=/usr/bin/vncserver-x11
     Restart=always
     RestartSec=10

  [Install]
     WantedBy=graphical.target
Title: Re: [23.0.80; Issue; Solved] Various persistent issues
Post by: Goatshade on March 19, 2018, 09:15:30 pm
Okay, so I did some more digging and found that RealVNC actually includes realvnc-x11-systemd. So:

Code: [Select]
sudo systemctl disable realvnc-x11.service
sudo systemctl enable realvnc-x11-systemd.service

This enables RealVNC Server in Service Mode at start-up, effectively fixing the exit/crash problem.

Additionally, I tried playing back video again in MC23, and lo and behold, issue #3 seems to have fixed itself. No more egregious jerkiness. There are occasional rendering errors, like lines in panning shots, but they're fairly infrequent. Content is now watchable, to say the least. :)

I wonder if it had to do with upgrading to 23.0.102.

Either way, with that, all immediate concerns have been addressed and remedied. HTPC, as old as it is, is now running and playing back content like a champ via MC23, which is itself running at start-up in display view along-side VNC Server 5.3.3 which enables remote maintenance. Perfect.

I really appreciate the help, guys! Very happy with the new implementation! :D