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
171 stars 26 forks source link

watchdog cant find directories #229

Closed aporzio1 closed 9 months ago

aporzio1 commented 9 months ago

I mapped the folders to my Z drive (Network share that is mapped) but it gives me the error below. Am I missing something? using the PIP install method if it makes a difference

Edit: I just tried docker and I get the same thing. I even tried to use just /config (which is where my namer.cfg is which it can recognize) but it still does not work

Watchdog Config:
  ignored_dir_regex: .*_UNPACK_.*
  min_file_size: 300
  del_other_files: True
  new_relative_path_name: {full_site}/{full_site} - {date} - {name} [WEBDL-{resolution}].{ext}
  watch_dir: Z:\Other\other\Unsorted
  work_dir: Z:\Other\other\Unsorted\work
  failed_dir: Z:\Other\other\Unsorted\failed
  dest_dir: Z:\Other\other
  retry_time:
  extra_sleep_time: 30
  web: True
  port: 6980
  host: 0.0.0.0
  web_root:
  allow_delete_files: True
  add_max_percent_column: False
  add_complete_column: False
  debug: False
  manual_mode: False
  diagnose_errors: False
2023-11-25 15:37:21 | ❌ ERROR    | Configured directory watch_dir: "Z:\Other\other\Unsorted" is not a directory or not exist or in other watchdog directory
2023-11-25 15:37:21 | ❌ ERROR    | Configured directory work_dir: "Z:\Other\other\Unsorted\work" is not a directory or not exist or in other watchdog directory
2023-11-25 15:37:21 | ❌ ERROR    | Configured directory failed_dir: "Z:\Other\other\Unsorted\failed" is not a directory or not exist or in other watchdog directory
2023-11-25 15:37:21 | ❌ ERROR    | Configured directory dest_dir: "Z:\Other\other" is not a directory or not exist or in other watchdog directory
2023-11-25 15:37:21 | ℹ️ INFO     | ffmpeg version "6.1-essentials_build-www.gyan.dev" found
2023-11-25 15:37:21 | ℹ️ INFO     | ffprobe version "6.1-essentials_build-www.gyan.dev" found
schneckenschnabel commented 9 months ago

Same issue here.

DirtyRacer1337 commented 9 months ago

Separate the directories from eachother

aporzio1 commented 9 months ago

@DirtyRacer1337 I get the same error. If i copy that path and paste it in Explorer, the folder opens, So the path is right. If i change it to a random path in C:\ it works so it seems to not like a network drive even though its mapped

2023-12-10 18:41:37 | ❌ ERROR    | Configured directory watch_dir: "\\Icarus\Icarus\Other\other\Unsorted" is not a directory or not exist or in other watchdog directory
2023-12-10 18:41:37 | ❌ ERROR    | Configured directory work_dir: "\\Icarus\Icarus\Other\other\Work" is not a directory or not exist or in other watchdog directory
2023-12-10 18:41:37 | ❌ ERROR    | Configured directory failed_dir: "\\Icarus\Icarus\Other\other\failed" is not a directory or not exist or in other watchdog directory
2023-12-10 18:41:37 | ℹ️ INFO     | ffmpeg version "6.1-essentials_build-www.gyan.dev" found
2023-12-10 18:41:37 | ℹ️ INFO     | ffprobe version "6.1-essentials_build-www.gyan.dev" found
DirtyRacer1337 commented 9 months ago

Mount network as drive then, maybe python doesn't support that

QZQ-QSQ commented 5 months ago

Mount network as drive then, maybe python doesn't support that

Same issue with my local disk,Version 1.18.0 is working fine, it doesn't work after upgrading to 1.18.3 捕获

TheDestr0yer commented 1 month ago

Same Issue , any fix ?