dbr / tvnamer

Automatic TV episode file renamer, uses data from thetvdb.com via tvdb_api
https://pypi.python.org/pypi/tvnamer/
The Unlicense
909 stars 115 forks source link

Overwrite when path or name matches proper or Repack #118

Open lozbrown opened 8 years ago

lozbrown commented 8 years ago

This is actually a duplicate of #84 as i'm not sure why that was closed becuase it's still a very useful request that is not yet possible.

Essentially an additional config item, something like "overwrite_destination_on_repack_proper" which when true would perform a case insensitive pattern match on the full path for Proper or Repack and force overwriting for these files.

lozbrown commented 3 years ago

thinking about this it might be better to have some sort of pattern list where overide is forced

"force_overwrite_patterns": [{"match": "REPACK ", "is_regex": false}]
dbr commented 3 years ago

Yeh that seems like a good approach, and shouldn't be to hard to implement once the renaming logic is tidied up in the v4.0