Tooloop / Tooloop-Control

A browser based settings Control Centre for Tooloop OS.
https://www.tooloop.org
MIT License
0 stars 2 forks source link

Screnshot Thumbnails broken #14

Closed vollstock closed 7 months ago

vollstock commented 11 months ago

Something is messed up with file names.

Request:
2023-09-27T09:27:01+02:00_000-thumb.jpg

Actual file name:
2023-09-27T09:26:01+02:00-thumb_000.jpg

vollstock commented 7 months ago

This was due to the cron job beein invoked twice and thus scrot adding a second file called ####_000.jpg Likely this only happend on my dev machine but anyway. Let’s see if we can handle the error.

vollstock commented 7 months ago

Fixed in https://github.com/Tooloop/Tooloop-OS/commit/332fb01b79b19b21a8e7f290dc4d835730bd8605 and https://github.com/Tooloop/Tooloop-OS/commit/6235f1684dd797dc52cc40e27a5f424b5863233e