I was wondering if there was a way to use the title from the newzbin article and rename the filename?
example: On Newzbin and in sabnzb the nzb shows up like this:
SomeShow - 3x13 - showname
After Processing the file is extracted but the file name is: SomeShow.313.HDTV XviD LOL.avi
is there any way to get sabnzbd to use the nzb file name to rename the .avi file?
Windows 7 x64
Sabnzbd 0.6.0Alpha10
Using Newzbin NZB name instead of filename....
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.
Using Newzbin NZB name instead of filename....
Last edited by soco11 on January 27th, 2011, 10:48 am, edited 1 time in total.
Re: Using Newzbin NZB name instead of filename....
Create your own little user post-processing script.
More info: http://wiki.sabnzbd.org/user-scripts
More info: http://wiki.sabnzbd.org/user-scripts
Re: Using Newzbin NZB name instead of filename....
Thanks for the quick reply. I am kind of lost on the whole script thing. been trying to find a tutorial on making scripts but i'm coming up blank.shypike wrote: Create your own little user post-processing script.
More info: http://wiki.sabnzbd.org/user-scripts
Re: Using Newzbin NZB name instead of filename....
I feel like an idiot. Looking everywhere for a tut to make scripts. cant seem to find one. completely confused.
Re: Using Newzbin NZB name instead of filename....
This should work:
Put this in a Notepad file and save it as rename-avi.cmd in a separate folder.
Set the path to the folder containing the file in Config->Folders.
Set rename-avi.cmd as the default script in Config->Switches.
It will rename the first encountered AVI file to the job name.
Code: Select all
@echo off
cd /d %1
for %%a in (*.avi) do rename %%a %2.avi
Set the path to the folder containing the file in Config->Folders.
Set rename-avi.cmd as the default script in Config->Switches.
It will rename the first encountered AVI file to the job name.
Re: Using Newzbin NZB name instead of filename....
Thanks!!! I was looking around and was going to useshypike wrote: This should work:
Put this in a Notepad file and save it as rename-avi.cmd in a separate folder.Code: Select all
@echo off cd /d %1 for %%a in (*.avi) do rename %%a %2.avi
Set the path to the folder containing the file in Config->Folders.
Set rename-avi.cmd as the default script in Config->Switches.
It will rename the first encountered AVI file to the job name.
Code: Select all
cd /d %1
if exist *.iso ren *.iso %2.iso