Skip to content

BASH post-processing script for Plex DVR, Shell, Sonarr, Radarr

Notifications You must be signed in to change notification settings

scrathe/plexEncode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 

Repository files navigation

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

plexEncode.sh <file> <encoder> <remove_original>

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

Shell Examples:

# encode a single file using default encoder and original file handling set in script
plexEncode.sh "file"

# encode a single file using handbrake, remove the original file
plexEncode.sh "file" handbrake 1

# encode a single file using ffmpeg, keep the original file
plexEncode.sh "file" ffmpeg 0

# loop thru a directory containing multiple .ts files
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

About

BASH post-processing script for Plex DVR, Shell, Sonarr, Radarr

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages