Kohai Wrote:if you guys have any suggestions let me know
OK, here is the way i installed the Plex Media Server , puuh this has stolen 8 hours of my live to make it work !
Not much testing so far, but it works.
First i had to create a debian armel chroot filesystem on my debian-laptop because there is no debootstrap prog in matrixtv or openelec.
I used the instructions from here:http://olimex.wordpress.com/2014/07/21/how-to-create-bare-minimum-debian-wheezy-rootfs-from-scratch/
and installed the plexmediaserver in it using the instructions from here:https://bitbucket.org/inkubux/cubox-i/wiki/Plex%20Wheezy
I had to alter the instructions a bit to make it work.
i also installed mc (MidnightCommander) and htop -an interactive process viewer for Linux in the chroot.
Here's how to install it in Matrixtv v1.0.1.0:
# download the wheezy-armel filesystem i made
https://www.dropbox.com/s/i720kpzg2rgoiuq/wheezy-armel.tar.gz?dl=0
and copy it to your matrix /root directory via samba or usbstick or...
# login via ssh from your computer
ssh root@192.168.your matrixtv IP here
password: root
mkdir /chroots
tar xvzf wheezy-armel.tar.gz -C /chroots
# edit fstab
nano /etc/fstab
# copy and paste the following:
# Chroot bind mounts
/tmp /chroots/wheezy-armel/tmp none bind 0 0
/proc /chroots/wheezy-armel/proc proc defaults 0 0
/dev /chroots/wheezy-armel/dev none bind 0 0
# press strg-x , y , enter to save your new fstab.
mount -a
# here i got an error: mount: mounting /home on /chroots/wheezy-armel/home failed: No such file or directory
# but you can ignore it
# enter your chroot
chroot /chroots/wheezy-armel/ /bin/bash
# setup your locales
dpkg-reconfigure locales
# set your hostname
echo (your hostname here) > /etc/hostname
# and your password
passwd
# to start the Plexmediaserver manually type:
# please read this instruction to the end !!
plexmediaserver &
# you can type htop to see if it works
# now you can access the server from your browser http://your matrixtv ip:32400/web/index.html
# to leave the chroot-environment simply type
exit
# and you're back on the matrixtv prompt.
# But if you leave the matrixtv console Plexmediaserver stops working, so we must find a way to start the Plexmediaserver directly in matrixtv.
# I tried to start it with systemd but i failed so
# I installed the Advanced Launcher plugin in XBMC. You find it here:
http://www.gwenael.org/Repository/repository.angelscry.xbmc-plugins/repository.angelscry.xbmc-plugins-1.2.2.zip
# install it via addons, install from zip
# under Programs now select Advanced Launcher,
Select the "Standalone (normal PC executable)" option
Browse to /usr/sbin/chroot Ok
In the next window you can pass command-line arguments. Enter /chroots/wheezy-armel/ /usr/bin/plexmediaserver &
next you can give a name to your launcher, i used Plex
after that i choosed linux as platform and canceled the picture and fanart questions.
If all went right you now can start the PlexMediaServer from the newly created launcher in XBMC.
If you like you can install the PleXBMC plugin from
Repository (recommended)
Download the PlexBMC add-on repository from here:
http://hippojay.github.io/repository.plexbmc.addons/download/repository.plexbmc.addons/repository.plexbmc.addons-3.0.0.zip
Install this into XBMC (System > Add-ons > Install from zip file).
Go to Add-ons > Get Add-ons > PlexBMC Add-ons for XBMC
PlexBMC is a set of two add-ons.
PlexBMC provides the main access to content. Enable it in Video, Music, or Picture (you only need to enable in one location). (This is required.)
PlexBMC Helper allows you to control XBMC from a Plex remote (such as on mobile device or the web). Essentially it causes PlexBMC to appear just like
a PlexHome Theater instance. (This is optional, but highly recommended.)
Once the add-ons are enabled, you can update to new releases simply by updating your add-ons within XBMC.
This should also work in OpenELEC, but you have to use a Directory under /storage to install it and
can use the autostart.sh feature of openELEC to start it at bootup.
I will try this later. But first i will test it under matrixtv.