Coder Social home page Coder Social logo

andrewjmetzger / plex-synology Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nzben/plex-synology

0.0 2.0 0.0 8 KB

A Plex container built from plexinc/pms-docker:plexpass with one minor addition to make hardware transcoding work on Synology

Shell 51.43% Dockerfile 48.57%

plex-synology's Introduction

Plex, in Docker, on Synology, with Hardware Transcoding

The default Plex container runs perfectly fine on Synology, but hardware transcoding doesn't work.

There's a way to get it working by mapping in the /dev/dri devices, and changing their permissions, which has been described on the Plex Forums. However, the problem is that the permissions get lost every time the container restarts, or if the image is updated.

This repo fixes that problem by doing a nasty chmod 777 to /dev/dri every time the container starts.

¯\_(ツ)_/¯

HowTo

  1. Grab the plex-synology image from Docker Hub, and create a Docker container on your Synology. Configure the Advanced Settings as desired (Consult the official pms-docker README for more information).
  2. Export the container settings (Select <your container> > Settings > Export > Container settings)
  3. Replace this line
       "devices" : [],
    with the following:
    "devices": [{"CgroupPermissions": "rwm", "PathInContainer": "\/dev\/dri", "PathOnHost": "\/dev\/dri"}],
  4. Delete the container created in step 1
  5. Import the edited json file; this should create a new container. (Select Settings > Import > <your edited json file>)
  6. Start the new container, and then enable Hardware Transcode in your server settings. (Select Settings > Transcoder > Show Advanced > Use hardware acceleration when available)
  7. 👍

plex-synology's People

Contributors

andrewjmetzger avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.