nighl disable jellyfin mode
This commit is contained in:
@@ -296,7 +296,7 @@ def checkUniqueDispositions(context, mediaDescriptor: MediaDescriptor):
|
|||||||
@click.option("--denoise", is_flag=True, default=False)
|
@click.option("--denoise", is_flag=True, default=False)
|
||||||
|
|
||||||
@click.option("--no-tmdb", 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("--no-pattern", is_flag=True, default=False)
|
||||||
|
|
||||||
@click.option("--dont-pass-dispositions", is_flag=True, default=False)
|
@click.option("--dont-pass-dispositions", is_flag=True, default=False)
|
||||||
@@ -332,7 +332,7 @@ def convert(ctx,
|
|||||||
output_directory,
|
output_directory,
|
||||||
denoise,
|
denoise,
|
||||||
no_tmdb,
|
no_tmdb,
|
||||||
no_jellyfin,
|
# no_jellyfin,
|
||||||
no_pattern,
|
no_pattern,
|
||||||
dont_pass_dispositions,
|
dont_pass_dispositions,
|
||||||
no_prompt,
|
no_prompt,
|
||||||
@@ -351,7 +351,9 @@ def convert(ctx,
|
|||||||
|
|
||||||
context['video_encoder'] = VideoEncoder.fromLabel(video_encoder)
|
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_tmdb'] = not no_tmdb
|
||||||
context['use_pattern'] = not no_pattern
|
context['use_pattern'] = not no_pattern
|
||||||
context['no_prompt'] = no_prompt
|
context['no_prompt'] = no_prompt
|
||||||
|
|||||||
@@ -109,8 +109,8 @@ class Scenario1(Scenario):
|
|||||||
commandSequence += ['--label', variantFilenameLabel]
|
commandSequence += ['--label', variantFilenameLabel]
|
||||||
|
|
||||||
|
|
||||||
if not testContext['use_jellyfin']:
|
# if not testContext['use_jellyfin']:
|
||||||
commandSequence += ['--no-jellyfin']
|
# commandSequence += ['--no-jellyfin']
|
||||||
|
|
||||||
commandSequence += ['--no-pattern']
|
commandSequence += ['--no-pattern']
|
||||||
commandSequence += ['--no-tmdb']
|
commandSequence += ['--no-tmdb']
|
||||||
|
|||||||
@@ -97,8 +97,8 @@ class Scenario2(Scenario):
|
|||||||
'--no-prompt',
|
'--no-prompt',
|
||||||
'--no-signature']
|
'--no-signature']
|
||||||
|
|
||||||
if not testContext['use_jellyfin']:
|
# if not testContext['use_jellyfin']:
|
||||||
commandSequence += ['--no-jellyfin']
|
# commandSequence += ['--no-jellyfin']
|
||||||
|
|
||||||
|
|
||||||
self._logger.debug(f"{variantLabel}: Test sequence: {commandSequence}")
|
self._logger.debug(f"{variantLabel}: Test sequence: {commandSequence}")
|
||||||
|
|||||||
@@ -182,8 +182,8 @@ class Scenario4(Scenario):
|
|||||||
|
|
||||||
commandSequence += ['--no-prompt', '--no-signature']
|
commandSequence += ['--no-prompt', '--no-signature']
|
||||||
|
|
||||||
if not testContext['use_jellyfin']:
|
# if not testContext['use_jellyfin']:
|
||||||
commandSequence += ['--no-jellyfin']
|
# commandSequence += ['--no-jellyfin']
|
||||||
|
|
||||||
self._logger.debug(f"{variantLabel}: Test sequence: {commandSequence}")
|
self._logger.debug(f"{variantLabel}: Test sequence: {commandSequence}")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user