More > JRiver Media Center 22 for Linux
QNAP Beta build MC 22
bob:
--- Quote from: KBoz on April 24, 2017, 09:20:41 pm ---I've loaded JRiver MC22 to my QNAP TS-451 from the download site on JRiver. I've imported files into the library, created a couple playlists and played a song without the music yet. I have an MC22 Master License with 17 remaining installs but when I click on Help and Install License and enter my registration key into the box I can't submit it. Is there another way to do this?
I'm hoping to use JRiver as a DLNA server for high res files (24/96 or 24/192) with my Oppo BD-105. Hopefully once the license is added I can see the server menu item as well. Hopefully I won't run into the problems with high res files that I have with my Samsung 4K blu-ray player streamed from a Plex server on the QNAP. It works for a while and then sounds like a 33RPM LP running at 45RPM.
--- End quote ---
The OK button is in the lower right corner of the screen.
QNAP forces all windows to full screen.
Montxx:
Bob,
Many thanks. It Worked!
Afrosheen:
--- Quote from: bob on April 24, 2017, 11:12:02 am ---Took me a bit to figure this one.
HD Station runs in a chrooted environment. You need to execute MC within that environment. Also you must be logged in on the console otherwise X isn't running.
chroot /share/CACHEDEV1_DATA/.qpkg/HD_Station su - -c "export DISPLAY=:0 ; nohup mediacenter22&"
Then to terminate MC gracefully from the command line:
killall -HUP mediacenter22
--- End quote ---
You are awesome Bob!!! You have just made this app ten times better! Thank you!
Afrosheen:
I'm wondering if a script could be written where I could have it run on my Mac Mini via cron or launchd to first check to see if MC is running on my QNAP NAS and if it times out, to run the command that Bob discovered?
Would this be possible?
bob:
--- Quote from: Afrosheen on April 28, 2017, 03:30:52 pm ---I'm wondering if a script could be written where I could have it run on my Mac Mini via cron or launchd to first check to see if MC is running on my QNAP NAS and if it times out, to run the command that Bob discovered?
Would this be possible?
--- End quote ---
I think it'd be easier to run one via the cron function on the QNAP itself but I think you should be able to do it either way.
The key is to check to see if it's already running. On standard linux distros one can use the command pidof to get the process Id of mediacenter22. If it's not running the command above could be used to start it. The only other thing is there needs to be a way to find out if the X server is running on the QNAP (the user is logged in).
It gets a bit more complex if you don't want MC running on the QNAP all of the time but it's still doable. One way would be to create a simple 0 byte file with the touch command on the QNAP to indicate whether the cron script should be starting up the mediacenter (or restarting it in case it closes) or shutting it down.
You could then use you mac to just create or delete that file and the cron script on the QNAP would do the rest. You might be able to get it to run without a password from a command line script on the Mac by using a authenticated login using a ssh key instead of the usual admin login procedure.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version