diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2021-06-08 17:33:35 +0000 |
---|---|---|
committer | KevinOConnor <kevin@koconnor.net> | 2021-06-22 15:15:03 -0400 |
commit | f1091a484bfbf2cc5676e3a6fcd595172f123f67 (patch) | |
tree | 4aca1b8dcbc76464b4c3ebd7cb0486c501ab2f8c /docs | |
parent | 478f26cab6c8e73e3970d2b303bc818f6910ae74 (diff) | |
download | kutter-f1091a484bfbf2cc5676e3a6fcd595172f123f67.tar.gz kutter-f1091a484bfbf2cc5676e3a6fcd595172f123f67.tar.xz kutter-f1091a484bfbf2cc5676e3a6fcd595172f123f67.zip |
virtual_sdcard: add `file_path` and `file_size` to `status`
This provides a comprehensive information if currently
we have a file loaded.
Signed-off-by: Kamil Trzcinski <ayufan@ayufan.eu>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/Status_Reference.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/Status_Reference.md b/docs/Status_Reference.md index 7442c170..da530e1b 100644 --- a/docs/Status_Reference.md +++ b/docs/Status_Reference.md @@ -329,7 +329,9 @@ The following information is available in the - `is_active`: Returns True if a print from file is currently active. - `progress`: An estimate of the current print progress (based of file size and file position). +- `file_path`: A full path to the file of currently loaded file. - `file_position`: The current position (in bytes) of an active print. +- `file_size`: The file size (in bytes) of currently loaded file. # webhooks |