More > JRiver Media Center 21 for Linux
Quick start guide for installing JRiver Mediacenter 21 ARM for Raspberry Pi
bob:
There is a socket issue on the linux builds that we are trying to get to the bottom of that is causing instability.
It seems like it is triggered by some DLNA devices on the network.
phillil:
Cheers guys, I really appreciate your support and the options seem really encouraging. I will try and find out what it causing JR to crash, but it just seems like when it's overloaded (being asked to do things quickly like play doctor, followed by browsing the library then selecting a different rack to play), but it does occasionally crash overnight.
I like the sound of using a pin to kill MC when the amp starts up (it does have a 5V relay output) I'll see what I can find out
I suppose there is also a way to use my old USB Windows IR remote?? With my normal setup I use a PC, and my harmony remote. I use PC software called AutoHotkey where I map one of the Windows remote keys (numpad0) to force the PC to reboot on the rare occasion something has gone wrong.
Is there an AutoHotKey equivalent for Linux that will run on the Pi do you think?? I will do some research..
Once again thanks
mwillems:
--- Quote from: phillil on December 12, 2015, 06:33:59 am ---I like the sound of using a pin to kill MC when the amp starts up (it does have a 5V relay output) I'll see what I can find out
--- End quote ---
There are several 5V input pins on the pi GPIO, so that will work perfectly if you can handle the scripting. There are lots of good scripting tutorial for the GPIO on the web, but I learned from an O'Reilly Book called "Raspberry Pi Cookbook" that has lots of examples of different GPIO uses.
--- Quote ---I suppose there is also a way to use my old USB Windows IR remote?? With my normal setup I use a PC, and my harmony remote. I use PC software called AutoHotkey where I map one of the Windows remote keys (numpad0) to force the PC to reboot on the rare occasion something has gone wrong.
Is there an AutoHotKey equivalent for Linux that will run on the Pi do you think?? I will do some research..
--- End quote ---
If you have a device (of any kind) that can communicate with a Linux box, you can script based on the inputs; if anything it's easier in Linux than windows. The main issue is that Pi's don't have native IR receivers on them, so the IR remote can't directly communicate with the Pi as is. You'd need to rig up an IR receiver on the Pi, which is possible (see e.g. https://www.pi-supply.com/product/flirc-usb-ir-remote-dongle-for-raspberry-pi/?v=7516fd43adaa or http://www.raspberry-pi-geek.com/Archive/2014/03/Controlling-your-Pi-with-an-infrared-remote
Once you get it receiving, there's a linux daemon called "trigger happy" that IIRC ships with Raspbian by default that let's you run scripts based on arbitrary inputs. There are also a bunch of other ways to do it, but if you're using an IR remote, you don't have to stop with restarting MC. You can use it for volume control, track control, you name it.
phillil:
OK, so I have now researched and managed to get my cheapo MCE remote to kill and start MC by adding key bindngs to the LXDE config file, such as;
<keybind key=”KP_1″>
<action name=”Execute>
<command>mediacenter21</command>
</action>
</keybind>
So I can use the numpad keys to execute commands, but a minor gripe that i can't seem to find help with (after many hours searching!!)....
I can launch MC, and it opens on display:0, but I want to open it on display:1 so I can see it using tigerVNC and check it's running if necessary.
I am currently just using the 'mediacenter21' command to run MC - how can I modify this to open it is display:1?? Or, should I just run the 'headless' script that we created in the beginning of this thread instead?
Also, although I can map keypad on my MCE remote (KP_1, KP_2 etc.), how do I make use of the other buttons as I don't know what they are called, and they are probably not on a keyboard?? The play, stop etc. don't seem to work for controlling MC
Many thanks
mwillems:
--- Quote from: phillil on December 13, 2015, 03:01:14 pm ---OK, so I have now researched and managed to get my cheapo MCE remote to kill and start MC by adding key bindngs to the LXDE config file, such as;
<keybind key=”KP_1″>
<action name=”Execute>
<command>mediacenter21</command>
</action>
</keybind>
So I can use the numpad keys to execute commands, but a minor gripe that i can't seem to find help with (after many hours searching!!)....
I can launch MC, and it opens on display:0, but I want to open it on display:1 so I can see it using tigerVNC and check it's running if necessary.
I am currently just using the 'mediacenter21' command to run MC - how can I modify this to open it is display:1?? Or, should I just run the 'headless' script that we created in the beginning of this thread instead?
--- End quote ---
In order to launch on display :1, you need to export the environment variable for display otherwise the script assumes display :0. So I'd advise launching a script instead of a bare command, and then in the script you'll need the line
--- Code: ---export DISPLAY=:1
--- End code ---
before you invoke mediacenter21.
--- Quote ---Also, although I can map keypad on my MCE remote (KP_1, KP_2 etc.), how do I make use of the other buttons as I don't know what they are called, and they are probably not on a keyboard?? The play, stop etc. don't seem to work for controlling MC
Many thanks
--- End quote ---
How is your IR device communicating with MC? Do you have an IR adapter plugged into the Pi? Or are the commands going through from the receiver with CEC or something like that?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version