Raspberry Pi



use the xbmc build for Raspberry Pi then use the PleXBMC plugin to use it with your plex server. Not as good as a official client but it works well.

+1 Vote. I’d love to see this. Please keep us posted on any updates regarding this.

+1 That would be awesome. I want to hide this thing under my TV and stream audio and video from my home server. Please you lil geniuses from plex team make it possible :frowning:

Anyone tried this yet?



I’ve giving it a go but running into errors, not done any coding in many many years so a lot of this is all new to me, anyone else fancy trying too and get a bit of collaboration going ? I’ve been trying to hack it with little success so i’m going back to the orginal repo and will start to post my errors here as i go.



Col


I’ve managed to get PMC to compile on the Raspberry Pi. It took a lot of coaxing, but I am currently being bested by EGL. When I try and run pmc, I’m greeted by



ERROR: Unable to create application. Exiting<br />
Exiting Plex Media Server queue...



The logfile points to the likely culprit:


NOTICE: Setup SDL<br />
ERROR: EGL Error: No Display found! dpy:(nil) egl:(nil) init:0



This NOTICE line is not present in the log file for XBMC, successfully compiled from source on the same Raspberry Pi for comparison purposes. Given that the configure for PMC doesn't understand the --disable-sdl flag, which is used when compiling XBMC for the Pi, this seems like the next logical step. Unfortunately, I can't figure out how to disable SDL (for reference, the other configure flags used for XBMC on the RPi that PMC doesn't understand are --with-platform, --disable-x11, --disable-airply, -disable-alse, --enable-avahi, --disable-nfs, --disable-projectm, --enable-rsxs. The first is understandable, but I feel like --disable-x11 will also give problems if not dealt with).

Any suggestions?

Did you manage to get it to configure with --enable-gles ok ? I keep getting stuck at



checking for main in -lGL… no

configure: error: Could not find a required library. Please see the README for your platform.



Would appreciate any advice.



Col




Have you had a look over here: http://www.raspbian.org/RaspbianXBMC it has some stuff on egl before configure when compiling xbmc, might help here too.

/Mark


Cheers Mark, area pointed me in the right direction so i'm getting a little further. We are taking two different approaches so we shall see how it works out. Area is doing it right and i'm hacking away lol.

Anyone else fancy trying too so we can get a few more heads working on it too ?

Col

FYI area has created an IRC channel on freenode #plex-rbp so feel free to drop by if your trying to compile it too :slight_smile:


I’m getting errors while compiling, got past a lot of errors but i’m not seeing anything obvious here, i’ve put the capture of the error on pastebin if anyone can have a quick look.



plex compile error on pi - Pastebin.com


I have a pi and I would love to help but have no idea where to start…

You and me both lol, I’ve started with the generic PMC for linux compiling instructions which are in this forum and trying to tinker to get it to work although it’s a very steep learning curve and if I’m honest I’m not getting too far.



I’m really surprised more people haven’t taken up the gauntlet, i saw a posing on the Pi forums that more codecs may be on the way so more things will be accelerated which is always a bonus, hopefully DTS/DD.



Col

Okay, so, I’ve made some edits and posted them at https://github.com/area/plex-linux.



If anyone wants to tag along, then checking out the above tree, and then:



cd plex-linux<br />
git submodule init<br />
git submodule update<br />
mkdir ./xbmc/lib/libPython/Python/build/lib.linux-armv6tel-2.4<br />
ln -s ./xbmc/lib/libPython/Python/build/lib.linux-armv6l-2.4/ ./xbmc/lib/libPython/Python/build/lib.linux-armv6tel-2.4/<br />
./bootstrap<br />
 ./configure --prefix=/usr --build=arm-linux-gnueabihf --host=arm-linux-gnueabihf \<br />
    --localstatedir=/var/lib --with-platform=raspberry-pi --disable-gl --enable-gles \<br />
    --disable-x11 --disable-sdl --enable-ccache --enable-optimizations \<br />
    --enable-external-libraries --disable-goom --disable-hal --disable-pulse \<br />
    --disable-vaapi --disable-vdpau --disable-xrandr --disable-airplay \<br />
    --disable-alsa --enable-avahi --disable-libbluray --disable-dvdcss \<br />
    --disable-debug --disable-joystick --enable-mid --disable-nfs --disable-profiling \<br />
    --disable-projectm --enable-rsxs --enable-rtmp --disable-vaapi \<br />
    --disable-vdadecoder --disable-external-ffmpeg  --disable-optical-drive<br />
make<br />




Will cause it to build. If you try to run xbmc.bin, however, it will crash, giving the errors I posted previously.

The next thing to do is to get it to work; I am 99% convinced that this involves porting across WinSystemGLES and friends from xbmc-rbp. My attempts to do this so far have been almost successful, but I'm getting the odd collision with WinSystemEGL. GLES and EGL are clearly closely related, but I'm not such which avenue to approach this from, because xbmc-rbp doesn't have WinSystemEGL, and plex-linux doesn't have WinSystemGLES.

Suggestions (and commits!) welcome.

I have RaspBMC running on my Pi.



Its great, BUT:



1 - BD playback has occasional stutters.

2 - Pi has no MPEG2 codec due to licencing issues



Because of 2 its a bit of a dead duck.



There is a small light at the end of the tunnel though…



you can now purchase a mpeg2 licence on the raspberrypi website


I can't wait to get my Pi :>

Now that we have the Plex Web Client wouldnt it be a lot easier just to use this on a raspberryPi?

Give it a try, would be great to know if it works and how it will work with a remote control etc.



Col.




I've tried it with chromium on raspbian, without luck, for playback is Adobe Flash required and it seems like there is no ARM version of Adobe Flash :( Browsing and editing you library's works just fine.
I Just tried the other two pre-installed browsers but they don't even load the web client.

Does anyone have an idea how to enable movie playback?


Are you a plexpass user? Were you going to use the Pi as a server or client?