Jaroslav Kysela wrote:
Only entries added by autorec are managed by autorec rules. Other entries are standalone. I don't think it's a bug.
Sorry will explain again with more details.
I set up an autorec and let it record 2 shows, I then go and update the autorec and change the max count from 0 to 2. It then records another show for a total of 3, I expect the oldest to be deleted but it does not.
If I check the contents of the log files for each of the 3 only the last has a value set for the autorec entry.
Looking in the code when an autorec entry is updated and saved in dvr_autorec_entry_class_save, dvr_autorec_changed(dae, 1); is called which does a purge on the existing recordings which is why old entries are missing the autorec entry.
I can submit a pull request is change to dvr_autorec_changed(dae, 0); but not sure if that's the correct way to fix.
Scott