Skip to content

Parameters for -v Views? ('New') #58

@goombapatrol

Description

@goombapatrol

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions