From 906b5d12cd34ebbb77740b00b3b8b0835bedd93c Mon Sep 17 00:00:00 2001 From: "kay.one" Date: Thu, 19 Jan 2012 23:49:48 -0800 Subject: [PATCH] Updated queue.txt json to match actual sab queue. --- NzbDrone.Core.Test/Files/Queue.txt | 215 ++++++++++++++--------------- 1 file changed, 101 insertions(+), 114 deletions(-) diff --git a/NzbDrone.Core.Test/Files/Queue.txt b/NzbDrone.Core.Test/Files/Queue.txt index e06ae404c..ff84eba13 100644 --- a/NzbDrone.Core.Test/Files/Queue.txt +++ b/NzbDrone.Core.Test/Files/Queue.txt @@ -1,116 +1,103 @@ { - "cache_limit":"-1", - "categories":[ - "None", - "apps", - "books", - "consoles", - "emulation", - "games", - "misc", - "movies", - "music", - "pda", - "resources", - "tv" - ], - "scripts":[ - "None" - ], - "paused":true, - "new_rel_url":"", - "restart_req":false, - "slots":[ - { - "status":"Queued", - "index":0, - "eta":"unknown", - "timeleft":"0:00:00", - "avg_age":"43d", - "script":"None", - "msgid":"4295398", - "verbosity":"", - "mb":"785.89", - "filename":"30 Rock - 1x05 - Title [HDTV]", - "priority":"High", - "cat":"Apps", - "mbleft":"785.89", - "percentage":"0", - "nzo_id":"SABnzbd_nzo_wgmb1m", - "unpackopts":"3", - "size":"785.9 MB" - }, - { - "status":"Queued", - "index":0, - "eta":"unknown", - "timeleft":"0:00:00", - "avg_age":"43d", - "script":"None", - "msgid":"4295397", - "verbosity":"", - "mb":"785.89", - "filename":"The Simpsons - 1x05 - Title [HDTV] [Proper]", - "priority":"High", - "cat":"Apps", - "mbleft":"785.89", - "percentage":"0", - "nzo_id":"SABnzbd_nzo_wgmb1m", - "unpackopts":"3", - "size":"785.9 MB" - }, - { - "status":"Queued", - "index":0, - "eta":"unknown", - "timeleft":"0:00:00", - "avg_age":"43d", - "script":"None", - "msgid":"4295398", - "verbosity":"", - "mb":"785.89", - "filename":"The Office (US) - 1x05 - Title [WEBDL]", - "priority":"High", - "cat":"Apps", - "mbleft":"785.89", - "percentage":"0", - "nzo_id":"SABnzbd_nzo_wgmb1m", - "unpackopts":"3", - "size":"785.9 MB" - }], - "helpuri":"http://wiki.sabnzbd.org/", - "uptime":"6m", - "refresh_rate":"", - "isverbose":false, - "start":0, - "version":"trunk", - "diskspacetotal2":"503.32", - "color_scheme":"", - "darwin":false, - "nt":true, - "status":"Paused", - "last_warning":"", - "have_warnings":"0", - "cache_art":"0", - "finishaction":null, - "noofslots":1, - "cache_size":"0", - "finish":0, - "new_release":"", - "pause_int":"0" - ,"mbleft":"785.89", - "diskspace2":"25.08", - "diskspace1":"25.08", - "diskspacetotal1":"503.32", - "timeleft":"0:00:00", - "mb":"785.89", - "newzbinDetails":true, - "eta":"unknown", - "nzb_quota":"", - "loadavg":"", - "limit":0, - "kbpersec":"0.00", - "speedlimit":"0", - "webdir":"path\\to\\templates", - "queue_details":"0" + "queue": { + "active_lang": "en", + "cache_art": "10", + "cache_max": "67108864", + "cache_size": "7 MB", + "categories": [ + "*", + "apps", + "consoles", + "emp", + "movies", + "tv" + ], + "color_scheme": "lightblue", + "darwin": false, + "diskspace1": "127.50", + "diskspace2": "127.50", + "diskspacetotal1": "157.76", + "diskspacetotal2": "157.76", + "eta": "01:45 PM Mon 23 Jan", + "finish": 0, + "finishaction": null, + "have_warnings": "20", + "helpuri": "http://wiki.sabnzbd.org/", + "isverbose": false, + "kbpersec": "2.18", + "last_warning": "2012-01-19 23:42:39,934\nWARNING:\nAPI Key incorrect, Use the api key from Config->General in your 3rd party program:", + "limit": 0, + "loadavg": "", + "mb": "686.67", + "mbleft": "657.89", + "new_rel_url": "http://sourceforge.net/projects/sabnzbdplus/files/sabnzbdplus/sabnzbd-0.6.14", + "new_release": "0.6.14", + "newzbinDetails": true, + "noofslots": 2, + "nt": true, + "nzb_quota": "", + "pause_int": "0", + "paused": false, + "paused_all": false, + "power_options": true, + "queue_details": "0", + "refresh_rate": "20", + "restart_req": false, + "scripts": [], + "session": "f37dc33baec2e5566f5aec666287870d", + "size": "687 MB", + "sizeleft": "658 MB", + "slots": [ + { + "avg_age": "149d", + "cat": "tv", + "eta": "06:55 AM Sat 21 Jan", + "filename": "30 Rock - 1x05 - Title [HDTV]", + "index": 0, + "mb": "267.44", + "mbleft": "238.66", + "missing": 0, + "msgid": 6256072, + "nzo_id": "SABnzbd_nzo_qv6ilb", + "percentage": "10", + "priority": "Normal", + "script": "None", + "size": "267 MB", + "sizeleft": "239 MB", + "status": "Downloading", + "timeleft": "31:12:34", + "unpackopts": "3", + "verbosity": "" + }, + { + "avg_age": "580d", + "cat": "tv", + "eta": "01:45 PM Mon 23 Jan", + "filename": "The Office (US) - 1x05 - Title [WEBDL]", + "index": 1, + "mb": "419.23", + "mbleft": "419.23", + "missing": 0, + "msgid": 5657628, + "nzo_id": "SABnzbd_nzo_dgrzts", + "percentage": "0", + "priority": "Normal", + "script": "None", + "size": "419 MB", + "sizeleft": "419 MB", + "status": "Queued", + "timeleft": "86:01:55", + "unpackopts": "3", + "verbosity": "" + } + ], + "speed": "2 K", + "speedlimit": "2", + "start": 0, + "status": "Downloading", + "timeleft": "86:01:55", + "uptime": "2d", + "version": "0.6.9", + "webdir": "C:\\Tools\\SABnzbd\\interfaces\\Classic\\templates" + } } \ No newline at end of file