Update download speed + timeleft for downloading 'force' nzb
Update download speed + timeleft for downloading 'force' nzb
Using SABnzbd 0.7.9.
In the web UI the download speed or time left is not shown/updated while items with 'force' priority are downloaded.
This is happening because the queue is paused, but since force overrules the queue being paused the speed and time left for the 'force' items should be displayed.
In the web UI the download speed or time left is not shown/updated while items with 'force' priority are downloaded.
This is happening because the queue is paused, but since force overrules the queue being paused the speed and time left for the 'force' items should be displayed.
Re: Update download speed + timeleft for downloading 'force'
It will be, in 0.7.10
Re: Update download speed + timeleft for downloading 'force'
Awesom shypike! Thanks.shypike wrote:It will be, in 0.7.10
I don't know if it's a little buggie or if it's just the way it's designed, but when sickbeard adds an nzb to the queue it sends it with priority 'high'.
My SABnzbd category for sickbeard is set to priority 'force'. SABnzbd ignores the category priority because it is added with a manual priority.
Can I/you make it so that it still uses force?
Re: Update download speed + timeleft for downloading 'force'
You'll need a pre-queue script for that.
Details are described in the Wiki: http://wiki.sabnzbd.org/user-pre-queue-script
Code: Select all
@echo off
echo 1
echo.
echo.
echo.
echo.
if "%5" == "1" echo 2
if not "%5" == "1" echo.
Re: Update download speed + timeleft for downloading 'force'
My category voor TV is called 'TV'..shypike wrote:You'll need a pre-queue script for that.
Details are described in the Wiki: http://wiki.sabnzbd.org/user-pre-queue-scriptCode: Select all
@echo off echo 1 echo. echo. echo. echo. if "%5" == "1" echo 2 if not "%5" == "1" echo.
Is this correct then?
Code: Select all
@echo off
echo 1
echo.
echo.
echo.
echo.
if "%3" == "TV" echo 2
if not "%3" == "TV" echo.
echo.
It switches high to force.
Thanks.
Last edited by tripkip on February 1st, 2013, 10:53 am, edited 1 time in total.
Re: Update download speed + timeleft for downloading 'force'
Hmm your script worked when I tested it a first time.
Now when sickbeard added a new ep it didn't:
2013-02-01 15:49:44,561::INFO::[newsunpack:1533] Running pre-queue script ['/SABscripts/high2force.sh', 'Some.TV.SHOW.S06E14.720p.WEB-DL.DD5.1.H.264', '', 'tv', '', '1', '750876724', 'alt.binaries.teevee', 'Some TV Show', '6', '14', '720p WEB-DL DD5 1 H 264']
Now when sickbeard added a new ep it didn't:
2013-02-01 15:49:44,561::INFO::[newsunpack:1533] Running pre-queue script ['/SABscripts/high2force.sh', 'Some.TV.SHOW.S06E14.720p.WEB-DL.DD5.1.H.264', '', 'tv', '', '1', '750876724', 'alt.binaries.teevee', 'Some TV Show', '6', '14', '720p WEB-DL DD5 1 H 264']
Re: Update download speed + timeleft for downloading 'force'
It didn't what?
Not run the script or not give the wanted result?
Not run the script or not give the wanted result?
Re: Update download speed + timeleft for downloading 'force'
Not giving the wanted result. According to the log the script ran.
It works for a backlog tv show, not for a new one.
Sickbeard sends backlog TV shows without any priority (so default). --> these are added with priority 'force' correctly
New ones are sent with priority 'high'. --> these are still added with priority 'high'
It works for a backlog tv show, not for a new one.
Sickbeard sends backlog TV shows without any priority (so default). --> these are added with priority 'force' correctly
New ones are sent with priority 'high'. --> these are still added with priority 'high'
Re: Update download speed + timeleft for downloading 'force'
Can you list your script?
Re: Update download speed + timeleft for downloading 'force'
I tried both of the scripts below.shypike wrote:Can you list your script?
Code: Select all
echo off
echo 1
echo.
echo.
echo.
echo.
if "%5" == "1" echo 2
if not "%5" == "1" echo.
Code: Select all
echo off
echo 1
echo.
echo.
echo.
echo.
if "%3" == "tv" echo 2
if not "%3" == "tv" echo.
Re: Update download speed + timeleft for downloading 'force'
Eh, you are using a Windows script on a Linux system?
That won't work.
Even the Windows variant that you list is incorrect: you left out the @ at the start of the first line.
That @ is essential.
For Linux (or OSX) you would use:
That won't work.
Even the Windows variant that you list is incorrect: you left out the @ at the start of the first line.
That @ is essential.
For Linux (or OSX) you would use:
Code: Select all
#!/bin/bash
echo 1
echo
echo
echo
echo
if [ "$5" = "1" ]; then
echo 2
fi
Re: Update download speed + timeleft for downloading 'force'
Howly cow. What a retard am I.
Thanks shypike, it works great now!
Thanks shypike, it works great now!
Re: Update download speed + timeleft for downloading 'force'
Cheers shypike, script works great