# Released under GNU General Public License v2.0 # NZBGET POST-PROCESSING SCRIPT # Rename files with hashes for file name # NOTE: This script requires Python to be installed on your system. # - # Part of the Cloudbox project: # Built on top of the NZBGet scripts template created by Clinton Hall # (). #!/usr/bin/env python3 # Title: HashRenamer.py # Author(s): l3uddz, desimaniac # URL: # Description: Renames hashed media files to match the source NZB. Released under GNU General Public License v2.0 Script exit ( POSTPROCESS_SUCCESS ) HashRenamer Renames hashed media files to match the source NZBīuilt on top of the NZBGet scripts template created by Clinton Hall. sub ( '(?i)-AsRequested-xpost\.nzb$', '.nzb', fwp ) fwp = re. environ : print ( ' Filename not found in environment' ) sys. exit ( POSTPROCESS_ERROR ) if not 'NZBNP_NZBNAME' in os. environ : print ( '*** NZBGet post-processing script ***' ) print ( 'This script is supposed to be called from NZBGet (13.0 or later).' ) sys. # NZBGET SCAN SCRIPT # from _future_ import print_function import os, re, sys # Exit codes used by NZBGet POSTPROCESS_SUCCESS = 93 POSTPROCESS_ERROR = 94 POSTPROCESS_SKIP = 95 # Check if the script is called from NZBGet 13.0 or later if not 'NZBOP_SCRIPTDIR' in os. # NOTE: This script requires Python to be installed on your system. # Removes the following suffixes from NZB name: # NZBgeek / Obfuscated / BUYMORE / Scrambled. #!/usr/bin/env python3 # NZBGET SCAN SCRIPT # Clean NZB name. JBOPS 4K Transcode Stopping with Tautulli How to run the unRaid mover for qBittorent seeding torrents 03:31:18,869::INFO:: Decoding finished /home/sab/Downloads/incomplete/Ubuntu-13r5/ to Sync 2 Radarr or Sonarr with each other Log entries from Sonarr (no errors at all) even in the debug log file:Ĭode: Select all 03:31:17,648::INFO:: Creating directories: /home/sab/Downloads/completed/Ubuntu/Ubuntu-13r5 Note: All file names have been changed to Ubuntu. All respective directories needed to have inherit the same permissions.sab/sonarr/radarr all needed to have the same service for start-up. So I pointed my sonarr/radarr Root Folders to my NAS mounted share, but now the files are staying in the ~/Downloads/complete directory. I thought ~/Downloads/complete is the final directory for all files, but I just realized that radarr/sonarr each have their Root Folders and THOSE are the final directories where sonarr/radarr put the files. It appears that Sonarr/Radarr are the culprit here. In my case, that's /sab/ folder (it has 777 access so everyone can r/w). I have discovered that the files are NOT getting deleted, but rather, they are moved into the Root Folder of Sonarr/Radarr. sab - Tried different Categories and Default.Changed ownership of the mount to the same user as sab.If I change the complete folder to a local drive then everything works fine i.e., files remain as they are, but if I switch it to a mounted drive then the files disappear after a few minutes.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |