Project is no longer being developed. I recommend taking a look at this; https://github.com/HaveAGitGat/Tdarr
A BASH post-processing script for Shell/SABnzbd/Radarr/Sonarr.
/movies/scripts/tardisIVR/tardisIVRvideo.sh "`pwd`" x x x movies x x
START! Fri Jan 26 03:23:24 UTC 2018
- Consolidating files in /movies/Movies/Movie Name (2016)
- Discovered Media File:
Movie Name (2016).mkv 6.8G
- REGEX detected Movie,
- (.*) \(([0-9]{4})\)[- .]{0,3}(\[.*\])?.*
- Audio Channels: 6
* Transcoding!!!
/usr/bin/HandBrakeCLI -i "Movie Name (2016).mkv" -o atomicFile.m4v -e x264 -q 20 --optimize --srt-lang eng --native-language eng --native-dub -f mp4 --decomb --loose-anamorphic --modulus 2 -m --x264-preset medium --h264-profile high --h264-level 4.1 --aencoder ca_aac,copy:ac3,copy:dts,copy:dtshd
- Encoding Speed: 123.86 minutes
- Details:
DIR: /movies/Movies/Movie Name (2016)
NZB_FILE: x
NAME: Movie Name (2016)
NZB_ID: x
CATEGORY: movies
GROUP: x
STATUS: x
Dest Folder: /movies/postprocessing/movies/
Dest File: Movie Name (2016).m4v
Title: Movie Name (2016)
Year: 2016
Audio Channels: 6
Quality:
Input File: Movie Name (2016).mkv 6.8G
- Finished: Fri Jan 26 05:27:22 UTC 2018
* MOVIE COMPLETE! Movie Name (2016).m4v
* Moving transcoded file to folder.
- mv atomicFile.m4v "/movies/postprocessing/movies/Movie Name (2016).m4v"
* Moving original downloaded file to folder.
Fri Jan 26 05:27:22 UTC 2018
add-apt-repository ppa:stebbins/handbrake-releases -y && apt-get update && apt-get install handbrake-cli -y
You can download the latest version clicking here or clone the repository with the command below.
git clone https://github.com/scrathe/tardisIVR.git master
ls
TV Show Name - S01E01 - Episode Name [HDTV].mkv
tardisIVRvideo.sh "`pwd`" x x x tv
ls
Movie (2014) [HDTV].mkv
tardisIVRvideo.sh "`pwd`" x x x movies
ls
TV Show Name - S01E01 - Episode Name [HDTV].mkv
tardisIVRvideo.sh "`pwd`" x x x tv x x tag
ls
Movie (2014) [HDTV].mkv
tardisIVRvideo.sh "`pwd`" x x x movies x x tag
# movie encode and tag
cd /media/Movies/Movie Name (2013)
/tv/scripts/tardisIVR/tardisIVRvideo.sh "`pwd`" x x x movies x x
# movie tag, skip encoding
cd /media/TV/Show Name (2013)
/tv/scripts/tardisIVR/tardisIVRvideo.sh "`pwd`" x x x tv x x tag
# recurse through thru seasons of a TV show and encode
cd /media/TV/Show Name
for i in * ; do cd "`pwd`" && /tv/scripts/tardisIVR/tardisIVRvideo.sh "$i" x x x tv; done
# in a download directory full of TV shows in directories, find a show by name and encode all of those.
for i in `ls -d ShowName*` ; do cd "$i" && /tv/scripts/tardisIVR/tardisIVRvideo.sh `pwd` x x x tv x x ; cd .. ; done
Category = tv
Script = tardisIVRvideo.sh
Folder = tv
Category = movies
Script = tardisIVRvideo.sh
Folder = movies
Arguments = x x x x sonarr
Arguments = x x x x radarr
Thank You!