Skip to content

Various OS Installation Help

Richard edited this page Mar 2, 2024 · 22 revisions

Installation helpers for installing the packages on various OS systems

Linux - Windows - MAC - NAS Servers

1. Windows

2. Synology NAS

Courtesy of Frostbyte

Here's the repository, which you will need to add to Package Center in order to get the MediaInfo and MKVToolNix packages. Then just click on Community and install as normal.

SynoCommunity

image

**CAUTION - DSM v7.2 is NOT compatible with the Synocommunity verions. If using DSM 7.2 - you will need to source the external applications yourself (mediainfocli and mkvpropedit) and then re-point the Plugin to the new versions once updated. We cannot provide direct support for this unfortunately, but once uploaded, the Plugin should work again. **

File paths in Plugin - (thanks @Teddyknuddel)

https://github.com/Cheesegeezer/MediaInfoWiki/blob/main/synology_appstore.jpg

Courtesy of Kaledi

Note - if you have a Synology capable of running a virtual machine - then you may be able to run this Plugin on 6.2 while your main NAS runs a newer version. link to details on emby forums - thanks kaledi

  1. Open Virtual manager in DSM and create a virtual NAS with DSM 6.2 - this is available on the Synology website - most NAS have 1 licence installed to allow for a virtual machine.

  2. Set the virtual hardware for the machine (I use 2 processors, 4GB of RAM and 30GB HDD)

  3. Start the virtual DSM and set it up like any other NAS#

  4. Map virtual folders in the virtual DSM to the folder where your media is stored (in my case on the physical NAS).  I used CIFS as for some reason some folders wouldn't map using NFS, whilst other would and all permissions were the same.  Anyhow, it doesn't really matter which protocol to use.  Instructions for mapping folders are available on the Synology wesbite, but it si pretty intuitive to do it without the instructions.

  5. Manually install Emby Server and set that up including creating the libraries you want to apply this plug in.  Install any plugins you want to use, including this one.

  6. Obtain mediainfo and mkvtoolnix from https://synocommunity.com/packages and manually install - I could get DSM to directly connect with this library

  7. Use plugin as normal.

3. MAC

4. Linux

There may be some issues with the emby libstdc++ library that MediaInfo has a dependency on. If there are, then please refer to this post in the emby forums to re-point mediainfo to use the external (newer) library.

5. Docker

Many thanks to @MrLinford from the emby forums for providing the instructions below.

Link to the page here - Link

First you need to connect to the emby containter:

docker exec -it <container> bash


Install mediainfo (https://mediaarea.net/en/MediaInfo/Download/Ubuntu):

apt-get install mediainfo


Install mkvtoolnix (https://mkvtoolnix.download/downloads.html#ubuntu):

curl -o /usr/share/keyrings/gpg-pub-moritzbunkus.gpg https://mkvtoolnix.download/gpg-pub-moritzbunkus.gpg

cd /etc/apt/sources.list.d

touch mkvtoolnix.download.list

cat > mkvtoolnix.download.list

Paste the below the Crtl+D to exit:

deb [signed-by=/usr/share/keyrings/gpg-pub-moritzbunkus.gpg] https://mkvtoolnix.download/ubuntu/ jammy main
deb-src [signed-by=/usr/share/keyrings/gpg-pub-moritzbunkus.gpg] https://mkvtoolnix.download/ubuntu/ jammy main

Now simply run apt update followed by apt install mkvtoolnix=70.0.0-0~ubuntu2204bunkus01 mkvtoolnix-gui=70.0.0-0~ubuntu2204bunkus01


Download BifTool Executables:

curl -Lo /tmp/biftool_linux.zip https://github.com/rokudev/samples/raw/master/utilities/bif%20tool/biftool_linux.zip

Installed unzip:

apt-get install unzip

Extract BifTool zip file to /bin/:

unzip /tmp/biftool_linux.zip -d /bin


Configure the Media Toolbox plugin, applications installed will be located in /bin/


@SimCity from the Emby Forums has also kindly added this as a LSIO docker-mod - Please see https://github.com/SimCity/emby-mediainfo-plugin-prereq

6. Nvidia Shield (Server)

Unfortunately it is not possible to run this Plugin when using the Nvidia Shield as an Emby server, as while MediaInfo itself is available via the Google Play Store, the MKVTOOLNIX utilities containing the required MKVPROPEDIT is not.