#411 Input/Output Pfade
This commit is contained in:
@@ -549,7 +549,7 @@ def convert(ctx,
|
|||||||
targetSuffices = {}
|
targetSuffices = {}
|
||||||
|
|
||||||
|
|
||||||
mediaFileProperties = FileProperties(context, sourceFilename)
|
mediaFileProperties = FileProperties(context, sourcePath)
|
||||||
|
|
||||||
|
|
||||||
ssc = ShiftedSeasonController(context)
|
ssc = ShiftedSeasonController(context)
|
||||||
@@ -722,7 +722,8 @@ def convert(ctx,
|
|||||||
|
|
||||||
targetFilename = f"{'_'.join(targetFilenameTokens)}.{targetExtension}"
|
targetFilename = f"{'_'.join(targetFilenameTokens)}.{targetExtension}"
|
||||||
|
|
||||||
targetPath = os.path.join(output_directory if output_directory else sourceDirectory, targetFilename)
|
# targetPath = os.path.join(output_directory if output_directory else sourceDirectory, targetFilename)
|
||||||
|
targetPath = os.path.join(output_directory, targetFilename) if output_directory else targetFilename
|
||||||
|
|
||||||
#TODO: target extension anpassen
|
#TODO: target extension anpassen
|
||||||
ctx.obj['logger'].info(f"Creating file {targetFilename}")
|
ctx.obj['logger'].info(f"Creating file {targetFilename}")
|
||||||
|
|||||||
Reference in New Issue
Block a user