nighl disable jellyfin mode

main
Maveno 11 months ago
parent 95aeacf694
commit 826677cb03

@ -296,7 +296,7 @@ def checkUniqueDispositions(context, mediaDescriptor: MediaDescriptor):
@click.option("--denoise", is_flag=True, default=False)
@click.option("--no-tmdb", is_flag=True, default=False)
@click.option("--no-jellyfin", is_flag=True, default=False)
# @click.option("--no-jellyfin", is_flag=True, default=False)
@click.option("--no-pattern", is_flag=True, default=False)
@click.option("--dont-pass-dispositions", is_flag=True, default=False)
@ -332,7 +332,7 @@ def convert(ctx,
output_directory,
denoise,
no_tmdb,
no_jellyfin,
# no_jellyfin,
no_pattern,
dont_pass_dispositions,
no_prompt,
@ -351,7 +351,9 @@ def convert(ctx,
context['video_encoder'] = VideoEncoder.fromLabel(video_encoder)
context['use_jellyfin'] = not no_jellyfin
#TODO: #407 Without effect -> remove
context['use_jellyfin'] = False
context['use_tmdb'] = not no_tmdb
context['use_pattern'] = not no_pattern
context['no_prompt'] = no_prompt

@ -109,8 +109,8 @@ class Scenario1(Scenario):
commandSequence += ['--label', variantFilenameLabel]
if not testContext['use_jellyfin']:
commandSequence += ['--no-jellyfin']
# if not testContext['use_jellyfin']:
# commandSequence += ['--no-jellyfin']
commandSequence += ['--no-pattern']
commandSequence += ['--no-tmdb']

@ -97,8 +97,8 @@ class Scenario2(Scenario):
'--no-prompt',
'--no-signature']
if not testContext['use_jellyfin']:
commandSequence += ['--no-jellyfin']
# if not testContext['use_jellyfin']:
# commandSequence += ['--no-jellyfin']
self._logger.debug(f"{variantLabel}: Test sequence: {commandSequence}")

@ -182,8 +182,8 @@ class Scenario4(Scenario):
commandSequence += ['--no-prompt', '--no-signature']
if not testContext['use_jellyfin']:
commandSequence += ['--no-jellyfin']
# if not testContext['use_jellyfin']:
# commandSequence += ['--no-jellyfin']
self._logger.debug(f"{variantLabel}: Test sequence: {commandSequence}")

Loading…
Cancel
Save