Commit Graph
10 Commits
Author SHA1 Message Date
Arkadiusz Miśkiewicz 65e222da1e ✨ M20 T support (timestamps for files on sd card) (#4610)
- Use "M20 L T" (if CAPABILITY_EXTENDED_M20 is available) which gives
  us long file names but also file timestamps.
- Wire up that timestamp into "date" field which gives us "Uploaded: ...
  ago" for files on SD card. Sorting by upload date also works.
- Implementing this also fixes parsing of response to (for example
  manually sent) "M20 T" command. Octoprint assumed that third entry
  in response is always long file name while with M20 T it is timestamp.
- Add conversion routines between M20 T timestamp and unix timestamp. Wire
  up that conversion in virtual printer.

See also https://reprap.org/wiki/G-code#M20:_List_SD_card
2022-08-15 12:16:30 +02:00
Gina Häußge 75cb5930ac 👷 Don't exclude docs folder from pre-commit 2022-08-03 11:37:51 +02:00
Billy Richardson 64c21ba8f0 ✏️ Documentation spelling fixes (#4497) 2022-04-24 17:21:13 +01:00
Charlie Powell a2d4fc08a5 📝 Document new virtual printer options in 1.5.0 2020-12-05 16:41:33 +00:00
Gina Häußge dbd7f719f6 📝 Document new virtual printer settings 2020-07-13 14:32:09 +02:00
Gina Häußge 42abcd7009 📝 Fix docs for virtual printer 2020-07-07 12:01:11 +02:00
Gina Häußge a4d6e24dad ♻ Isolate virtual printer fully into plugin 2020-06-04 19:02:25 +02:00
Dominik Palo e73aeba03b Unify macOS naming across docs 2019-11-03 09:23:04 +01:00
Gina Häußge e2f626d421 Virtual printer: select_sd command 2018-06-19 11:24:05 +02:00
Peter Backx 452ee8e156 Adding documentation for the virtual printer plugin. 2017-10-05 18:19:08 +02:00