Jump to content

Raspberry Pi Emby Server


maxharrison22
 Share

Recommended Posts

maxharrison22

Yesterday I was looking at Plex, trying to see if I could set up a server running on my raspberry pi. So I thought I would try it out first on my windows computer. I really liked it but soon realized the free version that I using required me to still pay £3 something to 'activate' it otherwise I could only watch 1 min of video. I started looking for free alternatives to Plex and quickly found Emby, It looked really nice, had a free version that I could actually watch something with and had a Linux server. When I tried this out on my windows computer and watched some videos from my NAS (its an old WD sharespace and I don't think you can run the emby severs straight off that but it would be nice if I could). I then got downloading raspbian and loading it up onto my pi, just a warning I have pretty much no programming or linux knowledge except from setting up XBMC (that I didn't really like) and writing a very simple program in python. I kept getting errors on my pi so i tried arch Linux, more errors, raspbian again, more errors and i think another distribution and even more errors. Even after googling the errors, it never worked. Later that night I gave up and looked into new synololgy NASes that support Emby server and then move my WD greens across but the cheapest ones where about £175 i think. So then this morning i was looking at a small cheap mini pc then have the server and maybe even a proxy server (just for when i go on holiday so i can watch bbc) and i found the Intel compute stick and i could just have it hanging there, not plugged into a tv but there was so ethernet and i defiantly didn't want to use WiFi. I ended up coming back here and looking at the raspberry pi. If anyone can find or make either a simple install method, an installer or even better an ISO with a working linux version on it (im not really expecting that but maybe it would be nice for the emby team to include that on their downloads page for other confused people.

 

Thanks, Max

Link to comment
Share on other sites

hurricanehrndz

Yesterday I was looking at Plex, trying to see if I could set up a server running on my raspberry pi. So I thought I would try it out first on my windows computer. I really liked it but soon realized the free version that I using required me to still pay £3 something to 'activate' it otherwise I could only watch 1 min of video. I started looking for free alternatives to Plex and quickly found Emby, It looked really nice, had a free version that I could actually watch something with and had a Linux server. When I tried this out on my windows computer and watched some videos from my NAS (its an old WD sharespace and I don't think you can run the emby severs straight off that but it would be nice if I could). I then got downloading raspbian and loading it up onto my pi, just a warning I have pretty much no programming or linux knowledge except from setting up XBMC (that I didn't really like) and writing a very simple program in python. I kept getting errors on my pi so i tried arch Linux, more errors, raspbian again, more errors and i think another distribution and even more errors. Even after googling the errors, it never worked. Later that night I gave up and looked into new synololgy NASes that support Emby server and then move my WD greens across but the cheapest ones where about £175 i think. So then this morning i was looking at a small cheap mini pc then have the server and maybe even a proxy server (just for when i go on holiday so i can watch bbc) and i found the Intel compute stick and i could just have it hanging there, not plugged into a tv but there was so ethernet and i defiantly didn't want to use WiFi. I ended up coming back here and looking at the raspberry pi. If anyone can find or make either a simple install method, an installer or even better an ISO with a working linux version on it (im not really expecting that but maybe it would be nice for the emby team to include that on their downloads page for other confused people.

 

Thanks, Max

Yes, I can have some raspi install instructions soon. Maybe 12 hours or so.

Link to comment
Share on other sites

MSattler

Yesterday I was looking at Plex, trying to see if I could set up a server running on my raspberry pi. So I thought I would try it out first on my windows computer. I really liked it but soon realized the free version that I using required me to still pay £3 something to 'activate' it otherwise I could only watch 1 min of video. I started looking for free alternatives to Plex and quickly found Emby, It looked really nice, had a free version that I could actually watch something with and had a Linux server. When I tried this out on my windows computer and watched some videos from my NAS (its an old WD sharespace and I don't think you can run the emby severs straight off that but it would be nice if I could). I then got downloading raspbian and loading it up onto my pi, just a warning I have pretty much no programming or linux knowledge except from setting up XBMC (that I didn't really like) and writing a very simple program in python. I kept getting errors on my pi so i tried arch Linux, more errors, raspbian again, more errors and i think another distribution and even more errors. Even after googling the errors, it never worked. Later that night I gave up and looked into new synololgy NASes that support Emby server and then move my WD greens across but the cheapest ones where about £175 i think. So then this morning i was looking at a small cheap mini pc then have the server and maybe even a proxy server (just for when i go on holiday so i can watch bbc) and i found the Intel compute stick and i could just have it hanging there, not plugged into a tv but there was so ethernet and i defiantly didn't want to use WiFi. I ended up coming back here and looking at the raspberry pi. If anyone can find or make either a simple install method, an installer or even better an ISO with a working linux version on it (im not really expecting that but maybe it would be nice for the emby team to include that on their downloads page for other confused people.

 

Thanks, Max

 

It's doable. There are folks who have done it on a rpi2 in the forum.  I would question why you want to do that as in my opinion it's going to be limited in use.  Unless you will only use it for direct play, if it tries to transcode anything, it's not going to work well.
 
So if you are only using clients which will direct play, or all your content is lower quality so it will at least direct stream, it would work.
 
The rpi/rpi2 are just not very powerful machines, and as such if the expectation is to transcode and if you want to take advantage of the full Emby features, I would recommend running something with a bit better hardware.
 
That being said the rpi2, using OpenElec (Kodi), and the Emby plugin for Kodi makes a great front end to Emby.
Link to comment
Share on other sites

maxharrison22

I at least want to be able to try on my raspberry pi as it is just collecting dust at the moment and thanks for such quick replys!!

Link to comment
Share on other sites

hurricanehrndz

So we are setting everything up as we speak, the next stable release of emby we should be soon. Will include the ffmpeg binary and we are working on the instructions. It's overdue. 

Link to comment
Share on other sites

maxharrison22

So we are setting everything up as we speak, the next stable release of emby we should be soon. Will include the ffmpeg binary and we are working on the instructions. It's overdue. 

 

So is this a Raspberry Pi version you are releasing, or just a new Emby Server

Link to comment
Share on other sites

hurricanehrndz

You need a debian distro by the way,

 

but basically you just need to do the following:

wget -qO - http://download.opensuse.org/repositories/home:emby/xUbuntu_14.04/Release.key | sudo apt-key add -
sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/emby/xUbuntu_14.04/ /' >> /etc/apt/sources.list.d/emby-server.list"
sudo apt-get update
sudo apt-get install mono-runtime mediainfo libsqlite3-dev imagemagick-6.q8 libmagickwand-6.q8-2 libmagickcore-6.q8-2
sudo apt-get install emby-server

Please don't edit the distro, obs only does arm builds for 14.04.

Link to comment
Share on other sites

maxharrison22

You need a debian distro by the way,

 

but basically you just need to do the following:

wget -qO - http://download.opensuse.org/repositories/home:emby/xUbuntu_14.04/Release.key | sudo apt-key add -
sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/emby/xUbuntu_14.04/ /' >> /etc/apt/sources.list.d/emby-server.list"
sudo apt-get update
sudo apt-get install mono-runtime mediainfo libsqlite3-dev imagemagick-6.q8 libmagickwand-6.q8-2 libmagickcore-6.q8-2
sudo apt-get install emby-server

Please don't edit the distro, obs only does arm builds for 14.04.

 

Yeah, something went wrong!! again!! I don't know what I've done wrong. I think it could be that I have tried to do this wrong before...

 

THIS IS THE WHOLE TERMINAL COPIED!???

 

pi@raspberrypi ~ $ wget -qO -http://download.opensuse.org/repositories/home:emby/xUbuntu_14.04/Release.key | sudo apt-key add -

OK

pi@raspberrypi ~ $ sudo sh -c "echo 'debhttp://download.opensuse.org/repositories/home:/emby/xUbuntu_14.04/ /' >> /etc/apt/sources.list.d/emby-server.list"

pi@raspberrypi ~ $ sudo apt-get update

Hit http://raspberrypi.collabora.com wheezy Release.gpg

Hit http://raspberrypi.collabora.com wheezy Release 

Hit http://mirrordirector.raspbian.org wheezy Release.gpg 

Get:1 http://download.opensuse.org Release.gpg [481 B] 

Hit http://archive.raspberrypi.org wheezy Release.gpg 

Get:2 http://download.opensuse.org Release.gpg [481 B] 

Hit http://mirrordirector.raspbian.org wheezy Release 

Get:3 http://download.opensuse.org Release.gpg [481 B] 

Hit http://archive.raspberrypi.org wheezy Release 

Get:4 http://download.opensuse.org Release [997 B] 

Get:5 http://download.opensuse.org Release [997 B] 

Hit http://raspberrypi.collabora.com wheezy/rpi armhf Packages 

Hit http://download.mono-project.com wheezy Release.gpg 

Get:6 http://download.opensuse.org Release [1,016 B] 

Hit http://mirrordirector.raspbian.org wheezy/main armhf Packages 

Hit http://mirrordirector.raspbian.org wheezy/contrib armhf Packages 

Hit http://mirrordirector.raspbian.org wheezy/non-free armhf Packages 

Hit http://mirrordirector.raspbian.org wheezy/rpi armhf Packages 

Ign http://raspberrypi.collabora.com wheezy/rpi Translation-en_GB 

Ign http://raspberrypi.collabora.com wheezy/rpi Translation-en 

Hit http://download.mono-project.com wheezy Release 

Hit http://archive.raspberrypi.org wheezy/main armhf Packages 

Get:7 http://download.opensuse.org Packages [44.6 kB] 

Ign http://archive.raspberrypi.org wheezy/main Translation-en_GB 

Ign http://archive.raspberrypi.org wheezy/main Translation-en 

Ign http://mirrordirector.raspbian.org wheezy/contrib Translation-en_GB 

Get:8 http://download.opensuse.org Packages [43.6 kB] 

Ign http://mirrordirector.raspbian.org wheezy/contrib Translation-en 

Ign http://mirrordirector.raspbian.org wheezy/main Translation-en_GB 

Ign http://mirrordirector.raspbian.org wheezy/main Translation-en 

Ign http://mirrordirector.raspbian.org wheezy/non-free Translation-en_GB 

Ign http://mirrordirector.raspbian.org wheezy/non-free Translation-en 

Ign http://mirrordirector.raspbian.org wheezy/rpi Translation-en_GB 

Ign http://mirrordirector.raspbian.org wheezy/rpi Translation-en 

Get:9 http://download.opensuse.org Packages [58.0 kB] 

Hit http://download.mono-project.com wheezy/main armhf Packages 

Ign http://download.mono-project.com wheezy/main Translation-en_GB 

Ign http://download.mono-project.com wheezy/main Translation-en 

Ign http://download.opensuse.org Translation-en_GB 

Ign http://download.opensuse.org Translation-en 

Ign http://download.opensuse.org Translation-en_GB 

Ign http://download.opensuse.org Translation-en 

Ign http://download.opensuse.org Translation-en_GB 

Ign http://download.opensuse.org Translation-en 

Fetched 151 kB in 25s (5,832 B/s) 

Reading package lists... Done

W: Duplicate sources.list entryhttp://download.opensuse.org/repositories/home:/emby/Debian_7.0/ Packages (/var/lib/apt/lists/download.opensuse.org_repositories_home:_emby_Debian%5f7.0_Packages)

W: You may want to run apt-get update to correct these problems

pi@raspberrypi ~ $ sudo apt-get install mono-runtime mediainfo libsqlite3-dev imagemagick-6.q8 libmagickwand-6.q8-2 libmagickcore-6.q8-2

Reading package lists... Done

Building dependency tree 

Reading state information... Done

mono-runtime is already the newest version.

Some packages could not be installed. This may mean that you have

requested an impossible situation or if you are using the unstable

distribution that some required packages have not yet been created

or been moved out of Incoming.

The following information may help to resolve the situation:

 

The following packages have unmet dependencies:

libmagickcore-6.q8-2 : Depends: libfftw3-double3 but it is not installable

Depends: libtiff5 (>= 4.0.3) but 4.0.2-6+deb7u4 is to be installed

E: Unable to correct problems, you have held broken packages.

pi@raspberrypi ~ $ sudo apt-get install emby-server

Reading package lists... Done

Building dependency tree 

Reading state information... Done

Some packages could not be installed. This may mean that you have

requested an impossible situation or if you are using the unstable

distribution that some required packages have not yet been created

or been moved out of Incoming.

The following information may help to resolve the situation:

 

The following packages have unmet dependencies:

emby-server : Depends: libmagickwand-6.q8-2 but it is not going to be installed

E: Unable to correct problems, you have held broken packages.

pi@raspberrypi ~ $ sudo service emby-server start

emby-server: unrecognized service

pi@raspberrypi ~ $ 

Link to comment
Share on other sites

hurricanehrndz

Okay so you need libtiff,

 

You will probably need to add the ubuntu's trusty ppa and pin it at a lower value then the default raspbian ppa

deb-armhf http://ports.ubuntu.com/ trusty main restricted universe multiverse

You probably want to read up on pining: https://help.ubuntu.com/community/PinningHowto or https://wiki.debian.org/AptPreferences

 

i.e. /etc/apt/preferences.d/trusty.pref

Package: *
Pin: release a=trusty
Pin-Priority: 10

And then follow up with an apt-get -t trusty install libtiff5.

 

Let me know how it goes.

Edited by hurricanehrndz
Link to comment
Share on other sites

djonnie

I installed Emby-Server on my PI 2 using this manual: https://discourse.osmc.tv/t/howto-install-emby-server/6364

 

I'm not using OSMC, but Raspbian Jessie. But both are Debian based. I skipped the ffmpeg compilation step, since ARM compiled versions can be downloaded from the internet. (I'm not using ffmpeg at all, since I disabled all transcoding.)

 

I've setup SMB sharing for MB Theater and have WEBM versions as "Extra's" for my movies that can be played with any browser.

 

I can play a blu-ray with MBT, a WEBM with a webbrowser and MP3's with a webbrowser simultaneously without any stuttering. Not bad for a $35 creditcard sized computer...

 

Only loading images (fanart, posters) takes some time sometimes.

Link to comment
Share on other sites

hurricanehrndz

I believe that's partly to do with the fact that imagemaick is not compiled with the appropriate flags.

 

Sent from my D6603 using Tapatalk

Link to comment
Share on other sites

maxharrison22

I got it working some how!?? I re-formatted the SD card and installed raspbian all over again and did the commands, got more errors and tried the things you said, and its working??

 

It would be cool if you guys were to release a rasbian based server, or something like that, that you just install and boot up. Nice for people that really don't know what their doing? but I really don't mind!! THANKS!

Link to comment
Share on other sites

  • 8 months later...
  • 5 months later...
  • 8 months later...
Counterfitninja

Hi Guys, 

 

Followed the very simple Raspberry Pi docker instrictions. All seems ok, but the emby-server command bring back command not found. docker images shows the docker image i just cant seem to get it to mount. Any ideas where i can find logs to try and find the issue? 

 

I have tested docker on a different image hypriot/rpi-busybox-httpd and that's works and mounts fine. 

 

In case it makes a difference I have a Pi Zero W. any thoughts helpful. 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...