New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v7.1.0: Change default value for 'recordings lifetime' setting #460
Conversation
|
@ksooo Certainly. Could you please create a Windows build for me to test it? |
|
@m4tt075 any feedback? |
|
@ksooo Yes, here where I am: Testenvironment
Test results
The way I read this, specified timer settings in the addon are interpreted correctly by the backend, but the "Use backend setting" sets retention to forever instead of respecting the actual backend setting. I have to say that I did not restart the backend after changing the backend settings though, as I don't think that that should be required. Anyways, please let me know if I should test differently... |
|
EDIT: Not sure you are reading the backend log correctly. A "0" there imo means "use value specified in the corresponding dvr backend config". 0 does NOT mean 'forever'. 'Forever' is MAX_INT (thus a very big number). For me, the log reads like everything should work as expectd now. |
|
Not sure either, but I would have expected different backend retention values to be reflected in the |
|
I'm afraid you have to open an issue for tvheaded if things do not work as expected. Nothing the addon can do about that. I just use an offcial tvheadend API. |
|
How about, instead of trying to "decrypt" the log files, just doing a real runtime test? |
|
Regarding difference between retention and removal: this addon only modifies removal. removal is about when the file (incl. db entry) gets removed, retention is when the db entry is removed without removing the recording file. A mess, if you ask me and very confusing. So, I'm not astonished that your test reveals that retention value is always zero. The addon does not touch this value, so it always is 0 (which means "current DVR config"). |
|
To conclude: I think neither tvheadeend is buggy nor the implementation done with this PR. You simply misread the log files. |
|
Might well be the case, @ksooo. I'm in no position to judge. Just testing and reporting... :-) |
|
I learned something more from reading old forum posts: The "retention" value refers to the dvr LOG retention period and has nothing to do with the FILE retention. The FILE retention indeed is supposed to be stored in the "removal" variable. And I've found some old, unanswered reports that the backend settings are not always operating correctly. Maybe this IS a backend problem after all. I'll open a ticket on tvheadend.org. Maybe "Flole" knows more... |
As discussed here: #458
@m4tt075 mind doing a runtime-test?