Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
JRiver Media Center...finally got it working
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
scotus africanus
n00b
n00b


Joined: 01 Apr 2007
Posts: 8
Location: umbilo,durban

PostPosted: Thu Jun 11, 2020 7:16 pm    Post subject: JRiver Media Center...finally got it working Reply with quote

I've been trying to get JRiver Media Center working on gentoo for years, kept switching to debian based distros but Gentoo is home; today i gave it another try and voila it worked. I thought I should share in case someone had a similar problem. I personally think JRMC is the best out there, streaming music to any device with a blinking light and a speaker is trivial, my AV receiver, all my phones,X-boxes see immediately. I have tried many plex, vlc all rather painful.
Disclaimer :
1. this works for me, hope it works for you. If it doesn't I feel bad, good luck.
2. there's probably a better way to do this, I'm sure
3. i don't know how safe or secure this is. uPnP scares me. a lot.
4. my system didnt break. please dont break yours.

I did the following :

1. On the host system :
- install xhost
Code:
x11-apps/xhost


-allow local users to connect to X server without authentication (very unsafe...)
Code:
 xhost +local:


-revoke it with
Code:
 xhost -local:


2. Set up a chroot environment
-I keep several chroots where i do updates before switching over, I cloned one
-the Gentoo Chroot Guide https://wiki.gentoo.org/wiki/Chroot and Steam setup guide https://wiki.gentoo.org/wiki/Steam#32-bit_chroot_on_amd64 guide are veryhelpful in setting up a chroot environment

3.Update your chroot
-i have a full kde environment
-PulseAudio server and Alsa server
-create a normal user

4. Download the .deb file
from here https://yabb.jriver.com/interact/index.php/topic,125610.0.html
I used the amd64 link https://files.jriver.com/mediacenter/channels/v26/latest/MediaCenter-26.0.87-amd64.deb
I used my Download folder, because a user was already setup
Code:
 cd ~/Downloads
wget https://files.jriver.com/mediacenter/channels/v26/latest/MediaCenter-26.0.87-amd64.deb


5. Open the archive
Code:
 ar -x MediaCenter-26.0.87-amd64.deb


6. Unpack the archives "control.tar.gz" and "data.tar.xz"
Code:
 cd /
tar -xvjf ~/Downloads/control.tar.gz
tar -xvjf ~/Downloads/data.tar.xz


7. Almost there. Login as a normal user.

8. Set your default display with
Code:
export DISPLAY=:0.0


9. To open mediacenter on the command line
Code:
mediacener26


There you go; its dirty and ugly but its a start.
-i am sure you can slim down the chroot environment to a much smaller footprint
-its not too difficult to automate with a init script
-i was able to access the server with Gizmo on android immediately
-couldnt get bluetooth sound working, but builtin ports worked fine
-Last time i tried it on a live system it clobbered all kinds of important binaries, had to reinstall. The chroot feels safer
-the commandline is quite chatty, useful to see error messages in the console as it runs

Hope it helps
ndlmzbk
_________________
apres moi le deluge
Back to top
View user's profile Send private message
vitaly-zdanevich
n00b
n00b


Joined: 01 Dec 2019
Posts: 71
Location: Belarus

PostPosted: Fri Aug 25, 2023 5:59 pm    Post subject: Reply with quote

Can you produce an ebuild please?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum