项目作者: scrathe

项目描述 :
BASH post-processing script for Plex DVR, Shell, Sonarr, Radarr
高级语言: Shell
项目地址: git://github.com/scrathe/plexEncode.git
创建时间: 2018-04-06T02:50:05Z
项目社区:https://github.com/scrathe/plexEncode

开源协议:

下载


Project is no longer being developed. I recommend taking a look at this; https://github.com/HaveAGitGat/Tdarr

plexEncode.sh

Usage:

Plex DVR

Setup: Plex \ Settings \ Live TV & DVR \ DVR Settings \ Postprocessing Script = full path to the script

Shell

  1. plexEncode.sh <file> <encoder> <remove_original>
  2. <encoder> = ffmpeg # .mkv file output. modify $ffmpeg_options to your specs.
  3. = handbrake # .m4v file output. modify $handbrake_options to your specs.
  4. <remove_original> = 0 # keep original input file.
  5. = 1 # delete original input file.

Shell Examples:

  1. # encode a single file using default encoder and original file handling set in script
  2. plexEncode.sh "file"
  3. # encode a single file using handbrake, remove the original file
  4. plexEncode.sh "file" handbrake 1
  5. # encode a single file using ffmpeg, keep the original file
  6. plexEncode.sh "file" ffmpeg 0
  7. # loop thru a directory containing multiple .ts files
  8. for i in *.ts; do plexEncode.sh "$i" ; done

Sonarr

Sonarr

Radarr

Radarr

Required:

Script to add handbrake/ffmpeg/mediainfo/etc packages to your plex/sonarr/radarr dockers; https://gist.github.com/scrathe/ba29e50d95f71bfb207ccf6f74a425a7

Sample Logging:

example