Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: instead of "transcript.(txt|json)", name output file to the input file's name #44

Open
shola opened this issue Sep 20, 2024 · 0 comments

Comments

@shola
Copy link

shola commented Sep 20, 2024

Current functionality

The Transcript component successfully downloads transcript files named either "transcript.txt" or "transcript.json" after clicking the "Export TXT" or "Export JSON" buttons, respectively. However, that leaves the user with a directory full of files named something like transcript(n).txt where n is a positive integer (on OSX).

Feature request

For audio files loaded using the FileTile, use the input file's name to name the downloaded transcription file. For audio files loaded using the UrlTile, the input filename would be the part of the URL path after the last forward slash. For audio created with the RecordTile, use something like `recording_${new Date().toISOString() }` as the input filename.

Example: After transcribing an input file named "voice_recording_01_01_25.mp3", clicking the "Export TXT" button should download a transcript file named one of the following:

  • voice_recording_01_01_25.mp3.txt
  • voice_recording_01_01_25.txt
  • voice_recording_01_01_25.mp3_transcript.txt
  • voice_recording_01_01_25_transcript.txt
    Whichever file naming format is chosen should also be applied to the "Export JSON" button.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant