8 Commits

Author SHA1 Message Date
konstantin-paulus
67dcb6fdcc Refactor asset and folder command outputs for consistency and clarity
Update the output format for various asset and folder commands to ensure JSON Lines are emitted on stdout, providing a consistent structure across commands. Enhance error handling to ensure that unknown ids or invalid inputs fail the entire command, improving user feedback and command reliability. This change streamlines the user experience and aligns with the fail-fast convention for batch commands.
2026-07-15 12:39:25 +02:00
konstantin-paulus
4a92a1913b Refactor media command structure and update documentation for clarity
Introduce a new `media` command group to replace the previous `asset` command for media inspection tasks, including `probe`, `grab`, `visualize`, `transcribe`, and `analyze`. Update CLI descriptions and documentation to reflect this change, ensuring users can easily understand the functionalities related to media files. This refactor enhances the organization of commands and improves the user experience when working with media assets.
2026-07-10 07:48:28 +02:00
konstantin-paulus
f159d2c073 Refactor asset analysis options and update CLI descriptions for clarity
Change the `--strip-video` option to `--keep-video` in the asset analysis command, improving the default behavior to include the video stream during analysis. Update related documentation and error handling to reflect this change. Additionally, enhance descriptions for various asset commands to provide clearer guidance on their functionalities and use cases.
2026-07-10 06:34:46 +02:00
konstantin-paulus
f392e72819 Rename dapi asset frame command to dapi asset grab for clarity and update related documentation. Modify input parameters across various asset commands to indicate that local files can be analyzed or visualized without being added to the library. Enhance type safety in the CLI by introducing a unified AssetRef type for asset references, streamlining asset handling in the codebase. 2026-07-09 13:56:53 +02:00
konstantin-paulus
2e03b6349b Enhance dapi asset analyze command with --strip-video option for audio-only analysis
Add a new `--strip-video` flag to the `asset analyze` command, allowing users to analyze only the audio track of video assets, significantly improving performance. Update the implementation to handle this option in the API request and adjust the documentation accordingly. Ensure proper validation for asset types when using the new option, enhancing user experience and functionality.
2026-07-09 08:36:02 +02:00
konstantin-paulus
7414220589 Enhance dapi asset transcribe command with options for time range selection
Update the `transcribe` command to support optional `--start` and `--end` parameters, allowing users to specify a range for the transcript output. Modify the implementation to handle these options in the API request and ensure proper validation of the time inputs. Additionally, update the documentation to reflect these changes, improving user experience and functionality.
2026-07-09 08:24:15 +02:00
konstantin-paulus
ca1403f10b Update asset visualization documentation and improve timestamp formatting in transcode utility
Enhance the `visualize.md` documentation to clarify audio and video rendering details, including the new `HH:MM:SS:FF` timecode format for tick labels. In the `transcode.ts` utility, adjust the maximum width in tokens and refactor the timestamp formatting function to accommodate frame rates, ensuring accurate time representation in visualizations.
2026-07-09 00:47:26 +02:00
konstantin-paulus
5e3b6d577a Remove outdated API documentation files and introduce new reference files for dapi CLI commands, including context, fonts, models, mount, open, and others. Update the main reference README to reflect the new command structure and organization, ensuring clarity and accessibility for users. This restructuring enhances the overall documentation quality and usability. 2026-07-08 22:33:29 +02:00