Welcome! Log In Create A New Profile

Advanced

Plex server on Pogoplug E02 and Debian?

Posted by rkrug 
Plex server on Pogoplug E02 and Debian?
January 15, 2016 06:07AM
I have seen that I can install Plex Server on a pogoplug running Arch (http://blog.qnology.com/2013/03/tutorial-pogoplug-e02-with-arch-linux.html) but can I also install it on Debian?

I prefer Debian very much and was only confused by Arch the last time I tried it out.

Any suggestions?

===========================
Blog: https://rmkrug.wordpress.com/

1 x Pogoplug E02 (pink): Logitech media server

1 x Pogoplug E02 (pink): FTP server only (throw away configuration - quick to rebuild)

1 x GoFlex Net: running OpenMediaVault
Re: Plex server on Pogoplug E02 and Debian?
January 15, 2016 11:02PM
Plex works great on PogoPlug. Here is the file I compiled a while ago http://www.mediafire.com/file/zwy6gv23br823qr/plexmediaserver_0.9.12.8.1362-4601e39_armel.deb

I use it with https://github.com/Kayomani/PlexExternalPlayer in order to use external player instead of browser player.



Edited 2 time(s). Last edit at 02/26/2017 06:43PM by Almaz.
Re: Plex server on Pogoplug E02 and Debian?
January 28, 2016 02:25PM
Almaz, I hope my experience at your uploadex.com page was a false positive, but some scary popups appeared, at first telling me I don't have Flash installed, and to call a telephone number for help, but I have a feeling if I had Flash installed it would have boa constrictor-ed my ThinClient to death.

=========
-=Cloud 9=-
Re: Plex server on Pogoplug E02 and Debian?
January 29, 2016 02:28AM
:) that's what you get from uploading files to a free site. Anywho the file I uploaded is safe but popups from uploadex is a nightmare. You should really start using adblocks + hosts file. I'm using my personal adblocking with dnsmasq and pixelserv so I get 0 popups and no ads.
Re: Plex server on Pogoplug E02 and Debian?
January 30, 2016 03:27PM
Almaz,

Thanks for this file. I'm waiting to get my pogo to Jessie and then I will install it.

But can you say though how to install it, since it's not in repo?

Also, what are your experiences using Plex on this pogo? And what version of Debian are you using?

Thanks a lot, again for this file.
Re: Plex server on Pogoplug E02 and Debian?
January 30, 2016 06:18PM
Well, Plex works fine on my PogoPlug for internal network, sometimes it might delay for a few seconds when you scroll fast. Plex will not convert videos but you can use your favorite external player such as MPC to play any video. If you want to use Plex web player then you must have all the video files in MP4 files and AAC audio. If you have MKV files with AAC audio then you can easily convert them with PogoPlug to MP4 container in 60 seconds. Just install it with dpkg -i plexfile.deb Don't remember right now about dependencies.
Re: Plex server on Pogoplug E02 and Debian?
January 31, 2016 07:54AM
Almaz Wrote:
-------------------------------------------------------
> Well, Plex works fine on my PogoPlug for internal
> network, sometimes it might delay for a few
> seconds when you scroll fast. Plex will not
> convert videos but you can use your favorite
> external player such as MPC to play any video. If
> you want to use Plex web player then you must have
> all the video files in MP4 files and AAC audio.
> If you have MKV files with AAC audio then you can
> easily convert them with PogoPlug to MP4 container
> in 60 seconds. Just install it with dpkg -i
> plexfile.deb Don't remember right now about
> dependencies.

Does this mean it does not transcode. My client does not work on all kinds of files and I want plex to convert as demand by the client. It does not sound like plex on pogo can do that. Or is it just this version that you have here that does not?
Re: Plex server on Pogoplug E02 and Debian?
January 31, 2016 11:45AM
Pogoplug is not powerful to transcode. It works great with PC or Android devices
cdlenfert2
Re: Plex server on Pogoplug E02 and Debian?
February 24, 2017 06:17PM
Hi Almaz, sorry to revive a year old thread, but I'm just going down the road of exploring Plex on the Pogo and was wondering if remote access would to media would be possible? On the client side I've got Kodi with the Plex plugin, so I should be able to play back any file format directly on the device. But I'm wondering if remote access is even possible on what I'm sure is an older version of Plex Media Server running on the Pogo. Thanks for any feedback.
Re: Plex server on Pogoplug E02 and Debian?
February 24, 2017 06:23PM
It'll stream only supported files as long as there is no encoding is involved. I use it on a daily basis but at home using local LAN. I'd probably wouldn't use it for remote access. For remote access just use your main PC by using WOL.
Cdlenfert2
Re: Plex server on Pogoplug E02 and Debian?
February 24, 2017 08:11PM
Thanks for the quick reply. What is WOL?
Re: Plex server on Pogoplug E02 and Debian?
February 26, 2017 02:27AM
WOL means Wake ON Lan
You can remotely turn on your PC from any device such as phone, router, pc and etc
a
Re: Plex server on Pogoplug E02 and Debian?
February 26, 2017 06:29PM
Can anyone please upload plex again ? URL above isn't working.
Re: Plex server on Pogoplug E02 and Debian?
February 26, 2017 06:43PM
Here you go http://www.mediafire.com/file/zwy6gv23br823qr/plexmediaserver_0.9.12.8.1362-4601e39_armel.deb

I didn't update to the latest version because this one is stable enough to what I do but I might update to the latest version if it has any improvements.




a Wrote:
-------------------------------------------------------
> Can anyone please upload plex again ? URL above is
> n't working.



Edited 1 time(s). Last edit at 02/26/2017 06:44PM by Almaz.
Re: Plex server on Pogoplug E02 and Debian?
February 26, 2017 06:50PM
Directions to install Plex media server on PogoPlug

Download and install Plex package Plex package
dpkg -i plex*

I don't remember if I included start init script but just in case

nano /etc/init.d/plexmediaserver

#!/bin/sh
### BEGIN INIT INFO
# Provides:          plexmediaserver
# Required-Start:    $remote_fs $syslog $networking
# Required-Stop:     
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Plex Media Server
# Description:       Plex Media Server for Linux,
#                    More information at http://www.plexapp.com
#                    Many thanks to the great PlexApp team for their wonderfull job !
# Author:            Cedric Quillevere / origin@killy.net
# Rewamped	     Christian Svedin / christian.svedin@gmail.com
# Version:           1.2
### END INIT INFO

# Read configuration variable file if it is present
[ -r /etc/default/plexmediaserver ] && . /etc/default/plexmediaserver

test -f "/usr/lib/plexmediaserver/start.sh" || exit 0

plex_running=`ps ax | grep "\./Plex Media Server" | awk '{ print $1 }' | wc -l`

case "$1" in
    start)
	if [ "$plex_running" -gt 1 ]; then
		echo "Plex already running..."
		exit 0
	fi
	echo -n "Starting Plex Media Server: "
	su -l $PLEX_MEDIA_SERVER_USER -c "/usr/sbin/start_pms &" >/dev/null 2>&1
	sleep 1
	echo "done"
	;;
    stop)
	if [ "$plex_running" -eq 1 ]; then
		echo "Plex Media Server is not running (no process found)..."
		exit 0
	fi
	echo -n "Killing Plex Media Server: "
	# Trying to kill the Plex Media Server itself but also the Plug-ins
	ps ax | grep "Plex Media Server" | awk '{ print $1 }' | xargs kill -9 >/dev/null 2>&1
	ps ax | grep "Plex DLNA Server" | awk '{ print $1 }' | xargs kill -9 >/dev/null 2>&1
	ps ax | grep "Plex Plug-in" | awk '{ print $1 }' | xargs kill -9 >/dev/null 2>&1
	sleep 1
	echo "done"
	;;
    restart)
	sh $0 stop
	sh $0 start
	;;
    status)
        if [ "$plex_running" -gt 1 ]; then
                echo "Plex Media Server process running."
	else
		echo "It seems that Plex Media Server isn't running (no process found)."
        fi
	;;
    *)
	echo "Usage: $0 {start|stop|restart|status}"
	exit 1
	;;
esac

exit 0

then

chmod +x /etc/init.d/plexmediaserver
update-rc.d plexmediaserver defaults


Default configuration for Plex
nano /etc/default/plexmediaserver

.# default script for Plex Media Server

# the number of plugins that can run at the same time
PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS=2

# ulimit -s $PLEX_MEDIA_SERVER_MAX_STACK_SIZE
PLEX_MEDIA_SERVER_MAX_STACK_SIZE=3000

# where the mediaserver should store the transcodes
PLEX_MEDIA_SERVER_TMPDIR=/tmp

# uncomment to set it to something else
# PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR="${HOME}/Library/Application\ Support"

# the user that PMS should run as, defaults to 'plex'
# note that if you change this you might need to move
# the Application Support directory to not lose your
# media library
PLEX_MEDIA_SERVER_USER=root



Plex data takes a lot of space and if you are using a small storage such as USB stick, it's better to store data somewhere else

move Plex Media Server folder to a new destination

assuming you wish to move data to /mnt/usb/PlexData
ln -s '/mnt/usb/PlexData' '/root/Library/Application Support/Plex Media Server'
or if it doesn't work
ln -s '/mnt/usb/PlexData' '/root/Library/Application Support/Plex\ Media\ Server/'

I use MPC-HC player to watch movies in Plex but if you wish to use internal Plex player then you can convert MKV container to MP4. It usually takes under 2 minutes per movie and it'll automatically scan your folder and convert them.

Put the above script in cron and install avconv, mkvinfo
Modify movie folder from /mnt/usb/movies to your movie folder location

#!/bin/bash
service cron stop
OIFS="$IFS"
IFS=$'\n'
for f in $(/usr/bin/find /mnt/usb/movies -type f -name '*.mkv'); do
AC3=`/usr/bin/mkvinfo "$f" | /bin/grep AC3` #check if it's AC3 audio
if [ -z "$AC3" ]; then
/usr/bin/avconv -i "$f" -codec copy "${f%.mkv}.mp4"
fi
if [ -f "${f%.mkv}.mp4" ];
then
/bin/rm "$f"
fi
done
service cron start
IFS="$OIFS"

service plexmediaserver start
Plex will be available on its default port 32400 which can be accessed at http://ip.address:32400/web

If you'd like to use external player such as MPC-HC instead of internal plex player then you'd need to install setup on your client.
https://github.com/Kayomani/PlexExternalPlayer

If you wish to compile the latest version of Plex then here is the directions.
http://www.htpcguides.com/install-plex-media-server-on-raspberry-pi-2/



Edited 6 time(s). Last edit at 02/26/2017 10:40PM by Almaz.
Re: Plex server on Pogoplug E02 and Debian?
February 26, 2017 07:02PM
Hi Almaz,

Our Wiki thread does not yet have a Plex tutorial/tips. Would you like to create a simple post for it? does not have to be elaborate, just some commands and download link.

Quote

Media Streaming

OpenMediaVault
Streaming music from Kirkwood plugs to IOS devices via WiFi
Create Your Own In-Home Radio Station Using a Pogoplug Mobile
Install Logitech Media Server on Debian wheezy
Install Logitech Media Server on Debian jessie
Install Logitech Media Server with nightly build (WIP)

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Re: Plex server on Pogoplug E02 and Debian?
February 26, 2017 10:31PM
I made a quick guide, not really detailed but it'll help someone in a long run
http://forum.doozan.com/read.php?2,25241,32725#msg-32725
Re: Plex server on Pogoplug E02 and Debian?
February 27, 2017 12:29AM
Thanks Almaz! Added to the Wiki thread.

Quote

Media Streaming

OpenMediaVault
Streaming music from Kirkwood plugs to IOS devices via WiFi
Create Your Own In-Home Radio Station Using a Pogoplug Mobile
Install Logitech Media Server on Debian wheezy
Install Logitech Media Server on Debian jessie
Install Logitech Media Server with nightly build (WIP)
Plex media server on PogoPlug

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Cdlenfert2
Re: Plex server on Pogoplug E02 and Debian?
February 28, 2017 10:52PM
Thank you Almaz! This is awesome. Just want to confirm that this is only feasible on the E-02 models with 256mb of RAM? Are you using swapdisc as well?

And Bodhi, any idea why New user registration broken on the forum?
Re: Plex server on Pogoplug E02 and Debian?
February 28, 2017 11:57PM
Cdlenfert2 Wrote:
-------------------------------------------------------
> Thank you Almaz! This is awesome. Just want to con
> firm that this is only feasible on the E-02 models
> with 256mb of RAM? Are you using swapdisc as well?
>
> And Bodhi, any idea why New user registration brok
> en on the forum?

It was but should work now, try again!

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Re: Plex server on Pogoplug E02 and Debian?
March 01, 2017 02:59AM
Cdlenfert2 Wrote:
-------------------------------------------------------
> Thank you Almaz! This is awesome. Just want to con
> firm that this is only feasible on the E-02 models
> with 256mb of RAM? Are you using swapdisc as well?
>
> And Bodhi, any idea why New user registration brok
> en on the forum?

It can be used on any model and I suggest to use swap disk.
Re: Plex server on Pogoplug E02 and Debian?
March 02, 2017 10:16AM
Thanks for the replies. I'v got my account set up and can follow topics now. Will post my results if I'm able to get Plex running.
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: