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:
- Prompts the user to decide whether to use stable or latest beta branch.
- Installs several prerequisites, such as aptitude, unzip, and git.
- Installs several dependencies, such as the ImageMagick, webp, mediainfo and sqlite3 packages.
- Builds and installs FFmpeg.
- Installs the Mono libraries from Xamarin
- Installs the selected branch of Emby Server from GitHub (no intervention required)
- Gets and installs the latest Emby for Kodi addons (only if /home/osmc/.kodi is present)
- Creates a service so that the Emby Server starts automatically.
Optional actions this script can do:
- Creates/Removes a Cron job, to be executed every night at midnight, in order to keep Emby up-to-date.
- Can update the script.
- Seperately install the Emby for Kodi addons.
- Change the Emby Server installation branch (stable/beta)
- Rebuild FFmpeg from the Git repository.
How to start the installer:
chmod +x ./install-emby.sh
Hope you enjoy it.