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
184 stars 31 forks source link

Namer just sitting there #193

Closed ff-man closed 1 year ago

ff-man commented 1 year ago

I have namer running in a Docker container on a synology NAS. There's files in the watch_dir, and files in the work_dir but namer is just sitting there not doing anything. It was processing files before that. I restarted the container a couple of times, but that does not seem to help.

Here are the logs, along with a dump of the config:

2023-05-11 19:30:29 | ℹ️ INFO     | Namer Config:

  porndb_token: ****************************************

  inplace_name: {full_site} - {date} - {name} [WEBDL-{resolution}].{ext}

  prefer_dir_name_if_available: True

  target_extensions: ['mp4', 'mkv', 'avi', 'mov', 'flv']

  write_namer_log: False

  write_namer_failed_log: True

  trailer_location: 

  sites_with_no_date_info: []

  movie_data_preferred: ['missax']

  vr_studios: [redacted for brevity]

  vr_tags: ['virtual reality', 'vr porn']

  site_abbreviations: {redacted for brevity}

  update_permissions_ownership: False

  set_dir_permissions: 775

  set_file_permissions: 664

  set_uid: 1026

  set_gid: 100

  max_performer_names: 6

  enabled_requests_cache: True

  requests_cache_expire_minutes: 10

  override_tpdb_address: https://api.metadataapi.net

  plex_hack: False

Phash:

  search_phash: True

  send_phash: True

  use_alt_phash_tool: False

  max_ffmpeg_workers: None

  use_gpu: True

Duplicate Config:

  preserve_duplicates: False

  max_desired_resolutions: -1

  desired_codec: ['hevc', 'h264']

Tagging Config:

  write_nfo: True

  enabled_tagging: True

  enabled_poster: True

  download_type: ['poster', 'background', 'performer']

  enable_metadataapi_genres: True

  default_genre: Adult

  language: eng

  mark_collected: True

Watchdog Config:

  ignored_dir_regex: .*_UNPACK_.*

  min_file_size: 100

  del_other_files: False

  new_relative_path_name: {full_site}/{full_site} - {date} - {name} [WEBDL-{resolution}].{ext}

  watch_dir: /config/test

  work_dir: /config/work_dir

  failed_dir: /media/unmatched

  dest_dir: /media/matched

  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: True

  debug: False

  manual_mode: False

  diagnose_errors: False

2023-05-11 19:30:29 | ℹ️ INFO     | ffmpeg version "4.4.2-0ubuntu0.22.04.1" found

2023-05-11 19:30:29 | ℹ️ INFO     | ffprobe version "4.4.2-0ubuntu0.22.04.1" found

2023-05-11 19:30:29 | ℹ️ INFO     | Start porndb scene watcher.... watching: /config/test

Namer version: v1.13.2

Built on: 2023-02-23T16:16:54Z

Git Hash: 57b1234a5e3788c7aa3c67c01dd98df9677061eb

2023-05-11 19:30:29 | ℹ️ INFO     | Starting server: http://0.0.0.0:6980/

2023-05-11 19:32:17 | ℹ️ INFO     | Scanning dir /media/unmatched for sub-dirs/files to process

2023-05-11 19:51:47 | ℹ️ INFO     | Scanning dir /media/unmatched for sub-dirs/files to process

2023-05-11 20:03:45 | ℹ️ INFO     | Scanning dir /media/unmatched for sub-dirs/files to process
ff-man commented 1 year ago

Hello. If there are any special rules or information that I need to post before someone looks at the issue, I'd be more than happy to provide them. Sorry if I did not follow a rule.

I have 100s of files in the watch_dir and after all the troubleshooting I can muster, I really can't understand why namer is not processing them.

ff-man commented 1 year ago

So this is the loop here. Runs ever 3 seconds.

files: List[Path] = []
        for file in self.__namer_config.watch_dir.rglob("**/*.*"):
            if file.is_file() and file.suffix.lower()[1:] in self.__namer_config.target_extensions:
                files.append(file)

Running the following from the docker container:

root@plex-preprocessor:/# python 3
bash: python: command not found
root@plex-preprocessor:/# python3
Python 3.10.6 (main, Nov 14 2022, 16:10:14) [GCC 11.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from namer.__main__ import *
>>> config = default_config()
>>> from namer.watchdog import *
>>> watchdog = create_watcher(config)
2023-05-16 21:55:05.100 | INFO     | namer.watchdog:create_watcher:290 - Namer Config:
  porndb_token: ****************************************
  inplace_name: {full_site} - {date} - {name} [WEBDL-{resolution}].{ext}
  prefer_dir_name_if_available: True
  target_extensions: ['mp4', 'mkv', 'avi', 'mov', 'flv']
  write_namer_log: False
  write_namer_failed_log: True
  trailer_location: 
  sites_with_no_date_info: []
  movie_data_preferred: ['missax']
  vr_studios: ['18 vr', 'babe vr', 'badoink vr', 'dorm room', 'kink vr', 'real vr', 'realjamvr', 'sex like real', 'sexbabesvr', 'sinsvr', 'slr originals', 'swallowbay', 'virtual taboo', 'virtualrealporn', 'vr bangers', 'vr cosplay x', 'vr hush', 'vrconk', 'vredging', 'wankz vr']
  vr_tags: ['virtual reality', 'vr porn']
  site_abbreviations: {'^wgp[ .-]+': 'WhenGirlsPlay ', '^18og[ .-]+': '18OnlyGirls ', '^18yo[ .-]+': '18YearsOld ', '^1kf[ .-]+': '1000Facials ', '^21ea[ .-]+': '21EroticAnal ', '^21fa[ .-]+': '21FootArt ', '^21n[ .-]+': '21Naturals ', '^2cst[ .-]+': '2ChicksSameTime ', '^a1o1[ .-]+': 'Asian1on1 ', '^aa[ .-]+': 'AmateurAllure ', '^ad[ .-]+': 'AmericanDaydreams ', '^add[ .-]+': 'ManualAddActors ', '^agm[ .-]+': 'AllGirlMassage ', '^am[ .-]+': 'AssMasterpiece ', '^analb[ .-]+': 'AnalBeauty ', '^baebz[ .-]+': 'Baeb ', '^bblib[ .-]+': 'BigButtsLikeItBig ', '^bcasting[ .-]+': 'BangCasting ', '^bconfessions[ .-]+': 'BangConfessions ', '^bglamkore[ .-]+': 'BangGlamkore ', '^bgonzo[ .-]+': 'BangGonzo ', '^brealteens[ .-]+': 'BangRealTeens ', '^bcb[ .-]+': 'BigCockBully ', '^bch[ .-]+': 'BigCockHero ', '^bdpov[ .-]+': 'BadDaddyPOV ', '^bex[ .-]+': 'BrazzersExxtra ', '^bgb[ .-]+': 'BabyGotBoobs ', '^bgbs[ .-]+': 'BoundGangbangs ', '^bin[ .-]+': 'BigNaturals ', '^bjf[ .-]+': 'BlowjobFridays ', '^bp[ .-]+': 'ButtPlays ', '^btas[ .-]+': 'BigTitsatSchool ', '^btaw[ .-]+': 'BigTitsatWork ', '^btc[ .-]+': 'BigTitCreampie ', '^btis[ .-]+': 'BigTitsinSports ', '^btiu[ .-]+': 'BigTitsinUniform ', '^btlbd[ .-]+': 'BigTitsLikeBigDicks ', '^btra[ .-]+': 'BigTitsRoundAsses ', '^burna[ .-]+': 'BurningAngel ', '^bwb[ .-]+': 'BigWetButts ', '^cfnm[ .-]+': 'ClothedFemaleNudeMale ', '^clip[ .-]+': 'LegalPorno ', '^cps[ .-]+': 'CherryPimps ', '^cuf[ .-]+': 'CumFiesta ', '^cws[ .-]+': 'CzechWifeSwap ', '^da[ .-]+': 'DoctorAdventures ', '^dbm[ .-]+': 'DontBreakMe ', '^dc[ .-]+': 'DorcelVision ', '^ddfb[ .-]+': 'DDFBusty ', '^ddfvr[ .-]+': 'DDFNetworkVR ', '^dm[ .-]+': 'DirtyMasseur ', '^dnj[ .-]+': 'DaneJones ', '^dpg[ .-]+': 'DigitalPlayground ', '^dwc[ .-]+': 'DirtyWivesClub ', '^dwp[ .-]+': 'DayWithAPornstar ', '^dsw[ .-]+': 'DaughterSwap ', '^esp[ .-]+': 'EuroSexParties ', '^ete[ .-]+': 'EuroTeenErotica ', '^ext[ .-]+': 'ExxxtraSmall ', '^fams[ .-]+': 'FamilyStrokes ', '^faq[ .-]+': 'FirstAnalQuest ', '^fds[ .-]+': 'FakeDrivingSchool ', '^fft[ .-]+': 'FemaleFakeTaxi ', '^fhd[ .-]+': 'FantasyHD ', '^fhl[ .-]+': 'FakeHostel ', '^fho[ .-]+': 'FakehubOriginals ', '^fka[ .-]+': 'FakeAgent ', '^fm[ .-]+': 'FuckingMachines ', '^fms[ .-]+': 'FantasyMassage ', '^frs[ .-]+': 'FitnessRooms ', '^ft[ .-]+': 'FastTimes ', '^ftx[ .-]+': 'FakeTaxi ', '^gft[ .-]+': 'GrandpasFuckTeens ', '^gbcp[ .-]+': 'GangbangCreampie ', '^gta[ .-]+': 'GirlsTryAnal ', '^gw[ .-]+': 'GirlsWay ', '^h1o1[ .-]+': 'Housewife1on1 ', '^ham[ .-]+': 'HotAndMean ', '^hart[ .-]+': 'Hegre ', '^hcm[ .-]+': 'HotCrazyMess ', '^hegre-art[ .-]+': 'Hegre ', '^hoh[ .-]+': 'HandsOnHardcore ', '^hotab[ .-]+': 'HouseofTaboo ', '^ht[ .-]+': 'Hogtied ', '^ihaw[ .-]+': 'IHaveAWife ', '^iktg[ .-]+': 'IKnowThatGirl ', '^il[ .-]+': 'ImmoralLive ', '^kha[ .-]+': 'KarupsHA ', '^kow[ .-]+': 'KarupsOW ', '^kpc[ .-]+': 'KarupsPC ', '^la[ .-]+': 'LatinAdultery ', '^lcd[ .-]+': 'LittleCaprice ', '^lhf[ .-]+': 'LoveHerFeet ', '^lsb[ .-]+': 'Lesbea ', '^lst[ .-]+': 'LatinaSexTapes ', '^lta[ .-]+': 'LetsTryAnal ', '^maj[ .-]+': 'ManoJob ', '^mbb[ .-]+': 'MommyBlowsBest ', '^mbt[ .-]+': 'MomsBangTeens ', '^mc[ .-]+': 'MassageCreep ', '^mcu[ .-]+': 'MonsterCurves ', '^mdhf[ .-]+': 'MyDaughtersHotFriend ', '^mdhg[ .-]+': 'MyDadsHotGirlfriend ', '^mfa[ .-]+': 'ManuelFerrara ', '^mfhg[ .-]+': 'MyFriendsHotGirl ', '^mfhm[ .-]+': 'MyFriendsHotMom ', '^mfl[ .-]+': 'Mofos ', '^mfst[ .-]+': 'MyFirstSexTeacher ', '^mgbf[ .-]+': 'MyGirlfriendsBustyFriend ', '^mgb[ .-]+': 'MommyGotBoobs ', '^mic[ .-]+': 'MomsInControl ', '^mj[ .-]+': 'ManoJob ', '^mlib[ .-]+': 'MilfsLikeItBig ', '^mlt[ .-]+': 'MomsLickTeens ', '^mmgs[ .-]+': 'MommysGirl ', '^mnm[ .-]+': 'MyNaughtyMassage ', '^mom[ .-]+': 'MomXXX ', '^mpov[ .-]+': 'MrPOV ', '^mrs[ .-]+': 'MassageRooms ', '^mshf[ .-]+': 'MySistersHotFriend ', '^mts[ .-]+': 'MomsTeachSex ', '^mvft[ .-]+': 'MyVeryFirstTime ', '^mwhf[ .-]+': 'MyWifesHotFriend ', '^naf[ .-]+': 'NeighborAffair ', '^nam[ .-]+': 'NaughtyAmerica ', '^na[ .-]+': 'NaughtyAthletics ', '^naughtyamericavr[ .-]+': 'NaughtyAmerica ', '^nb[ .-]+': 'NaughtyBookworms ', '^news[ .-]+': 'NewSensations ', '^nf[ .-]+': 'NubileFilms ', '^no[ .-]+': 'NaughtyOffice ', '^nrg[ .-]+': 'NaughtyRichGirls ', '^nubilef[ .-]+': 'NubileFilms ', '^num[ .-]+': 'NuruMassage ', '^nw[ .-]+': 'NaughtyWeddings ', '^obj[ .-]+': 'OnlyBlowjob ', '^otb[ .-]+': 'OnlyTeenBlowjobs ', '^pav[ .-]+': 'PixAndVideo ', '^pba[ .-]+': 'PublicAgent ', '^pf[ .-]+': 'PornFidelity ', '^phd[ .-]+': 'PassionHD ', '^plib[ .-]+': 'PornstarsLikeitBig ', '^pop[ .-]+': 'PervsOnPatrol ', '^ppu[ .-]+': 'PublicPickups ', '^prdi[ .-]+': 'PrettyDirty ', '^ps[ .-]+': 'PropertySex ', '^pud[ .-]+': 'PublicDisgrace ', '^reg[ .-]+': 'RealExGirlfriends ', '^rkp[ .-]+': 'RKPrime ', '^rws[ .-]+': 'RealWifeStories ', '^saf[ .-]+': 'ShesAFreak ', '^sart[ .-]+': 'SexArt ', '^sbj[ .-]+': 'StreetBlowjobs ', '^sislove[ .-]+': 'SisLovesMe ', '^smb[ .-]+': 'ShareMyBF ', '^ssc[ .-]+': 'StepSiblingsCaught ', '^ssn[ .-]+': 'ShesNew ', '^sts[ .-]+': 'StrandedTeens ', '^swsn[ .-]+': 'SwallowSalon ', '^tdp[ .-]+': 'TeensDoPorn ', '^tds[ .-]+': 'TheDickSuckers ', '^ted[ .-]+': 'Throated ', '^tf[ .-]+': 'TeenFidelity ', '^tgs[ .-]+': 'ThisGirlSucks ', '^these[ .-]+': 'TheStripperExperience ', '^tla[ .-]+': 'TeensLoveAnal ', '^tlc[ .-]+': 'TeensLoveCream ', '^tle[ .-]+': 'TheLifeErotic ', '^tlhc[ .-]+': 'TeensLoveHugeCocks ', '^tlib[ .-]+': 'TeensLikeItBig ', '^tlm[ .-]+': 'TeensLoveMoney ', '^togc[ .-]+': 'TonightsGirlfriendClassic ', '^tog[ .-]+': 'TonightsGirlfriend ', '^tspa[ .-]+': 'TrickySpa ', '^tss[ .-]+': 'ThatSitcomShow ', '^tuf[ .-]+': 'TheUpperFloor ', '^wa[ .-]+': 'WhippedAss ', '^wfbg[ .-]+': 'WeFuckBlackGirls ', '^wkp[ .-]+': 'Wicked ', '^wlt[ .-]+': 'WeLiveTogether ', '^woc[ .-]+': 'WildOnCam ', '^wov[ .-]+': 'WivesOnVacation ', '^wowg[ .-]+': 'WowGirls ', '^wy[ .-]+': 'WebYoung ', '^zzs[ .-]+': 'ZZseries ', '^ztod[ .-]+': 'ZeroTolerance ', '^itc[ .-]+': 'InTheCrack ', '^abbw[ .-]+': 'AbbyWinters ', '^abme[ .-]+': 'AbuseMe ', '^ana[ .-]+': 'AnalAngels ', '^atke[ .-]+': 'ATKExotics ', '^atkg[ .-]+': 'ATKGalleria ', '^atkgfs[ .-]+': 'ATKGirlfriends ', '^atkh[ .-]+': 'ATKHairy ', '^aktp[ .-]+': 'ATKPetites ', '^btp[ .-]+': 'BadTeensPunished ', '^brealmilfs[ .-]+': 'Bang.RealMilfs ', '^byngr[ .-]+': 'bang.YNGR ', '^ba[ .-]+': 'Beauty-Angels ', '^bgfs[ .-]+': 'BlackGFS ', '^bna[ .-]+': 'BrandNew ', '^bam[ .-]+': 'BruceAndMorgan ', '^bcast[ .-]+': 'BrutalCastings ', '^bd[ .-]+': 'BrutalDildos ', '^bpu[ .-]+': 'BrutalPickups ', '^cfnmt[ .-]+': 'CFNMTeens ', '^cfnms[ .-]+': 'FNMSecret ', '^cza[ .-]+': 'CzhecAmateurs ', '^czbb[ .-]+': 'CzechBangBus ', '^czb[ .-]+': 'CzechBitch ', '^cc[ .-]+': 'CzechCasting ', '^czc[ .-]+': 'CzechCouples ', '^czestro[ .-]+': 'CzechEstrogenolit ', '^czf[ .-]+': 'CzechFantasy ', '^czgb[ .-]+': 'CzechGangBang ', '^cgfs[ .-]+': 'CzechGFS ', '^czharem[ .-]+': 'CzechHarem ', '^czm[ .-]+': 'CzechMassage ', '^czo[ .-]+': 'CzechOrgasm ', '^czps[ .-]+': 'CzechPawnShop ', '^css[ .-]+': 'CzechStreets ', '^cztaxi[ .-]+': 'CzechTaxi ', '^czt[ .-]+': 'CzechTwins ', '^dlla[ .-]+': 'DadysLilAngel ', '^dts[ .-]+': 'DeepThroatSirens ', '^deb[ .-]+': 'DeviceBondage ', '^doan[ .-]+': 'DiaryOfANanny ', '^dpf[ .-]+': 'DPFanatics ', '^ds[ .-]+': 'DungeonSex ', '^ffr[ .-]+': 'FacialsForever ', '^ff[ .-]+': 'FilthyFamily ', '^fbbg[ .-]+': 'FirstBGG ', '^fab[ .-]+': 'FuckedAndBound ', '^fum[ .-]+': 'FuckingMachines ', '^fs[ .-]+': 'FuckStudies ', '^tfcp[ .-]+': 'FullyClothedPissing ', '^gfr[ .-]+': 'GFRevenge ', '^gdp[ .-]+': 'GirlsDoPorn ', '^hletee[ .-]+': 'HelplessTeens ', '^hotb[ .-]+': 'HouseOfTaboo ', '^Infr[ .-]+': 'InfernalRestraints ', '^inh[ .-]+': 'InnocentHigh ', '^jlmf[ .-]+': 'JessieLoadsMonsterFacials ', '^university[ .-]+': 'KinkUniversity ', '^lang[ .-]+': 'LANewGirl ', '^mmp[ .-]+': 'MMPNetwork ', '^mot[ .-]+': 'MoneyTalks ', '^mbc[ .-]+': 'MyBabysittersClub ', '^mdm[ .-]+': 'MyDirtyMaid ', '^mfp[ .-]+': 'MyFamilyPies ', '^nvg[ .-]+': 'NetVideoGirls ', '^nubp[ .-]+': 'Nubiles-Porn ', '^oo[ .-]+': 'Only-Opaques ', '^os[ .-]+': 'Only-Secretaries ', '^oss[ .-]+': 'OnlySilAndSatin ', '^psus[ .-]+': 'PascalsSubSluts ', '^pbf[ .-]+': 'PetiteBallerinasFucked ', '^phdp[ .-]+': 'PetiteHDPoorn ', '^psp[ .-]+': 'PorsntarsPunishment ', '^pc[ .-]+': 'PrincessCum ', '^pdmqfo[ .-]+': 'QuestForOrgasm ', '^rtb[ .-]+': 'RealTimeBondage ', '^rab[ .-]+': 'RoundAndBrown ', '^sr[ .-]+': 'SadisticRope ', '^sas[ .-]+': 'SexAndSubmission ', '^sed[ .-]+': 'SexualDisgrace ', '^seb[ .-]+': 'SexuallyBroken ', '^sislov[ .-]+': 'SisLovesMe ', '^tslw[ .-]+': 'SlimeWave ', '^steps[ .-]+': 'StepSiblings ', '^stre[ .-]+': 'StrictRestraint ', '^t18[ .-]+': 'Taboo18 ', '^tft[ .-]+': 'TeacherFucksTeens ', '^tmf[ .-]+': 'TeachMeFisting ', '^tsma[ .-]+': 'TeenSexMania ', '^tsm[ .-]+': 'TeenSexMovs ', '^ttw[ .-]+': 'TeensInTheWoods ', '^tgw[ .-]+': 'ThaiGirlsWild ', '^taob[ .-]+': 'TheArtOfBlowJob ', '^trwo[ .-]+': 'TheRealWorkout ', '^tto[ .-]+': 'TheTrainingOfO ', '^tg[ .-]+': 'TopGrl ', '^tt[ .-]+': 'TryTeens ', '^th[ .-]+': 'TwistysHard ', '^vp[ .-]+': 'VIPissy ', '^wrh[ .-]+': 'WeAreHairy ', '^wpa[ .-]+': 'WhippedAss ', '^yt[ .-]+': 'YoungThroats ', '^zb[ .-]+': 'ZoliBoy '}
  update_permissions_ownership: True
  set_dir_permissions: 775
  set_file_permissions: 664
  set_uid: 1026
  set_gid: 100
  max_performer_names: 6
  enabled_requests_cache: True
  requests_cache_expire_minutes: 10
  override_tpdb_address: https://api.metadataapi.net
  plex_hack: False
Phash:
  search_phash: True
  send_phash: True
  use_alt_phash_tool: False
  max_ffmpeg_workers: None
  use_gpu: True
Duplicate Config:
  preserve_duplicates: False
  max_desired_resolutions: -1
  desired_codec: ['hevc', 'h264']
Tagging Config:
  write_nfo: True
  enabled_tagging: True
  enabled_poster: True
  download_type: ['poster', 'background', 'performer']
  enable_metadataapi_genres: True
  default_genre: Adult
  language: eng
  mark_collected: True
Watchdog Config:
  ignored_dir_regex: .*_UNPACK_.*
  min_file_size: 100
  del_other_files: False
  new_relative_path_name: {full_site}/{full_site} - {date} - {name} [WEBDL-{resolution}].{ext}
  watch_dir: /data/dropbox
  work_dir: /data/processing
  failed_dir: /data/media/unmatched
  dest_dir: /data/media/matched
  retry_time: 
  extra_sleep_time: 30
  web: True
  port: 6981
  host: 0.0.0.0
  web_root: 
  allow_delete_files: True
  add_max_percent_column: True
  debug: True
  manual_mode: False
  diagnose_errors: False
2023-05-16 21:55:05.352 | INFO     | namer.configuration_utils:__verify_ffmpeg:95 - ffmpeg version "4.4.2-0ubuntu0.22.04.1" found
2023-05-16 21:55:05.352 | INFO     | namer.configuration_utils:__verify_ffmpeg:95 - ffprobe version "4.4.2-0ubuntu0.22.04.1" found
>>> config.watch_dir
PosixPath('/data/dropbox')
>>> [print("is_file and extension in supported extensions: {}".format(file.is_file() and file.suffix.lower()[1:] in config.target_extensions)) for file in config.watch_dir.rglob("**/*.*")]
is_file and extension in supported extensions: False
is_file and extension in supported extensions: True
is_file and extension in supported extensions: True
is_file and extension in supported extensions: False
is_file and extension in supported extensions: False
is_file and extension in supported extensions: False
is_file and extension in supported extensions: False
is_file and extension in supported extensions: False
is_file and extension in supported extensions: False
is_file and extension in supported extensions: False
is_file and extension in supported extensions: False
is_file and extension in supported extensions: False
is_file and extension in supported extensions: False
is_file and extension in supported extensions: False
is_file and extension in supported extensions: False
is_file and extension in supported extensions: False
is_file and extension in supported extensions: False
is_file and extension in supported extensions: False
is_file and extension in supported extensions: False
is_file and extension in supported extensions: False
is_file and extension in supported extensions: False
is_file and extension in supported extensions: False
is_file and extension in supported extensions: False
is_file and extension in supported extensions: False
is_file and extension in supported extensions: False
is_file and extension in supported extensions: False
is_file and extension in supported extensions: False
is_file and extension in supported extensions: False
is_file and extension in supported extensions: False
is_file and extension in supported extensions: False
is_file and extension in supported extensions: False
is_file and extension in supported extensions: False
is_file and extension in supported extensions: False
is_file and extension in supported extensions: False
is_file and extension in supported extensions: False
is_file and extension in supported extensions: False
is_file and extension in supported extensions: False
is_file and extension in supported extensions: False
is_file and extension in supported extensions: False
is_file and extension in supported extensions: False
is_file and extension in supported extensions: False
is_file and extension in supported extensions: False
is_file and extension in supported extensions: False
is_file and extension in supported extensions: False
is_file and extension in supported extensions: False
is_file and extension in supported extensions: False
is_file and extension in supported extensions: False
is_file and extension in supported extensions: False
is_file and extension in supported extensions: False

Seems to be a couple of files to work on, but it doesn't do anything.

DirtyRacer1337 commented 1 year ago

check target_extensions and min_file_size

ff-man commented 1 year ago

Hello, Thanks so much for replying. It's listed in the output I pasted above.

target_extensions: ['mp4', 'mkv', 'avi', 'mov', 'flv'] min_file_size: 100

watch_dir now has 100s of files of different sizes bigger than 100MB and having matching target_extension

ff-man commented 1 year ago

You put me on the right track. I wrote this little troubleshooting loop that helped me figure it out. Maybe someone else will find it useful:

>>> [
...   print("{} \n\tis_file: {};\n\t extension in supported extensions: {};\n\t file size: {}".
...     format(
...       file.name,
...       file.is_file(), 
...       file.suffix.lower()[1:] in config.target_extensions, 
...       file.stat().st_size, 
...     )
...   ) 
...   for file in config.watch_dir.rglob("**/*.*")
... ]
2020_10_03 23_36_37.mp4 
        is_file: True;
         extension in supported extensions: True;
         file size: 104042076
2020_12_03 00_19_42.mp4 
        is_file: True;
         extension in supported extensions: True;
         file size: 104172013
Aziani 3.wmv 
        is_file: True;
         extension in supported extensions: False;
         file size: 213458320
TSFoxxy and Jessy Dubai Threesome.wmv 
        is_file: True;
         extension in supported extensions: False;
         file size: 243803923
[BobsTGirls]Jessy Dubai Suds and Spooge SOLO.m4v 
        is_file: True;
         extension in supported extensions: False;
         file size: 338376451
Fucked Up Handjobs.wmv 
        is_file: True;
         extension in supported extensions: False;
         file size: 432965568
[TS-Foxxy] Foxxy, Eva Paradis & Jessy Dubai (09 Mar 2016) 720p rq.wmv 
        is_file: True;
         extension in supported extensions: False;
         file size: 503462210
[TSSeduction] Jessy Dubai, Madison Leigh and Lance Hart.wmv 
        is_file: True;
         extension in supported extensions: False;
         file size: 595368244
Mrluckypov.20.01.24.Megan.Marx.Submissive.Teen.Calls.Me.Daddy.x265.1080p 
        is_file: False;
         extension in supported extensions: False;
         file size: 330
Abby22.wmv 
        is_file: True;
         extension in supported extensions: False;
         file size: 872270989
69624 Amateur wife fucks a massive BBC.mp4 
        is_file: True;
         extension in supported extensions: True;
         file size: 102135992
OnlyFans.lindabooxo.95.Vids.and.46.Pics.@lindabooxo.20190409-20210219._lindabooxo-2021-04-24-2091682396-sweaty-hot-feet-from-earlier.1080p.mp4 
        is_file: True;
         extension in supported extensions: True;
         file size: 101759698
AoifeOneal_Foot_Fetish_Jerk_Off_Instructions_Video_720p.mp4 
        is_file: True;
         extension in supported extensions: True;
         file size: 102920518
Aziani 4.wmv 
        is_file: True;
         extension in supported extensions: False;
         file size: 189983713
Fucking Dungeon.wmv 
        is_file: True;
         extension in supported extensions: False;
         file size: 336880287
[TSSeduction] Jessy Dubai & Patrick Knight.wmv 
        is_file: True;
         extension in supported extensions: False;
         file size: 1110171155
Cum Buckets 4.m4v 
        is_file: True;
         extension in supported extensions: False;
         file size: 2545939359
Brazzers - Big Tits At Work - Truth 'n Tits.wmv 
        is_file: True;
         extension in supported extensions: False;
         file size: 3677168101
Aziani 2.wmv 
        is_file: True;
         extension in supported extensions: False;
         file size: 196228654
0133 - Ginormous Jugs 5 XXX WEBRIP WMV-GUSH.par2 - 241 GB 
        is_file: False;
         extension in supported extensions: False;
         file size: 30
ktr.rws.11.06.27.rachel.starr.and.rachel.roxxx.a.swinging.good.time.1080p.wmv 
        is_file: True;
         extension in supported extensions: False;
         file size: 4272509046
jessapinkgirl_.20211006..207347647.I.did.the.biggest.cum.shot.I.ve.done.in.years.at.the.end.of..__1.1080p.m4v 
        is_file: True;
         extension in supported extensions: False;
         file size: 445393921
2020_10_03 23_36_37.mp4@SynoResource 
        is_file: True;
         extension in supported extensions: False;
         file size: 82
2020_12_03 00_19_42.mp4@SynoResource 
        is_file: True;
         extension in supported extensions: False;
         file size: 82
Aziani 3.wmv@SynoResource 
        is_file: True;
         extension in supported extensions: False;
         file size: 82
TSFoxxy and Jessy Dubai Threesome.wmv@SynoResource 
        is_file: True;
         extension in supported extensions: False;
         file size: 82
[BobsTGirls]Jessy Dubai Suds and Spooge SOLO.m4v@SynoResource 
        is_file: True;
         extension in supported extensions: False;
         file size: 82
Fucked Up Handjobs.wmv@SynoResource 
        is_file: True;
         extension in supported extensions: False;
         file size: 82
[TS-Foxxy] Foxxy, Eva Paradis & Jessy Dubai (09 Mar 2016) 720p rq.wmv@SynoResource 
        is_file: True;
         extension in supported extensions: False;
         file size: 82
[TSSeduction] Jessy Dubai, Madison Leigh and Lance Hart.wmv@SynoResource 
        is_file: True;
         extension in supported extensions: False;
         file size: 82
Mrluckypov.20.01.24.Megan.Marx.Submissive.Teen.Calls.Me.Daddy.x265.1080p@SynoEAStream 
        is_file: True;
         extension in supported extensions: False;
         file size: 120
Abby22.wmv@SynoResource 
        is_file: True;
         extension in supported extensions: False;
         file size: 82
69624 Amateur wife fucks a massive BBC.mp4@SynoResource 
        is_file: True;
         extension in supported extensions: False;
         file size: 82
OnlyFans.lindabooxo.95.Vids.and.46.Pics.@lindabooxo.20190409-20210219._lindabooxo-2021-04-24-2091682396-sweaty-hot-feet-from-earlier.1080p.mp4@SynoResource 
        is_file: True;
         extension in supported extensions: False;
         file size: 82
AoifeOneal_Foot_Fetish_Jerk_Off_Instructions_Video_720p.mp4@SynoResource 
        is_file: True;
         extension in supported extensions: False;
         file size: 82
Aziani 4.wmv@SynoResource 
        is_file: True;
         extension in supported extensions: False;
         file size: 82
Fucking Dungeon.wmv@SynoResource 
        is_file: True;
         extension in supported extensions: False;
         file size: 82
[TSSeduction] Jessy Dubai & Patrick Knight.wmv@SynoResource 
        is_file: True;
         extension in supported extensions: False;
         file size: 82
Cum Buckets 4.m4v@SynoResource 
        is_file: True;
         extension in supported extensions: False;
         file size: 82
Brazzers - Big Tits At Work - Truth 'n Tits.wmv@SynoResource 
        is_file: True;
         extension in supported extensions: False;
         file size: 82
Aziani 2.wmv@SynoResource 
        is_file: True;
         extension in supported extensions: False;
         file size: 82
ktr.rws.11.06.27.rachel.starr.and.rachel.roxxx.a.swinging.good.time.1080p.wmv@SynoResource 
        is_file: True;
         extension in supported extensions: False;
         file size: 82
jessapinkgirl_.20211006..207347647.I.did.the.biggest.cum.shot.I.ve.done.in.years.at.the.end.of..__1.1080p.m4v@SynoResource 
        is_file: True;
         extension in supported extensions: False;
         file size: 82
gorgeous_gapefarting_sluts_leona_levi_lita_phoenix_sofi_goldfinger_got_ass_fucked_by_2_massive_cocks_rs087_1.part.nzb 
        is_file: True;
         extension in supported extensions: False;
         file size: 156538
Readme - how to play video.txt 
        is_file: True;
         extension in supported extensions: False;
         file size: 1054
Readme.nfo 
        is_file: True;
         extension in supported extensions: False;
         file size: 1058
avcodec-58.dll 
        is_file: True;
         extension in supported extensions: False;
         file size: 25844736
avcodec.lib 
        is_file: True;
         extension in supported extensions: False;
         file size: 186320
avdevice-58.dll 
        is_file: True;
         extension in supported extensions: False;
         file size: 1348608
avdevice.lib 
        is_file: True;
         extension in supported extensions: False;
         file size: 15874
avfilter-7.dll 
        is_file: True;
         extension in supported extensions: False;
         file size: 3502592
avfilter.lib 
        is_file: True;
         extension in supported extensions: False;
         file size: 55814
avformat-58.dll 
        is_file: True;
         extension in supported extensions: False;
         file size: 3449856
avformat.lib 
        is_file: True;
         extension in supported extensions: False;
         file size: 136558
avutil-56.dll 
        is_file: True;
         extension in supported extensions: False;
         file size: 858624
avutil.lib 
        is_file: True;
         extension in supported extensions: False;
         file size: 410600
concat.txt 
        is_file: True;
         extension in supported extensions: False;
         file size: 1557
ffmpeg.exe 
        is_file: True;
         extension in supported extensions: False;
         file size: 321024
gorgeous_gapefarting_sluts_leona_levi_lita_phoenix_sofi_goldfinger_got_ass_fucked_by_2_massive_cocks_rs087_1.vvc 
        is_file: True;
         extension in supported extensions: False;
         file size: 688525171
gorgeous_gapefarting_sluts_leona_levi_lita_phoenix_sofi_goldfinger_got_ass_fucked_by_2_massive_cocks_rs087_1.vvc.mp3 
        is_file: True;
         extension in supported extensions: False;
         file size: 18732694
pipe69.bat 
        is_file: True;
         extension in supported extensions: False;
         file size: 1435
postproc-55.dll 
        is_file: True;
         extension in supported extensions: False;
         file size: 137216
postproc.lib 
        is_file: True;
         extension in supported extensions: False;
         file size: 9078
swresample-3.dll 
        is_file: True;
         extension in supported extensions: False;
         file size: 127488
swresample.lib 
        is_file: True;
         extension in supported extensions: False;
         file size: 18842
swscale-5.dll 
        is_file: True;
         extension in supported extensions: False;
         file size: 556544
swscale.lib 
        is_file: True;
         extension in supported extensions: False;
         file size: 27204
vvcplay.bat 
        is_file: True;
         extension in supported extensions: False;
         file size: 144
vvdecapp.exe 
        is_file: True;
         extension in supported extensions: False;
         file size: 1558016
Mrluckypov.20.01.24.Megan.Marx.Submissive.Teen.Calls.Me.Daddy.x265.1080p.jpg 
        is_file: True;
         extension in supported extensions: False;
         file size: 575226
Mrluckypov.20.01.24.Megan.Marx.Submissive.Teen.Calls.Me.Daddy.x265.1080p.m4v 
        is_file: True;
         extension in supported extensions: False;
         file size: 768057237
gush.gjugs5.wmv 
        is_file: True;
         extension in supported extensions: False;
         file size: 2440416920