nmaier/simpleDLNA

Parameters for -v Views? ('New')

Opened this issue · 0 comments

Is there a way to specify how many days old a file has to be to be not considered 'NEW'? I see in the code that the default is 7, can that be manually overridden?
private DateTime minDate = DateTime.Now.AddDays(-7.0);
Absolute date would be nice (e.g. exclude older than 2020-01-01) but that's easy enough to calculate with an external script, so probably unnecessary for SDLNA. Just need a way to set the number of days.

So if -v doesn't seem to accept any sort of second parameter, how exactly is e.g. 'FILTER' used? No syntax that I've tried has worked
sdlna -v filter *.mp4 folder
sdlna -v dimension=200x200 folder
(which is what lead me to believe I was missing something for 'NEW').

Thanks!