Compare commits

..

No commits in common. "a7bc9c62571bf23b1c9473d052a5232522c58520" and "055eb7b04dc93f736c2be4107eba88c10264d451" have entirely different histories.

3 changed files with 2 additions and 5 deletions

View File

@ -12,4 +12,3 @@ HANDBRAKE_AUDIO_LANG_LIST="de,en"
OUT_VIDEO_FORMAT=".mkv"
MIN_EPISODES_DURATION_MINUTES=30
MAX_EPISODES_DURATION_MINUTES=90
TRANSCODE_TIMEOUT_MINUTES=120

View File

@ -107,7 +107,8 @@ def transfer_ripped_dvd(ripped_dvd, destination_folder):
subprocess.run(
[
"rsync",
"-rzP",
"-az",
"-e ssh",
"--remove-source-files",
ripped_dvd,
destination_folder,

View File

@ -37,7 +37,6 @@ HANDBRAKE_AUDIO_LANG_LIST = os.environ["HANDBRAKE_AUDIO_LANG_LIST"]
OUT_VIDEO_FORMAT = os.environ["OUT_VIDEO_FORMAT"]
MIN_EPISODES_DURATION_SECONDS = int(os.environ["MIN_EPISODES_DURATION_MINUTES"]) * 60
MAX_EPISODES_DURATION_SECONDS = int(os.environ["MAX_EPISODES_DURATION_MINUTES"]) * 60
TRANSCODE_TIMEOUT_SECONDS = int(os.environ["TRANSCODE_TIMEOUT_MINUTES"]) * 60
SERIES_TITLE_REGEX = r"S(\d+)[ _]?E(\d+)(-(\d+))?$"
@ -283,7 +282,6 @@ def run_and_log_handbrake(dvd: Dvd, command) -> bool:
command,
stderr=subprocess.STDOUT,
stdout=log_file,
timeout=TRANSCODE_TIMEOUT_SECONDS,
)
if proc.returncode != 0:
return False
@ -325,7 +323,6 @@ def find_series_titles(dvd: Dvd):
],
stdout=subprocess.PIPE,
stderr=log_file,
timeout=TRANSCODE_TIMEOUT_SECONDS,
)
if proc.returncode != 0: