Discuss newly added features or request new features.
-
wolfango
- Posts: 1
- Joined: 13 Nov 2015, 20:26
Post
by wolfango » 13 Nov 2015, 20:37
Given an nzb contains the files
Code: Select all
foo.1.bar.rar
foo.1.bar.r00
foo.1.bar.r01
foo.1.bar.par
foo.2.bar.rar
foo.2.bar.r00
foo.2.bar.r01
foo.2.bar.par
foo.3.bar.rar
foo.3.bar.r00
foo.3.bar.r01
foo.3.bar.par
I would like to automatically split it in three separate entries in the download queue containing the files
Code: Select all
foo.n.bar.rar
foo.n.bar.r00
foo.n.bar.r01
foo.n.bar.par
Is this currently possible? If not, can it be achieved with an extension script, and where can I get started to make one?
-
hugbug
- Developer & Admin
- Posts: 7645
- Joined: 09 Sep 2008, 11:58
- Location: Germany
Post
by hugbug » 13 Nov 2015, 20:49
This can be achieved via an extension script.
Take a look at script
FakeDetector. It is a queue-script which is executed after an nzb is added to queue. The script receives the list of files contained within nzb from nzbget and then reorders the files to achieve the scripts purpose. In a similar fashion you can use API-method
editqueue("FileSplit", ..) to split the nzb. As example see
web-interface sources.
If you have troubles getting your script to work feel free to ask in this thread.
Who is online
Users browsing this forum: No registered users and 17 guests