Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
virtualisation:media-portal [2018/02/27 09:01]
buettner
virtualisation:media-portal [2018/02/28 11:50] (current)
buettner
Line 1: Line 1:
 ===== Emby Media Server on NB2800 ===== ===== Emby Media Server on NB2800 =====
  
-This article shows you how to install and run an Emby Media Server on your router (e.g. NB2800)+This article shows you how to install and run an Emby Media Server on your router (e.g. NB2800)
 + 
 +[[https://​emby.media/​|Emby]] is a freemium server/​client-based media platform. It connects metadata to your files and lets you show your media on a huge variety of client devices. 
  
 ===Preparations=== ===Preparations===
  
 All preparations made are described in this article: [[http://​wiki.netmodule.com/​virtualisation/​file-server | How to set up a NB2800 File Server ]] All preparations made are described in this article: [[http://​wiki.netmodule.com/​virtualisation/​file-server | How to set up a NB2800 File Server ]]
 +
 +If you need instructions on how to set up a LXC Container on NB2800 Routers, you can refer to this page: http://​wiki.netmodule.com/​app-notes/​virtualisation. ​
  
  
 ===Install Emby=== ===Install Emby===
-[[https://​emby.media/​|Emby]] is a freemium server/​client-based media platform. It connects metadata to your files and lets you show your media on a huge variety of client devices. 
  
 Before the installation of Emby Media Server starts, some other programs have to be installed: Before the installation of Emby Media Server starts, some other programs have to be installed:
Line 66: Line 70:
 cd /​opt/​emby-server/​bin cd /​opt/​emby-server/​bin
 </​code>​ </​code>​
-Next, make a copy of your ffmpeg:+Next, rename ​your ffmpeg:
 <​code>​ <​code>​
 mv ffmpeg ffmpeg.bin mv ffmpeg ffmpeg.bin
 </​code>​ </​code>​
 +
 +<​konsole>​
 +root@LXC_MEDIA:/​opt/​emby-server/​bin#​ ls -l
 +total 316
 +-rwxr-xr-x 1 root root    583 Aug 22  2017 emby-server
 +-rw-r--r-- 1 root root    232 Feb  9 13:00 ffmpeg
 +-rwxr-xr-x 1 root root 198184 Aug 22  2017 ffmpeg.bin
 +-rwxr-xr-x 1 root root 111088 Aug 22  2017 ffprobe
 +</​konsole>​
 +
 Now make a new file Now make a new file
 <​code>​ <​code>​
Line 75: Line 89:
 </​code>​ </​code>​
 which contains the following: which contains the following:
-<konsole>+<code c ffmpeg>
 #!/bin/bash #!/bin/bash
 if [ "​$USER"​ != "​emby"​ ]; then if [ "​$USER"​ != "​emby"​ ]; then
Line 85: Line 99:
  ln -- "​$source"​ "​$target"​  ln -- "​$source"​ "​$target"​
 fi fi
-</konsole>+</code>
  
 The best video codec that almost every web browser on the most clients can play directly is h.264. The best video codec that almost every web browser on the most clients can play directly is h.264.