Renaming encrypted files to folder name

Make suggestions for new features.

Moderator: Quade

Renaming encrypted files to folder name

Postby UPdown » Thu Oct 19, 2017 11:53 am

Completely a newbie to NZB's and would remain so if I had a choice. But I've paid to get truly named NZB files that only exist as some randomly generated RAR name as their unencrypted name within NewsBin's search capabilities. I download the ones I want, then drag them and drop them on NewsBin and it works. I then have to go in and copy the folder name, enter the folder and find the STILL encrypted root file name of the file or files, and rename them as per the folder name. It works and when something works, I'm loathe to change anything. BUT ...

I've looked at the creation of the download folder for NZB's. The variables in the folder naming seem to indicate that NewsBin keeps track of the original filename, the folder IT contains so that a cleaned up version is the default name of the sub-folder NewsBin creates and OTHER info. It seems to me that it is FEASIBLE to have NewsBin do what I've been doing ... Step through all files and rename them the folder name. i.e. in a Folder called MySQLScripts that had been encrypted as XYZ.rar, it would change any XYZ's it finds to MySqlScripts dot whatever. Now, MOST of the time, we would be talking about ONE file being renamed. But there might be sub-folders and sub-sub-folders, all of which might containt XYZ.SQL and XYZ.RAR and XYZ.TXT, etc. In those cases, multiple renaming would take place. But like I say, mostly just the once. I could live with renaming down one level, because a number of the encrypted files I've encounted, cease the name encrypting past the first sub-level. Don't REALLY understand why people are doing this encrypting since I assume the DRM detectives are capable of doing EXACTLY what I'm doing AND can afford my budget millions of times over. But we live in interesting times.

Obviously, this should be a option to turn on. But I think it's doable and would ehance NewsBin's value in the current environment out there.

Thanks.
UPdown
Active Participant
Active Participant
 
Posts: 57
Joined: Sat Dec 29, 2012 10:44 am

Registered Newsbin User since: 12/27/12

Re: Renaming encrypted files to folder name

Postby Quade » Fri Oct 20, 2017 5:15 am

The logic could be "If the final filename is obfuscated and it derived from an NZB, rename the filename to use the NZB Filename". It wouldn't even need to be a switch.

I'll write a note to consider it. It won't be in B10 which is already on IRC.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 43141
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: Renaming encrypted files to folder name

Postby UPdown » Sat Oct 21, 2017 10:44 am

Appreciate the consideration. It should be a switch. Not everybody will want what I want. Thanks.
UPdown
Active Participant
Active Participant
 
Posts: 57
Joined: Sat Dec 29, 2012 10:44 am

Registered Newsbin User since: 12/27/12

Re: Renaming encrypted files to folder name

Postby Quade » Sat Oct 21, 2017 11:33 am

. Not everybody will want what I want.


1 - Switches just mean more things to test.

2 - Not sure why anyone would want "AVLSKLKDJSKJLSJLJLJSLJSLSOAYGSGS.mkv" if I can give it a meaningful name.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 43141
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: Renaming encrypted files to folder name

Postby Oedi » Sun Oct 22, 2017 12:02 pm

I echo this request and agree with Quade who would not want to change it, AVLSKLKDJSKJLSJLJLJSLJSLSOAYGSGS.mkv as no value and i am going to rename it anyways
Oedi
n00b
n00b
 
Posts: 7
Joined: Thu Feb 14, 2002 9:54 pm

Registered Newsbin User since: 05/08/03

Re: Renaming encrypted files to folder name

Postby sindyciaray » Mon Nov 20, 2017 4:59 am

Not everybody will want what I want. Thanks.
sindyciaray
n00b
n00b
 
Posts: 1
Joined: Fri Nov 17, 2017 9:06 am

Re: Renaming encrypted files to folder name

Postby weezee » Sun Jan 28, 2018 5:02 pm

Quade wrote:The logic could be "If the final filename is obfuscated and it derived from an NZB, rename the filename to use the NZB Filename". It wouldn't even need to be a switch.

I'll write a note to consider it. It won't be in B10 which is already on IRC.


Has this feature been added?
I'm not sue why, but some obfuscated filenames get cleared after Unrar, while others remain obfuscated.
I've looked into settings, but couldn't find any switch that looks useful.
User avatar
weezee
Seasoned User
Seasoned User
 
Posts: 172
Joined: Tue Jul 26, 2005 11:48 am

Registered Newsbin User since: 07/26/05

Re: Renaming encrypted files to folder name

Postby Quade » Sun Jan 28, 2018 9:20 pm

It's in 6.80 RC4. It's very specific about what it renames. It has to an MKV in the proper obscured format.

I suspect any that don't rename aren't in the proper format.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 43141
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: Renaming encrypted files to folder name

Postby weezee » Mon Jan 29, 2018 5:21 am

My situation with RC4 is this:
I'm downloading a tv series, each NZB is an episode.
Each NZB has clean episode title, but points to an obfusated filename, which is the one that will be applied to the MKV after unrar.
If I copy one of these obfuscated filenames and look for that string inside my NZB's, I find the one pointing to that file, and I can copy
the NZB name to the MKV.
But I have to do this by hand for each episode.
The connection is there, but Newsbin seems unable to find it.

This is how they appear inside NZB:

Code: Select all
<head>
 <meta type="category">Other &gt; Misc</meta>
 <meta type="name">9c172715d17f4d01b32ed5c8138d5cba</meta>
 <meta type="x-rating-host">https://api.nzbgeek.info/feedback</meta>
 <meta type="x-rating-id">4e7c71800f8c098520e1451d1ac27cf2</meta>
</head>

The MKV name is the one on line 3.
That's the string that will be applied as filename after unrar.
And the string on line 5 seems to be the NZB ID assigned by the indexer in its database, in this case NZBgeek.
User avatar
weezee
Seasoned User
Seasoned User
 
Posts: 172
Joined: Tue Jul 26, 2005 11:48 am

Registered Newsbin User since: 07/26/05

Re: Renaming encrypted files to folder name

Postby weezee » Wed Jan 31, 2018 5:19 am

@Quade: is the above code malformed? Any chance or hint to fix it?
User avatar
weezee
Seasoned User
Seasoned User
 
Posts: 172
Joined: Tue Jul 26, 2005 11:48 am

Registered Newsbin User since: 07/26/05

Re: Renaming encrypted files to folder name

Postby Quade » Wed Jan 31, 2018 10:24 am

I'm unclear what you're asking. Newsbin doesn't look at that meta other than looking for embedded passwords. The filename Newsbin uses does not come from that meta if that's what you're asking.

Newsbin looks at the actual filename of the MKV and if it looks obscured, uses the NZB filename to rename it.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 43141
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: Renaming encrypted files to folder name

Postby weezee » Wed Jan 31, 2018 10:43 am

Ah, ok, I didn't understand how it works. Ok, then I'm going to copy/paste, sigh.
User avatar
weezee
Seasoned User
Seasoned User
 
Posts: 172
Joined: Tue Jul 26, 2005 11:48 am

Registered Newsbin User since: 07/26/05

Re: Renaming encrypted files to folder name

Postby Quade » Wed Jan 31, 2018 12:02 pm

The whole rename mechanism is pretty new. I figure it just needs tweaks.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 43141
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: Renaming encrypted files to folder name

Postby weezee » Wed Jan 31, 2018 1:40 pm

I was trying with these path strings:
F:\- Usenet\$(GROUP)\$(NZBPATH)\$(NZBFILE)\

but if I use them like that, the unrarred files are all renamed like the folder in which the NZB's are
(i.e NZBgeek-1517169114.mkv)

If I use
F:\- Usenet\$(GROUP)\$(NZBFILE)\

the first file is renamed like its parent NZB, inside a subdir with the same name, but all the other files
are stored in the same subdir with obfuscated name.

How can I download each file to a separate subdir with relative NZB name?
User avatar
weezee
Seasoned User
Seasoned User
 
Posts: 172
Joined: Tue Jul 26, 2005 11:48 am

Registered Newsbin User since: 07/26/05


Return to Feature Requests

Who is online

Users browsing this forum: No registered users and 1 guest

cron