Skip to content

Problem with 2 character years #31

Closed
@tbastard

Description

I have a series which downloads as dd.mm.yy..avi
I added the following into the config to handle this

    '''
    ^((?P<seriesname>.+?)[ \._\-])?          # show name
    (?P<day>\d{2})                           # day
    [ \._\-]                                 # separator
    (?P<month>\d{2})                         # month
    [ \._\-]                                 # separator
    (?P<year>\d{2})                          # year
    [^\/]*$''',

However when this is parsed by the system it turns it into - 0011-07-26.avi
The problem is the 0011 should be 2011.

Is there any way for the system to put a 20 infront of a year instead of 00?

Thanks

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