Commit Graph

5 Commits

Author SHA1 Message Date
John Shaw
b4f9f0c3cb Remove parents in remove_empty_directories (#21726)
The original implementation did a full directory tree walk to find and remove
empty directories, so this implementation should remove the parents as well,
like the original did.
2026-02-18 10:51:23 -07:00
John Shaw
9c88cd4017 Optimize empty directory cleanup for recordings (#21695)
The previous empty directory cleanup did a full recursive directory
walk, which can be extremely slow. This new implementation only removes
directories which have a chance of being empty due to a recent file
deletion.
2026-02-18 10:50:46 -07:00
Josh Hawkins
b9d33e9e83 Fix incorrect counting in sync_recordings (#21626) 2026-02-18 10:50:46 -07:00
Josh Hawkins
f83f9cbe93 use same logging pattern in sync_recordings as the other sync functions (#21625) 2026-02-18 10:50:46 -07:00
Josh Hawkins
1bcd4d283f Add media sync API endpoint (#21526)
* add media cleanup functions

* add endpoint

* remove scheduled sync recordings from cleanup

* move to utils dir

* tweak import

* remove sync_recordings and add config migrator

* remove sync_recordings

* docs

* remove key

* clean up docs

* docs fix

* docs tweak
2026-02-18 10:50:46 -07:00