Steps to reproduce:
- Start service
- Stream for a few moments so some file segments are added to wherever they are configured to go
- stop service
- start service
- stream for a few moments again
Expected result:
orphaned segments are cleaned up
Actual result:
orphaned segments remain
This is a concern for the configuration I currently have, where i setup a system service to execute raspi-live, and control when it starts and stops with cron. With each stop and start, I'm accumulating orphaned segment files that I will need to clean up manually.
