variables for download folder

Get help with all aspects of SABnzbd
Forum rules
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.
Post Reply
MadKombat
Newbie
Newbie
Posts: 10
Joined: March 22nd, 2011, 2:19 am

variables for download folder

Post by MadKombat »

Hello,

I have a question:

When I set a download category, I would like to add a parameter to the download path like %today%, %thisweek%, %thismonth% while
%today% = the current date (changes every day of course)
%thisweek% = the current week (changes every week of course)
%this month% = ... I think you get it.

Background: I would like for some downloads to be sorted this way in order to manage them better. Quicker access and better distinction on which folder already had been reviewed and which not. If my downloads can be separated so that every day gets its own subfolder, that would be awesome.
User avatar
safihre
Administrator
Administrator
Posts: 5366
Joined: April 30th, 2015, 7:35 am
Contact:

Re: variables for download folder

Post by safihre »

Maybe you should check out the Sorting page of the Config ;) and particular the Date Sorting part.
https://sabnzbd.org/wiki/configuration/2.1/sorting
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
MadKombat
Newbie
Newbie
Posts: 10
Joined: March 22nd, 2011, 2:19 am

Re: variables for download folder

Post by MadKombat »

That does not help as far as I can see...
Date sorting will allow for renaming, and sorting of files that contain dates in their nzb name.
I do not (necessarily) have dates in the nzb. All I want is for my category music to save all downloads from today
..\downloads\music\%DateOfToday%
and from tomorrow
..\downloads\music\%DateOfToday% (which actually will be the date of tomorrow)
User avatar
safihre
Administrator
Administrator
Posts: 5366
Joined: April 30th, 2015, 7:35 am
Contact:

Re: variables for download folder

Post by safihre »

Ah yes, you are right.
This functionality is not available and probably the best way to do so entging like this is a postprocess script. A simple python or bash script can do this since they receive the category and path to a download.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
MadKombat
Newbie
Newbie
Posts: 10
Joined: March 22nd, 2011, 2:19 am

Re: variables for download folder

Post by MadKombat »

Well... there is the problem. I don't know how to script anything here. Could you help me out here?

I just thought it might be cool to have some variables to put in the path as placeholders (date/month/week)... Maybe something interesting for a future release?
Post Reply