HI there,
At some point I had everything working properly, I had a major crash and had to reinstall sabnzb and can not get things to work, primarily with respect to directories.
Under categories
Default
Script: Deobfiscate - works fine and files are properly named
Folder Path: Files always end up going into a subdirectory that is the same name as the .nzb file
If I add a star to the end of the directory: the file ends up in the correct location but remains obfuscated .
This is driving me crazy.
How can I get the file to be in the correct location and properly named? Why is this so hard?
Thanks
Dave
Re: Directories and naming, Script: Deobfiscate
Forum rules
Help us help you:
Help us help you:
- Are you using the latest stable version of SABnzbd? Downloads page.
- Tell us what system you run SABnzbd on.
- Adhere to the forum rules.
- Do you experience problems during downloading?
Check your connection in Status and Interface settings window.
Use Test Server in Config > Servers.
We will probably ask you to do a test using only basic settings. - Do you experience problems during repair or unpacking?
Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
-
- Newbie
- Posts: 11
- Joined: September 28th, 2017, 5:41 pm
Re: Directories and naming
Can you confirm that Deobfuscate.py is actually being run? Is it shown in the history?
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
-
- Newbie
- Posts: 11
- Joined: September 28th, 2017, 5:41 pm
Re: Directories and naming
Yes. the logs show that Deobfuscate.py is actually being run
Running external script C:\Program Files\SABnzbd\scripts\Deobfuscate.py(\\SERVER\TV Shows\!!AAAA\Psych S03E01 1080p HEVC x265-MeGusta, Psych.S03E01.1080p.HEVC.x265-MeGusta.nzb, Psych S03E01 1080p HEVC x265-MeGusta, , *, alt.binaries.ratcave, 0, )
Running external script C:\Program Files\SABnzbd\scripts\Deobfuscate.py(\\SERVER\TV Shows\!!AAAA\Psych S03E01 1080p HEVC x265-MeGusta, Psych.S03E01.1080p.HEVC.x265-MeGusta.nzb, Psych S03E01 1080p HEVC x265-MeGusta, , *, alt.binaries.ratcave, 0, )
-
- Newbie
- Posts: 11
- Joined: September 28th, 2017, 5:41 pm
Re: Re: Directories and naming, Script: Deobfiscate
And what is it shown as output of the script? It should say why it's not renaming.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
-
- Newbie
- Posts: 11
- Joined: September 28th, 2017, 5:41 pm
Re: Re: Directories and naming, Script: Deobfiscate
I get the following (No STAR in Folder Path)
------------------------
('SABnzbd version: ', '3.0.1')
('Job location: ', '\\\\SERVER\\TV Shows\\!!AAAA\\find me in paris s02e19 web h264-trump')
------------------------
No par2 files found to process.
------------------------
Trying to see if there are large files to rename
------------------------
Renaming \\SERVER\TV Shows\!!AAAA\find me in paris s02e19 web h264-trump\d4d9b13fff104652bf02823cf8b1a175.mkv to \\SERVER\TV Shows\!!AAAA\find me in paris s02e19 web h264-trump\find me in paris s02e19 web h264-trump.mkv
Renaming done!
------------------------
('SABnzbd version: ', '3.0.1')
('Job location: ', '\\\\SERVER\\TV Shows\\!!AAAA\\find me in paris s02e19 web h264-trump')
------------------------
No par2 files found to process.
------------------------
Trying to see if there are large files to rename
------------------------
Renaming \\SERVER\TV Shows\!!AAAA\find me in paris s02e19 web h264-trump\d4d9b13fff104652bf02823cf8b1a175.mkv to \\SERVER\TV Shows\!!AAAA\find me in paris s02e19 web h264-trump\find me in paris s02e19 web h264-trump.mkv
Renaming done!
-
- Newbie
- Posts: 11
- Joined: September 28th, 2017, 5:41 pm
Re: Re: Directories and naming, Script: Deobfiscate
same file with a Star at end of directory /*
d4d9b13fff104652bf02823cf8b1a175.mkv is in the correct location (but as you can see not named correctly !
I get a lot of information but these are the headings..
Recursive repair/verify did not complete!
Trying to see if there are large files to rename
Found multiple larger files, aborting.
No par2 files or large files found
d4d9b13fff104652bf02823cf8b1a175.mkv is in the correct location (but as you can see not named correctly !
I get a lot of information but these are the headings..
Recursive repair/verify did not complete!
Trying to see if there are large files to rename
Found multiple larger files, aborting.
No par2 files or large files found
Re: Re: Directories and naming, Script: Deobfiscate
There you have it: the Deobfuscate will only rename if there is one large file. See https://github.com/sabnzbd/sabnzbd/blob ... py#L35-L36Found multiple larger files, aborting.
-
- Newbie
- Posts: 11
- Joined: September 28th, 2017, 5:41 pm
Re: Re: Directories and naming, Script: Deobfiscate
Still in the wrong location!!!
No par2 files found to process.
------------------------
Trying to see if there are large files to rename
------------------------
Renaming \\SERVER\TV Shows\!!AAAA\find me in paris s02e23 web h264-trump\e42a47aff5024b0e9f8c34d5f690b99a.mkv to \\SERVER\TV Shows\!!AAAA\find me in paris s02e23 web h264-trump\find me in paris s02e23 web h264-trump.mkv
Renaming done!
No par2 files found to process.
------------------------
Trying to see if there are large files to rename
------------------------
Renaming \\SERVER\TV Shows\!!AAAA\find me in paris s02e23 web h264-trump\e42a47aff5024b0e9f8c34d5f690b99a.mkv to \\SERVER\TV Shows\!!AAAA\find me in paris s02e23 web h264-trump\find me in paris s02e23 web h264-trump.mkv
Renaming done!
Re: Re: Directories and naming, Script: Deobfiscate
Why are you shouting?Still in the wrong location!!!
Deobfuscate does not change the directory, so the logging shows correct behaviour.Renaming
\\SERVER\TV Shows\!!AAAA\find me in paris s02e23 web h264-trump\e42a47aff5024b0e9f8c34d5f690b99a.mkv to
\\SERVER\TV Shows\!!AAAA\find me in paris s02e23 web h264-trump\find me in paris s02e23 web h264-trump.mkv
Renaming done!
Aren't you confusing this with (TV) Sorting? TV Sorting does create subdirectories.
-
- Newbie
- Posts: 11
- Joined: September 28th, 2017, 5:41 pm
Re: Re: Directories and naming, Script: Deobfiscate
I thought all caps was shouting
Can you then please give me instructions how to set it up? This is driving me crazy
Enable TV shortin is checked
Download Dir: \\SERVER\TV Shows\!!AAAA
sort string - %dn.%ext
thanks
Can you then please give me instructions how to set it up? This is driving me crazy
Enable TV shortin is checked
Download Dir: \\SERVER\TV Shows\!!AAAA
sort string - %dn.%ext
thanks
Re: Re: Directories and naming, Script: Deobfiscate
"sort string - %dn.%ext" that means Jobname.Extension. No "/" and thus no subdirectory at all
Click on one of the presets, check the "Processed Result" below to see if you want that. If not, click another Preset
Click on one of the presets, check the "Processed Result" below to see if you want that. If not, click another Preset
-
- Newbie
- Posts: 11
- Joined: September 28th, 2017, 5:41 pm
Re: Re: Directories and naming, Script: Deobfiscate
So I think I resolved the issue.
Under sort String I needed to put in the full path as \\SERVER\TV Shows\!!AAAA\%dn.%ext
and now it seems to work.
Under sort String I needed to put in the full path as \\SERVER\TV Shows\!!AAAA\%dn.%ext
and now it seems to work.
-
- Newbie
- Posts: 11
- Joined: September 28th, 2017, 5:41 pm
Re: Re: Directories and naming, Script: Deobfiscate
Thanks for all the help.