I have PMS running on Raspberry PI 2!

server-raspberry-pi

#6

Karma007,

I'm not sure why you need to run it in a chroot but I tried without it and couldn't get it to work.  It's not a hardship to run it in a chroot, it doesn't take more resources, just space.

I left it to import the library last night and it's working very well this morning.  Scrolling through the media is smooth and responsive.  Fast forwarding to midway through a film is quick.  I don't have any media that needs transcoding so I can't test that, but I can watch everything on my mobile. 

I'm running it off a 8Gb MicroSD card, I might do it again with a 16Gb card as its already 83%, half of which is the meta-data from the library.

I think my setup is slightly different to amok's.  I'm running it headless with just the network and USB drive cables in the rPi.  I use the plex app on my phone/PC to watch or cast the media to a Chromecast.


#7

And this is casting/transcoding to chromecasts???


#8

thank you, does the transdocing work on devices like iphone, ipad ... (3G test) ?

regards

  sorry for my english..

i have install the mkvtoolnix and ffmpeg package. the pms transcode my mkv files.

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format-Profil : High@L4.1
Format-Einstellungen für CABAC : Ja
Format-Einstellungen für ReFrames : 5 frames
Codec-ID : V_MPEG4/ISO/AVC
Dauer : 1h 32min
Bitrate : 4 284 Kbps
Breite : 1 280 Pixel
Höhe : 688 Pixel
Bildseitenverhältnis : 1,85:1
Modus der Bildwiederholungsrate : konstant
Bildwiederholungsrate : 23,976 FPS

other mkv will be testet soon..


#9

Thanks, was able to get it up and running, transcoding after installing the extra packages worked for mkv but didn't works for some files.


#10

And it was surprisingly easy!
 
I followed the bitbucket guide for installing the drobo PMS into a debootstrap chroot on raspbian.
As described here: 
https://bitbucket.org/inkubux/cubox-i/wiki/Plex%20Wheezy
 
As with the Mycloud install, I had to change LC_ALL=C in the chroot plexmediaserver script and install libexpat1 (apt-get install libexpat1) in the chroot.
 
I'm using a WD MyBook to store my media. So once I had PMS running I created media folders in the chroot and then mounted the mybook folders in the main host. So my main host /etc/fstab looks like this:
 

# Chroot bind mounts
/home            /chroots/wheezy-armel/home            none bind 0 0
/mnt             /chroots/wheezy-armel/mnt             none bind 0 0
/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
/dev/pts         /chroots/wheezy-armel/dev/pts          none bind 0 0
/mnt/USB_HD/Video/Films /chroots/wheezy-armel/media/films       none bind 0 0
/mnt/USB_HD/Video/3D_Film       /chroots/wheezy-armel/media/3dfilms     none bin d 0 0
/mnt/USB_HD/Video/TVShows       /chroots/wheezy-armel/media/tv  none bind 0 0
Then I just add the chroot version (e.g. /media/tv) from the Plex GUI.

 
Last thing to do was to add samba so I can add/remove files from a windows host.



Got this working great, however, have you tried to update PMS to a later version, if so, how?


Regards


#11

Got this working great, however, have you tried to update PMS to a later version, if so, how?

Regards

Just replace the wget line with the newer version. I changed it to point to the current version but got a certificate error. So instead I downloaded it and instead of wget I copied the file from nas to the folder and continued.


#12

Got this working great, however, have you tried to update PMS to a later version, if so, how?

Regards

Yeah I just downloaded the latest Drobo version from plex.tv/downloads.  I did the first bunch of steps from within xstart on the raspbian, it makes it easy to just copy/paste from the bitbucket instructions.

With wget you can ignore the certificate issue using the --no-check-certificate switch.

Once you've downloaded and unpacked the tgx file you can get rid of everything except the application folder.


#13

Hello,

do we have to install a client on the rasp2 to see the menus on TV ? if yes, which one ?

thanks


#14

Hello,
 
do we have to install a client on the rasp2 to see the menus on TV ? if yes, which one ?
 
thanks



There is no client that runs under Raspbian, get yourself another Pi and install Rasplex.


Regards


#15

Hello,

do we have to install a client on the rasp2 to see the menus on TV ? if yes, which one ?

thanks

you could use XBMC and PlexBMC . It's not the same as a full PHT, but AFAIK it's the only way to get both on one device


#16

I've managed to follow the directions and get the server up and running on the RPi, unfortunately I am unable to access/see the files from my hard drive that is attached to my router which is causing me to be unable to add any movies to the server. Any ideas on how to get the RPi to see the hard drive that is attached to my router and access those files to use in Plex? Thanks in advance!


#17

What a great thread!  I've managed to get Plex installed and working apart from getting my media added to Plex.  I created the folder mapping to my external drive and added what I think are the correct bindings in chroot, but it's still not showing the media :(

Question: should the chroot binding reference the local mapped folder : /media/Movies  or the actual path to the drive: /dev/sda1/Movies?

Also, I noticed once putting the folder path in the bindings that when i browsed to /chroots/wheezy-armel/media/Movies it was empty....

Arrrgggg - so close and would love it if someone could point me in the right direction.

Thank you! 


#18

I do not know what precisely you mean by "should the chroot binding reference.."

I have in /etc/fstab:

# USB disk
UUID=42e48c44-a279-4279-b5a4-ec6558061dde /media/usb/shares ext4 defaults 0 2
# Plex media mounts
/media/usb/shares/music  /chroots/wheezy-armel/media/music none bind 0 0

The path for PMS is then: /media/music

music is a directory on the top level of the external drive.


#19

Thanks Eckart, I'll check my fstab file when I get home, interesting that you add the UUID of the USB disk in there and map it that way (i'll try that)!


#20

I'm not a linux expert, but if you already have Rasbian on your RPI2, why do we need to do all the "chroot" stuff ?

the drobo build should work as is ?

thanks

Because the PMS he's running is just for wheezy-armel (armv5) and doesn't work on armv7 (Raspberry Pi2, Banana Pi) so you have to install Wheezy-Armel for armv5 into che Chroot on your Armv7 device and install PMS in it.


#21

This is great news.  I use a lower powered HP Microserver to send media to my Chromecast'ed TV's.  I would love to use my Pi 2 instead just for the power consumption.  I don't need to transcode so I really can't see why this isn't a workable solution.  Come on Plex, give us a native Armv7 binary already!


#22

great find!
is there a way to get the meta data to store on the external hard drive? (i only have an 8gb sdcard and this is using a lot of that up)

lets hope this shows the pi2 is capable of plex and the powers that be release an arm 7 version...hint hint...nudge nudge


#23

This is all great, can we get a proper arm7 package now to avoid this chroot stuff which happens to break other things.

Who/where do I need to donate to to make a real package for arm7 processors happen?


#24

This is all great, can we get a proper arm7 package now to avoid this chroot stuff which happens to break other things.

Who/where do I need to donate to to make a real package for arm7 processors happen?

Can you please be a little more specific? What other things does it break? Apart from using some disk space and some extra synapses in ones brain.


#25

Can you please be a little more specific? What other things does it break? Apart from using some disk space and some extra synapses in ones brain.

mrgreaper's (I've been helping him on my site) upstart scripts are no longer working and system won't boot. I've read elsewhere pictures and covers don't show up. It just makes so much more sense to me to have a proper arm package. They have them available for different NAS systems, why not have a generic package for arm? I am happy to throw some money at this to make it happen if it can be regularly updated.