I’ve made a simple installer for Emby Server, which has been tested on a Raspberry Pi 3 with OSMC 16.1. It is based on a broken tutorial on how to install the Emby Server, which sprung from the discussion that be found here.
The goal of this project is to cleanly and easily install the Emby Server on OSMC, and integrate it with the Kodi installation that the OSMC install contains. You are hereby told that this installer takes SEVERAL hours to complete, so please be patient. (If there was a way to speed it up, I’d try it!)
If you’re not familiar with Emby, check out http://www.emby.media
What is Emby?
In essence Emby, formerly MediaBrowser is a server software intended to provide an open source media server that can be used as a fancy DLNA server as well as through their own apps. It can also be tightly integrated with Kodi.
When integrated with kodi/Osmc Emby provides a great way to manage your media and metadata from any web browser as well as sync play positions between devices - Running Kodi or anything else!
What this installer does:
1. Prompts the user to decide whether to use stable or latest beta branch.
2. Installs several prerequisites, such as aptitude, unzip, and git.
3. Installs several dependencies, such as the ImageMagick, webp, mediainfo and sqlite3 packages.
4. Builds and installs FFmpeg.
5. Installs the Mono libraries from Xamarin
6. Installs the selected branch of Emby Server from GitHub
(no intervention required)
7. Gets and installs the latest Emby for Kodi addons
(only if [b]/home/osmc/.kodi[/b] is present)
8. Creates a service so that the Emby Server starts automatically.
Optional actions this script can do:
1. Creates/Removes a Cron job, to be executed every night at midnight, in order to keep Emby up-to-date.
2. Can update the script.
3. Seperately install the Emby for Kodi addons
4. Change the Emby Server installation branch (stable/beta)
5. Rebuild FFmpeg from the Git repository.
How to start the installer:
> wget https://raw.githubusercontent.com/douglasorend/osmc_install_emby/master/install-emby.sh
> chmod +x ./install-emby.sh
Hope you enjoy it.