Various OS Installation Help
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.
**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. **
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
-
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.
-
Set the virtual hardware for the machine (I use 2 processors, 4GB of RAM and 30GB HDD)
-
Start the virtual DSM and set it up like any other NAS#
-
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.
-
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.
-
Obtain mediainfo and mkvtoolnix from https://synocommunity.com/packages and manually install - I could get DSM to directly connect with this library
-
Use plugin as normal.
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.
- MediaInfo - Various Linux Repositories are available - use CLI versions!
- MKVtoolnix (containing mkvpropedit) - Download Area
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
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.