Files
personal_development/stashtoolkit_webtop/context/directives.md
T

1.8 KiB

  • Create a singular web tool from the scripts in /home/david/Documents/vscode/personal_development/stashtoolkit/Transcoded File Scripts.
  • The tool should run on Linux.
  • The tool should connect to a Stash instance and its SQLite database.
  • The tool should replace transcoded files with original files based on information from the database.
  • The tool should identify duplicate files by name and provide details like duration, file path, and file size for user review and action.
  • All destructive actions (deleting, overwriting) must be confirmed by the user.
  • The web page should not prompt for directories; it should derive them from the existing scripts.
  • The tool must handle SMB connections to smb://truenas.local/isolation and smb://servervm/main.
  • The tool must prompt for SMB credentials and store them securely for future use.
  • The UI should be modern, dynamic, and "bubbly."
  • Credential prompts should only appear if no credentials are saved. A button should be available to enter new credentials.
  • A status check for the Stash database connection should be displayed.
  • The Stash DB connection check should happen automatically on server startup and be refreshable by the user.
  • The tool needs to handle the ImportError: cannot import name 'smb_client' from 'smbprotocol'.
  • The tool needs to handle the module 'smbclient' has no attribute 'open'.
  • The tool needs to handle the Failed to connect to 'servervm:445': [Errno -2] Name or service not known error by using .local hostnames.
  • Add a health check for the truenas.local connection.
  • Add a file explorer to navigate the truenas.local isolation SMB share, with features for previewing, deleting, renaming, and moving files.
  • All status checks should run in parallel.