ThePornDatabase / namer

Renames adult video files so that the plex/jellyfin plugins and stash script will match without user input. Runs server or command mode.
https://theporndb.net
183 stars 29 forks source link

Use original filename if automatically matched by watchdog #97

Open MikeLund opened 2 years ago

MikeLund commented 2 years ago

My desired usecase is using watchdog to automatically see which files the Plex Agent would otherwise fail to match on -- configuring watchdog to rename files ONLY if they required a manual match in the watchdog webui.

Two different cases:

  1. Adding a properly-named file sitename.22.03.05.scenename.blahblah.1080p.mp4 to watch_dir gets automatically matched by watchdog successfully -> move it to dest_dir without changing anything. (This being my new requested functionality)
  2. Adding file not.in.correct.naming.format.etc.etc.mp4 doesn't get matched by watchdog -> I manually match it in webui -> it gets renamed using the format specified in new_relative_path_name. (This being the current/normal functionality)

Why?

Thanks for the great work otherwise, I found this project earlier today and love the effort put into it :)

4c0d3r commented 2 years ago

@Darklyter can we come up with a definition of what the plugins matching algo must be? I would have to re-implement it in namer to complete this item. Just seeing the algo spelled out and committed to in the plugins would be enough.

zinjacoder commented 1 year ago

As I prefer the (re)naming convention defined in the config, perhaps the proposed functionality would be configurable.