nighl
This commit is contained in:
@@ -598,6 +598,9 @@ def convert(ctx,
|
||||
targetMediaDescriptor = currentPattern.getMediaDescriptor(ctx.obj)
|
||||
checkUniqueDispositions(context, targetMediaDescriptor)
|
||||
currentShowDescriptor = currentPattern.getShowDescriptor(ctx.obj)
|
||||
|
||||
if len(sourceMediaDescriptor.getTrackDescriptors()) != len(targetMediaDescriptor.getTrackDescriptors()):
|
||||
raise click.ClickException(f"Number of source streams differs from stored media descriptor")
|
||||
|
||||
if context['import_subtitles']:
|
||||
targetMediaDescriptor.importSubtitles(context['subtitle_directory'],
|
||||
|
||||
@@ -557,12 +557,6 @@ class MediaDetailsScreen(Screen):
|
||||
|
||||
def action_new_pattern(self):
|
||||
|
||||
#TODO #427: Fehlermeldung in TUI
|
||||
# try:
|
||||
# self.__currentMediaDescriptor.checkConfiguration()
|
||||
# except ValueError:
|
||||
# return
|
||||
|
||||
selectedShowDescriptor = self.getSelectedShowDescriptor()
|
||||
|
||||
#HINT: Callback is invoked after this method has exited. As a workaround the callback is executed directly
|
||||
|
||||
Reference in New Issue
Block a user