#104 open
dbr/Ben

Make input/output_series_replacements consistent with other replacements

Reported by dbr/Ben | March 8th, 2012 @ 03:58 PM | in v2.4

They are defined like:

"input_series_replacements": {
    "Star Trek TNG": "Star Trek The Next Generation",
    "Star.Trek.DS9.": "Star.Trek.Deep.Space.Nine"},

Should be done like in #103:

"input_series_replacements": [
        {
                 "is_regex": false,
                 "match": "Star Trek TNG",
                 "replacement": "Star Trek The Next Generation"
        },
        {
                "is_regex": false,
                "match": "Star.Trek.DS9.",
                "replacement": "Star.Trek.Deep.Space.Nine"
        }
],

Can keep backwards compatibility with current syntax by checking if the replacements are a dict or list

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

People watching this ticket

Referenced by

Pages