Skip to content

Commit e50a3f1

Browse files
committed
feat(file-actions): produce markdown files for summarize and STT actions
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
1 parent 9cfe0e4 commit e50a3f1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/Listener/FileActionTaskSuccessfulListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ class_exists('OCP\\TaskProcessing\\TaskTypes\\TextToSpeech')
7777
} else {
7878
$textResult = $task->getOutput()['output'];
7979
$suffix = $taskTypeId === TextToTextSummary::ID ? 'summarized' : 'transcribed';
80-
$targetFileName = $sourceFile->getName() . ' - ' . $suffix . '.txt';
80+
$targetFileName = $sourceFile->getName() . ' - ' . $suffix . '.md';
8181
$targetFile = $sourceFileParent->newFile($targetFileName, $textResult);
8282
$this->logger->debug('FileActionTaskListener wrote file', ['target' => $targetFileName]);
8383
}

0 commit comments

Comments
 (0)