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

Replace recording batch download powershell script with web file-system apis #2116

Open
hudson-newey opened this issue Feb 7, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@hudson-newey
Copy link
Member

A common problem for users is that batch downloading audio requires the use of a Powershell script.

This leads to problems such as

  • The incorrect powershell version being installed
  • The user and/or powershell script might not have execute permissions
  • Troubles in the shell (eg. navigating to the directory)

Replacing this with file system apis will allow the user to select a directory to batch download audio recordings to (reducing technical friction with powershell).


User flow:

  1. showDirectoryPicker() dialog for the user to select a directory
  2. getDirectoryHandle(, {create: true}) to make sub directories for the sites (ensure that this doesn't generate additional pop-ups)
  3. check if each file exists
  4. write the streams from browser fetch

Potentially using the following file-system apis:

@hudson-newey hudson-newey added the enhancement New feature or request label Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant