Difference between revisions of "Emby"

From Indie IT Wiki
 
(3 intermediate revisions by 2 users not shown)
Line 8: Line 8:
  
 
[https://emby.media/about.html Emby] media server brings together your personal videos, music, photos, and live television.
 
[https://emby.media/about.html Emby] media server brings together your personal videos, music, photos, and live television.
 +
 +
== Forum ==
 +
 +
* https://emby.media/community/index.php
  
 
== Emby Connect ==
 
== Emby Connect ==
Line 194: Line 198:
 
bla bla bla
 
bla bla bla
  
 +
https://github.com/acmesh-official/acme.sh
 +
 +
https://github.com/acmesh-official/acme.sh/wiki/dnsapi#10-use-amazon-route53-domain-api
 +
 +
https://github.com/acmesh-official/acme.sh/wiki/How-to-use-Amazon-Route53-API
  
 
# [https://certbot.eff.org/instructions?ws=other&os=ubuntufocal Install Certbot]
 
# [https://certbot.eff.org/instructions?ws=other&os=ubuntufocal Install Certbot]
Line 245: Line 254:
  
 
[https://emby.media/community/index.php?/topic/92783-metadata-best-practice-and-bulletproof-backup-solution/&tab=comments#comment-978674 Emby Forums - Bulletproof Backup Solution]
 
[https://emby.media/community/index.php?/topic/92783-metadata-best-practice-and-bulletproof-backup-solution/&tab=comments#comment-978674 Emby Forums - Bulletproof Backup Solution]
 +
 +
== Info ==
 +
 +
[https://emby.media/community/index.php?/topic/125541-user-switching-with-user-pin-on-roku/ User Switching On ROKU]
 +
 +
=== Logs ===
 +
 +
User logging in ...
 +
 +
2024-10-07 09:49:25.038 Info UserManager: Authentication request for Joe has succeeded.
 +
2024-10-07 09:49:25.040 Info SessionManager: Creating new access token for user 1 Joe
  
 
== Links ==
 
== Links ==

Latest revision as of 08:51, 7 October 2024

Introduction

Emby (formerly Media Browser) is a media server designed to organize, play, and stream audio and video to a variety of devices. Emby's source code is mostly open with some closed-source components as of August 2017, releases of the software published via the Emby website are however proprietary and cannot be replicated from source due to the build scripts also being proprietary. As of version 3.5.3 Emby has been relicensed and is now closed-source, while open source components will be moved to plugins. Due to this a free open source fork of Emby was created called Jellyfin. Emby uses a client-server model.

Emby Server has been developed for Windows, Linux, macOS, and FreeBSD. Users can connect to the server from a compatible client, available on a wide variety of platforms including HTML5, mobile platforms such as Android and iOS, streaming devices such as Roku, Amazon Fire TV, Chromecast, and Apple TV, smart TV platforms such as LG Smart TV and Samsung Smart TV, and video game consoles including the Xbox 360, and Xbox One.

Emby Core

Emby media server brings together your personal videos, music, photos, and live television.

Forum

Emby Connect

Emby Connect is an optional extra, that enables you to access your Emby Server wherever you are and share servers with your family and friends.

Sign In or Sign Up to Emby Connect

Emby Premiere

Emby Premiere give you loads of extra features to enhance the experience.

Emby Premiere Features

Releases

https://github.com/MediaBrowser/Emby.Releases/releases

Installation

Latest version for Linux - 4.7.6.0 - 1 AUGUST 2022

Download the software...

wget https://github.com/MediaBrowser/Emby.Releases/releases/download/4.7.6.0/emby-server-deb_4.7.6.0_amd64.deb

Check package information and dependencies...

dpkg -I emby-server-deb_4.7.6.0_amd64.deb

List contents...

dpkg -c emby-server-deb_4.7.6.0_amd64.deb

Install package...

sudo dpkg -i emby-server-deb_4.7.6.0_amd64.deb

Check software is running...

pidof EmbyServer
sudo netstat -ntap | grep 'EmbyServer'

Check software will automatically start on reboot...

sudo systemctl is-enabled emby-server.service

Docker

https://wiki.indie-it.com/wiki/Docker#Emby_Media_Server

Diet Pi

dietpi-software install 41

To upgrade...

dietpi-software reinstall 41

https://dietpi.com/docs/software/media/#emby

Media

Create the folders ready for your media content...

mkdir -p ~/Emby/{Movies,TV}

Audio Books

Multiple Versions of Movies

Create a folder for the movie then put your different versions in that folder with specific file names...

Mile 22 (2018)/
|-- Mile 22 (2018) - 1080p.eng.srt
|-- Mile 22 (2018) - 1080p.mkv
|-- Mile 22 (2018) - 720p.eng.srt
`-- Mile 22 (2018) - 720p.mp4

...and whatever is typed after the - dash is used in the movie details version drop down menu : "1080p" or "720p" or "FHD" or "HD" ...

Black Panther (2018)/
|-- Black Panther (2018) - 4K.mkv
|-- Black Panther (2018) - FHD.mkv
|-- Black Panther (2018) - HD.mp4
`-- Black Panther (2018) - SD.avi

Which, by a spooky coincidence is the correct order (top to bottom) for quality!

Yes, you do have to copy the subtitles file to match the different versions of the movie.

e.g.

Black Panther (2018)/
|-- Black Panther (2018) - 4K.mkv
|-- Black Panther (2018) - 4K.eng.srt
|-- Black Panther (2018) - FHD.mkv
|-- Black Panther (2018) - FHD.eng.srt
|-- Black Panther (2018) - HD.mp4
|-- Black Panther (2018) - HD.eng.srt
|-- Black Panther (2018) - SD.avi
`-- Black Panther (2018) - SD.eng.srt

Extras

Special features for movies can be stored as video files in an extras folder under movie folders. Nested folders are not supported.

In addition to extras, several other sub-folder names are supported:

  • extras
  • specials
  • shorts
  • scenes
  • featurettes
  • behind the scenes
  • deleted scenes
  • interviews
  • trailers
/Movies
  /Home Alone (1990)
     Home Alone (1990).mkv
       /extras
         deleted-scenes.mkv
       /behind the scenes
         video1.mkv
       /interviews
         video1.mkv

Note: Be sure the movie file is present before adding these additional "extras" to avoid mis-identification.

Same Name Fix

If there is a movie or television show with the same name as another, you can specify the year or imdb or tvdb id to help Emby retrieve the correct metadata information and images.

Raised by Wolves (2020)
Raised by Wolves [tvdbid=276498]

Subtitles

Movie Name.language.entension alongside the movie file...

Home Alone (1990).mp4
Home Alone (1990).eng.srt

...and they can be put in a separate folder, like below.

Forced Subtitles

External subtitles can be marked as forced using ".forced"...

/Movies
   /Home Alone (1990)
      Home Alone (1990).mkv
      Home Alone (1990).eng.srt
      Home Alone (1990).eng.forced.srt

SDH can be added with ".sdh"...

/Movies
   /Home Alone (1990)
      Home Alone (1990).mkv
      Home Alone (1990).eng.srt
      Home Alone (1990).eng.forced.srt
      Home Alone (1990).eng.sdh.srt

https://support.emby.media/support/solutions/articles/44001159160-subtitles

Configuration

  1. Load Admin - http://ip.or.name.of.your.server:8096
  2. Add Users
  3. Add Libraries
  4. Log in

SSL Certificate

NEW METHOD

acme script

add --server letsencrypt or --server zerossl

bla bla bla

https://github.com/acmesh-official/acme.sh

https://github.com/acmesh-official/acme.sh/wiki/dnsapi#10-use-amazon-route53-domain-api

https://github.com/acmesh-official/acme.sh/wiki/How-to-use-Amazon-Route53-API

  1. Install Certbot
  2. Install Script

The version of the main CA Certificates file included with Emby Server could be out of date, so if you have updated your system's /etc/ssl/certs/ca-certificates.crt file then copy that to the Emby folder.

sudo -i
cp -av /etc/ssl/certs/ca-certificates.crt /opt/emby-server/etc/ssl/certs/ca-certificates.crt

NOTE - As of 30 September, it is best to use the shorter modern chain of ISRG Root X1, so use the instructions on this page to do that!

sudo -i
certbot certonly --preferred-chain "ISRG Root X1" --standalone --email my.email@gmail.com --agree-tos -d emby.domain.com
certbot certificates
cd /etc/letsencrypt/live/emby.domain.com/
openssl pkcs12 -export -out emby-domain-com.pfx -inkey privkey.pem -in cert.pem -certfile chain.pem -password pass:
cp -av emby-domain-com.pfx /opt/emby-server/
systemctl restart emby-server

Hardware Acceleration Transcoding

http://wiki.indie-it.com/wiki/Raspberry_Pi#FFMPEG_with_GPU_support_for_Raspberry_Pi

"I tried with Emby and that work well (openMAX or V4L2). Just need some additional packages (libva2 vainfo libyami-utils). So that allow HEVC 1080p transcoding to my Google Chromecast."

Jellyfin Hardware Acceleration

Smart Home Integration

Google Home

Introducing Emby for Google Home

Emby for Google Home

Emby on Google Assistant

Amazon Alexa

Amazon Alexa and Emby

Backup

  1. backup Library files to USB
  2. install the Backup plugin
  3. stop Emby
  4. zip /var/lib/emby
  5. sync to Cloud
  6. start Emby

Emby Forums - Bulletproof Backup Solution

Info

User Switching On ROKU

Logs

User logging in ...

2024-10-07 09:49:25.038 Info UserManager: Authentication request for Joe has succeeded.
2024-10-07 09:49:25.040 Info SessionManager: Creating new access token for user 1 Joe

Links

Emby

Emby Community Forum

Jumping Ship from Plex

Emby for Roku

Emby for Samsung Smart TV

Wikipedia