From 6507b3dd3f9309e0277c99c82638152af3d7929c Mon Sep 17 00:00:00 2001 From: BBsan2k Date: Fri, 21 Oct 2016 17:24:19 +0200 Subject: [PATCH] Added Transcode Option --- core/__init__.py | 8 ++++++++ nzbToCouchPotato.py | 2 +- nzbToNzbDrone.py | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/core/__init__.py b/core/__init__.py index a9d2a1e9..3efd90f2 100644 --- a/core/__init__.py +++ b/core/__init__.py @@ -598,6 +598,14 @@ def initialize(section=None): 'ACODEC2':None,'ACODEC2_ALLOW':[],'ABITRATE2':None, 'ACHANNELS2':None, 'ACODEC3':'ac3','ACODEC3_ALLOW':['libfaac', 'dts', 'ac3', 'mp2', 'mp3'],'ABITRATE3':None, 'ACHANNELS3':8, 'SCODEC':'mov_text' + }, + 'MKV-SD':{ + 'VEXTENSION':'.mkv','VCODEC':'libx264','VPRESET':None,'VFRAMERATE':None,'VBITRATE':None,'VCRF':None,'VLEVEL':None, + 'VRESOLUTION':'720:-1','VCODEC_ALLOW':['libx264', 'h264', 'h.264', 'AVC', 'avc', 'mpeg4', 'msmpeg4', 'MPEG-4'], + 'ACODEC':'aac','ACODEC_ALLOW':['libfaac'],'ABITRATE':128000, 'ACHANNELS':2, + 'ACODEC2':'ac3','ACODEC2_ALLOW':['ac3'],'ABITRATE2':None, 'ACHANNELS2':6, + 'ACODEC3':None,'ACODEC3_ALLOW':[],'ABITRATE3':None, 'ACHANNELS3':None, + 'SCODEC':'mov_text' } } if DEFAULTS and DEFAULTS in transcode_defaults: diff --git a/nzbToCouchPotato.py b/nzbToCouchPotato.py index c9957d4c..fc49c187 100755 --- a/nzbToCouchPotato.py +++ b/nzbToCouchPotato.py @@ -191,7 +191,7 @@ # externalSubDir. set the directory where subs should be saved (if not the same directory as the video) #externalSubDir= -# outputDefault (None, iPad, iPad-1080p, iPad-720p, Apple-TV2, iPod, iPhone, PS3, xbox, Roku-1080p, Roku-720p, Roku-480p, mkv, mp4-scene-release). +# outputDefault (None, iPad, iPad-1080p, iPad-720p, Apple-TV2, iPod, iPhone, PS3, xbox, Roku-1080p, Roku-720p, Roku-480p, mkv, mp4-scene-release, MKV-SD). # # outputDefault. Loads default configs for the selected device. The remaining options below are ignored. # If you want to use your own profile, set None and set the remaining options below. diff --git a/nzbToNzbDrone.py b/nzbToNzbDrone.py index 8d4f3a49..227d3b7b 100755 --- a/nzbToNzbDrone.py +++ b/nzbToNzbDrone.py @@ -181,7 +181,7 @@ # externalSubDir. set the directory where subs should be saved (if not the same directory as the video) #externalSubDir = -# outputDefault (None, iPad, iPad-1080p, iPad-720p, Apple-TV2, iPod, iPhone, PS3, xbox, Roku-1080p, Roku-720p, Roku-480p, mkv, mp4-scene-release). +# outputDefault (None, iPad, iPad-1080p, iPad-720p, Apple-TV2, iPod, iPhone, PS3, xbox, Roku-1080p, Roku-720p, Roku-480p, mkv, mp4-scene-release, MKV-SD). # # outputDefault. Loads default configs for the selected device. The remaining options below are ignored. # If you want to use your own profile, set None and set the remaining options below.