Streaming Mediaserver powered by Emby
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 26 commits ahead, 1 commit behind jstruebel:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.art
conf.d
overlay
plan
.gitignore
Makefile
README.rst
changelog

README.rst

MediaServer - Simple Network Attached Media Storage

TurnKey MediaServer makes it easy to bring all of your home videos, music, and photos together into a single server that automatically converts and streams your media on-the-fly to play on any device. This app integrates Emby with a file management web app, Windows-compatible network file sharing and other transfer protocols including SFTP, rsync, NFS, and WebDAV. Files can be managed in private or public storage.

This appliance includes all the standard features in TurnKey Core, and on top of that:

  • SSL support out of the box.

  • Media server (Emby) configurations:

    • Web UI listening on ports 8096 (http) and 8920 (https - uses Emby's own custom SSL/TLS certificate - see more below).
    • Preconfigured reverse proxy to connect to your Emby server via port 12322 using system SSL/TLS certificates.
    • Preconfigured path substitution for Samba access
    • Preconfigured Music, Movies, TVShows, and Photos directories
  • File server (Samba) configurations:

    • Preconfigured wordgroup: WORKGROUP

    • Preconfigured netbios name: MEDIASERVER

    • Configured root as administrative samba user.

    • Configured shares:

      • Users home directory.
      • Public storage.
      • CD-ROM with automount and umount hooks (/media/cdrom).
    • NOTE: Due to the removal of libpam-smbpass (see issue #1188), new Samba users must have their passwords explictly set separately when created. However, if you create a Samba user using smbpasswd, then a new Linux user of the same name, with the same password is automatically created (including home directory). E.g.:

      # smbpasswd -a new_user
      New SMB password:
      Retype new SMB password:
      Added user new_user.
      # ls /home/
      new_user
      
  • Webmin module for configuring Samba.

  • Includes popular compression support (zip, rar, bz2).

  • Includes flip to convert text file endings between UNIX and DOS formats.

  • WebDAV CGI providing WebUI and WebDAV access.

  • Access your files securely from anywhere via WebDAV CGI:

    • Web GUI access to your files, with online previews of major formats and drag-n-drop support.
    • Pre-configured authentication (Samba).
    • Pre-configured repositories (storage, user home directories).
  • Default storage: /srv/storage

  • Accessing file server via samba on the command line:

    smbclient //1.0.0.61/storage -Uroot
    mount -t cifs //1.0.0.61/storage /mnt -o username=root,password=PASSWORD
    
  • You can generate your own PKCS #12 certificate (required for direct connection to Emby via HTTPS):

    mkdir /etc/ssl/emby
    SSL_PASSWORD=YOUR_PASSWORD
    CERT_PATH=/etc/ssl/emby/cert.pfx
    openssl pkcs12 -export -out $CERT_PATH -inkey /etc/ssl/private/cert.key -in /etc/ssl/private/cert.pem -password pass:$SSL_PASSWORD
    chmod +r $CERT_PATH
    EMBY_CONFIG=/var/lib/emby/config/system.xml
    sed -i '/<CertificatePath*/d' $EMBY_CONFIG
    sed -i '/<CertificatePassword*/d' $EMBY_CONFIG
    sed -i "/<\/ServerConfiguration/i \ <CertificatePath>$CERT_PATH</CertificatePath>\n <CertificatePassword>$SSL_PASSWORD</CertificatePassword>" $EMBY_CONFIG
    

Credentials (passwords set at first boot)

  • Emby webUI: username emby
  • Webmin, Webshell, SSH, Samba: username root
  • Web based file manager (WebDAV CGI):
    • username root (or Samba users)