Commit a764fa60 authored by SVN-Git Migration's avatar SVN-Git Migration

Imported Upstream version 0.7.20

parent fd71bc78
*******************************************
*** This is SABnzbd 0.7.18 ***
*** This is SABnzbd 0.7.20 ***
*******************************************
SABnzbd is an open-source cross-platform binary newsreader.
It simplifies the process of downloading from Usenet dramatically,
......
-------------------------------------------------------------------------------
0.7.20 by The SABnzbd-Team
-------------------------------------------------------------------------------
- Make sure that Rating support is suppressed completely when disabled.
-------------------------------------------------------------------------------
0.7.20RC2 by The SABnzbd-Team
-------------------------------------------------------------------------------
- Update unrar for (Snow)Leopard on Intel to 5.11
- Logging of the Pystone performance of the system
-------------------------------------------------------------------------------
0.7.20RC1 by The SABnzbd-Team
-------------------------------------------------------------------------------
- OSX unrar now really updated to 5.11
- API call "Retry" now returns new job id
- Support for NZB meta field 'x-rating-host'
- Fix email test issue
- Support of OSX Yosemite "Dark Mode"
-------------------------------------------------------------------------------
0.7.19 by The SABnzbd-Team
-------------------------------------------------------------------------------
- Support double quotes to delineate parameters in category match lists.
- When a comma is present in a file name, quotes are needed when passed to a user script
- The after-unrar-check needs to take the "flat_unpack" option into account
- When sanitizing names, preserve "." and ".." elements in paths
-------------------------------------------------------------------------------
0.7.19RC4 by The SABnzbd-Team
-------------------------------------------------------------------------------
- Fix damaging of job's destination path on Windows
-------------------------------------------------------------------------------
0.7.19RC3 by The SABnzbd-Team
-------------------------------------------------------------------------------
- Improve password trial when the system uses an older unrar tool
-------------------------------------------------------------------------------
0.7.19RC2 by The SABnzbd-Team
-------------------------------------------------------------------------------
- Make matching of SFV file against RAR-sets case-insensitive
- Make sure final destination path is always sanitized and trimmed
- Improve "check for unwanted extensions"
- Upgrade unrar to version 5.11 (OSX and Windows)
- Limit article cache to 1G to prevent a memory size bug in the _yenc module
- Fix a number of problems with embedded passwords and folder size trimming
- Allow "float" timestamps in RSS feeds
- Expose 'rating_host' to Config->Special
- Add Finnish translation
-------------------------------------------------------------------------------
0.7.19RC1 by The SABnzbd-Team
-------------------------------------------------------------------------------
- More oznzb filtering
- Fix OSX notification center problem
- Fix sort order of RSS feeds
- Prevent multiple pauses in "unwanted extensions" option
- Change renaming scheme for duplicate files
- Fix sorting of the queue
-------------------------------------------------------------------------------
0.7.18 by The SABnzbd-Team
-------------------------------------------------------------------------------
......
SABnzbd 0.7.18
SABnzbd 0.7.20
-------------------------------------------------------------------------------
0) LICENSE
......
......@@ -59,14 +59,14 @@
prevents the removal.
- Memory usage can sometimes have high peaks. This makes using SABnzbd on very low
memory systems (eg a SAN device) a challenge.
memory systems (e.g. a NAS device or a router) a challenge.
- SABnzbd is not compatible with some software firewall versions.
The Mircosoft Windows Firewall works fine, but remember to tell this
firewall that SABnzbd is allowed to talk to other computers.
- When SABnzbd cannot send nofication emails, check your virus scanner,
firewall or securiry suite. It may be blocking outgoing email.
firewall or security suite. It may be blocking outgoing email.
- When you are using external drives or network shares on OSX or Linux
make sure that the drives are mounted.
......@@ -75,6 +75,12 @@
On OSX, SABnzbd will not create new folders in /Volumes.
The result will be a failed job that can be retried once the volume has been mounted.
- If you use a mounted drive as "temporary download folder", it must be present when SABnzbd
starts up. If not, SABnzbd will use the default location.
You can make SABnzbd wait for a mount of the "temporary download folder" by setting
Config->Special->wait_for_dfolder to 1.
SABnzbd will appear to hang until the drive is mounted.
- On some operating systems it looks like there is a problem with one of the standard Python libraries.
It is possible that you get errors about saving admin files and even unexplained crashes.
If so, you can enable the option for the alternative library.
......
Metadata-Version: 1.0
Name: SABnzbd
Version: 0.7.18
Summary: SABnzbd-0.7.18
Version: 0.7.20
Summary: SABnzbd-0.7.20
Home-page: http://sabnzbd.org
Author: The SABnzbd Team
Author-email: team@sabnzbd.org
......
Release Notes - SABnzbd 0.7.18
Release Notes - SABnzbd 0.7.20
================================
## Features
- Support for X-Failure header (leading to an alternative NZB)
- Support for detecting unwanted extensions inside RAR files
- Using priority Force will override duplicate detection
- Add "pause_pp" and "server_stats" to the API
- Support of OSX Yosemite "Dark Mode"
- API call "Retry" now returns new job id (supporting nzbdrone)
## Bug fixes
- Also remove colons ":" with option sanitize_safe
- Notification: Respect NotifyOSD-preference and allow testing of values from UI
- Prevent pseudo error message when testing "Notification Center"
- Testing email based on values in UI instead of stored config
- Don't trim file names when renaming them (so revert to old behavior)
- Fix potential crash when unpacking due to unset variable
- Pause/abort on encryption failed when pre-check was active
- Allow "embedded" passwords in job titles again
- OSX unrar now really updated to 5.11 for Lion and higher
- unrar is now updated to 5.11 for Intel systems running (Snow)Leopard
- (Snow)Leopard on PPC still only has unrar 4.01, no new versions from rarlabs
- Fix email test issue
## What's new in 0.7.0
......@@ -46,7 +42,7 @@ Release Notes - SABnzbd 0.7.18
built-in post-processing options that automatically verify, repair,
extract and clean up posts downloaded from Usenet.
(c) Copyright 2007-2013 by "The SABnzbd-team" \<team@sabnzbd.org\>
(c) Copyright 2007-2014 by "The SABnzbd-team" \<team@sabnzbd.org\>
### IMPORTANT INFORMATION about release 0.7.x
......
#!/usr/bin/python -OO
# Copyright 2008-2013 The SABnzbd-Team <team@sabnzbd.org>
# Copyright 2008-2014 The SABnzbd-Team <team@sabnzbd.org>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
......@@ -261,7 +261,7 @@ def print_version():
print """
%s-%s
Copyright (C) 2008-2013, The SABnzbd-Team <team@sabnzbd.org>
Copyright (C) 2008-2014, The SABnzbd-Team <team@sabnzbd.org>
SABnzbd comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions. It is licensed under the
......@@ -1295,6 +1295,24 @@ def main():
logging.debug('Could not determine my IPv6 address')
pass
# measure and log Pystone performance, and - if possible - CPU type
try:
# First try pystone from Python test libary
from test.pystone import pystones
except:
# otherwise use the one provided by SABnzbd
from util.pystone import pystones
pystonetime,pystoneperformance = pystones(1000)
logging.debug('CPU Pystone available performance is %s',int(pystoneperformance))
try:
for myline in open("/proc/cpuinfo"):
if myline.startswith(('model name')):
logging.debug('CPU model name is %s', myline[13:].rstrip() )
break
except:
# probably not on Linux
pass
# OSX 10.5 I/O priority setting
if sabnzbd.DARWIN:
logging.info('[osx] IO priority setting')
......
#encoding UTF-8
##
## Virheellisen URL-noudon sähköpostin pohja SABnzbd ohjelmalle
## Tämä on Cheetah pohja
## Dokumentaatio: http://sabnzbd.wikidot.com/email-templates
##
## Rivinvaihdot ja välilyönnit ovat merkitseviä!
##
## Tässä on sähköpostin otsikkotiedot
To: $to
From: $from
Date: $date
Subject: SABnzbd ei voinut hakea NZB tiedostoa
X-priority: 5
X-MS-priority: 5
## Tämän jälkeen tulee viestin sisältö, tyhjä rivi on pakollinen!
Hei,
SABnzbd ei voinut hakea NZB tiedostoa osoitteesta $url.
Virheviesti: $msg
#encoding UTF-8
##
## Oletus sähköpostipohja SABnzbd:lle
## Tämä on Cheetah pohja
## Dokumentaatio: http://sabnzbd.wikidot.com/email-templates
##
## Rivinvaihdot ja välilyönnit ovat merkitseviä!
##
## Nämä ovat otsaketiedot. Rivien ensimmäisiä sanoja ei saa vaihtaa!
To: $to
From: $from
Date: $date
Subject: SABnzbd on <!--#if $status then "valmistunut" else "epäonnistunut" #--> työssä $name
X-priority: 5
X-MS-priority: 5
## Tämän jälkeen tulee viestin runko, ensimmäinen rivinvaihto on pakollinen!
Hei,
<!--#if $status #-->
SABnzbd on ladannut "$name" <!--#if $msgid=="" then "" else "(newzbin #" + $msgid + ")"#-->
<!--#else#-->
SABnzbd on epäonnistunut "$name" <!--#if $msgid=="" then "" else "(newzbin #" + $msgid + ")"#--> latauksessa
<!--#end if#-->
Valmistui $end_time
Ladattu $size
Työn lopputulos:
<!--#for $stage in $stages #-->
Tila $stage <!--#slurp#-->
<!--#for $result in $stages[$stage]#-->
$result <!--#slurp#-->
<!--#end for#-->
<!--#end for#-->
<!--#if $script!="" #-->
Käyttäjän skriptin tuloste "$script" (Exit code = $script_ret):
$script_output
<!--#end if#-->
<!--#if $status #-->
Nauti!
<!--#else#-->
Pahoittelut!
<!--#end if#-->
#encoding UTF-8
##
## RSS sähköpostipohja SABnzbd:lle
## Tämä on Cheetah pohja
## Dokumentaatio: http://sabnzbd.wikidot.com/email-templates
##
## Rivinvaihdot ja välilyönnit ovat merkitseviä!
##
## Nämä ovat otsaketiedot. Rivien ensimmäisiä sanoja ei saa vaihtaa!
To: $to
From: $from
Date: $date
Subject: SABnzbd on lisännyt $amount työtä jonoon
X-priority: 5
X-MS-priority: 5
## Tämän jälkeen tulee viestin runko, ensimmäinen rivinvaihto on pakollinen!
Hei,
SABnzbd on lisännyt $amount työtä jonoon.
Ne ovat RSS syötteestä "$feed".
<!--#for $job in $jobs#-->
$job <!--#slurp#-->
<!--#end for#-->
Heippa
#
# Copyright 2008-2013 The SABnzbd-Team <team@sabnzbd.org>
# Copyright 2008-2014 The SABnzbd-Team <team@sabnzbd.org>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
......
......@@ -22,7 +22,7 @@
</table>
</div>
<div class="padding alt">
<h5 class="copyright">Copyright &copy; 2008-2013 The SABnzbd Team &lt;<span style="color: #0000ff;">team@sabnzbd.org</span>&gt;</h5>
<h5 class="copyright">Copyright &copy; 2008-2014 The SABnzbd Team &lt;<span style="color: #0000ff;">team@sabnzbd.org</span>&gt;</h5>
<p class="copyright"><small>$T('yourRights')</small></p>
</div>
</div>
......
......@@ -13,3 +13,12 @@
.checkbox-days p{margin: 0 0 5px 0}
.checkbox-days input {vertical-align:middle; margin-top: -1px;}
.checkbox-days label{padding-left: 20px}
.rating-filter {float: left}
.rating-filter p {margin: 0 0 5px 0}
.rating-filter select {vertical-align:middle}
.rating-filter input {vertical-align:middle; margin-top:-1px}
.rating-filter label {display:inline-block; padding-left:0px; width:100px}
.rating-filter input[type="checkbox"] {display:inline}
.rating-filter input[type="checkbox"] + label {padding-left:20px; width:auto}
.rating-filter p > span:first-child {float:left; width:130px}
.rating-filter .desc {display:block; margin:0px; padding-left:103px}
......@@ -28,7 +28,7 @@
</table>
<div class="sabnzbd_logo main_sprite_container sprite_sabnzbdplus_logo"></div>
<p><strong>SABnzbd $T('version'):</strong> $version</p>
<p><small>Copyright (C) 2008-2013, The SABnzbd Team &lt;team@sabnzbd.org&gt;</small></p>
<p><small>Copyright (C) 2008-2014, The SABnzbd Team &lt;team@sabnzbd.org&gt;</small></p>
<p><small>$T('yourRights')</small></p>
</div>
......
......@@ -750,9 +750,9 @@ $.plush.queueprevslots = $.plush.queuenoofslots; // for the next refresh
});
var last1, last2;
$("#multiops_select_range").click(function(){
if (last1 && last2 && last1 < last2)
if (last1 >= 0 && last2 >= 0 && last1 < last2)
$("INPUT[type='checkbox']","#queueTable").slice(last1,last2).prop('checked', true).trigger('change');
else if (last1 && last2)
else if (last1 >= 0 && last2 >= 0)
$("INPUT[type='checkbox']","#queueTable").slice(last2,last1).prop('checked', true).trigger('change');
});
$("#multiops_select_invert").click(function(){
......@@ -765,7 +765,7 @@ $.plush.queueprevslots = $.plush.queuenoofslots; // for the next refresh
});
$("#queue").delegate('.multiops','change',function(event) {
// range event interaction
if (last1) last2 = last1;
if (last1 >= 0) last2 = last1;
last1 = $(event.target).parent()[0].rowIndex ? $(event.target).parent()[0].rowIndex : $(event.target).parent().parent()[0].rowIndex;
// checkbox state persistence
......
pystone.py and msgfmt.py have been copied from the Python sourcecode.
They are covered by the same license as Python itself,
that license is contained in the file "License_Python.txt".
The original author of SABnzbd based his work on Pynewleecher by Freddy@madcowdesease.org.
The original author of SABnzbd based his work on Pynewsleecher by Freddy@madcowdesease.org.
Few parts of Pynewsleecher have survived the generations of SABnzbd in a
recognizable form.
......
# Finnish translation for sabnzbd
# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011
# This file is distributed under the same license as the sabnzbd package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2011.
#
msgid ""
msgstr ""
"Project-Id-Version: sabnzbd\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2013-12-10 20:31+0000\n"
"PO-Revision-Date: 2013-02-19 15:28+0000\n"
"Last-Translator: Matti Ylönen <Unknown>\n"
"Language-Team: Finnish <fi@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2013-12-11 06:16+0000\n"
"X-Generator: Launchpad (build 16869)\n"
#: email/email.tmpl:1
msgid ""
"##\n"
"## Default Email template for SABnzbd\n"
"## This a Cheetah template\n"
"## Documentation: http://sabnzbd.wikidot.com/email-templates\n"
"##\n"
"## Newlines and whitespace are significant!\n"
"##\n"
"## These are the email headers\n"
"To: $to\n"
"From: $from\n"
"Date: $date\n"
"Subject: SABnzbd has <!--#if $status then \"completed\" else \"failed\" #--> "
"job $name\n"
"X-priority: 5\n"
"X-MS-priority: 5\n"
"## After this comes the body, the empty line is required!\n"
"\n"
"Hi,\n"
"<!--#if $status #-->\n"
"SABnzbd has downloaded \"$name\" <!--#if $msgid==\"\" then \"\" else "
"\"(newzbin #\" + $msgid + \")\"#-->\n"
"<!--#else#-->\n"
"SABnzbd has failed to download \"$name\" <!--#if $msgid==\"\" then \"\" else "
"\"(newzbin #\" + $msgid + \")\"#-->\n"
"<!--#end if#-->\n"
"Finished at $end_time\n"
"Downloaded $size\n"
"\n"
"Results of the job:\n"
"<!--#for $stage in $stages #-->\n"
"Stage $stage <!--#slurp#-->\n"
"<!--#for $result in $stages[$stage]#-->\n"
" $result <!--#slurp#-->\n"
"<!--#end for#-->\n"
"<!--#end for#-->\n"
"<!--#if $script!=\"\" #-->\n"
"Output from user script \"$script\" (Exit code = $script_ret):\n"
"$script_output\n"
"<!--#end if#-->\n"
"<!--#if $status #-->\n"
"Enjoy!\n"
"<!--#else#-->\n"
"Sorry!\n"
"<!--#end if#-->\n"
msgstr ""
"##\n"
"## Oletus sähköpostipohja SABnzbd:lle\n"
"## Tämä on Cheetah pohja\n"
"## Dokumentaatio: http://sabnzbd.wikidot.com/email-templates\n"
"##\n"
"## Rivinvaihdot ja välilyönnit ovat merkitseviä!\n"
"##\n"
"## Nämä ovat otsaketiedot. Rivien ensimmäisiä sanoja ei saa vaihtaa!\n"
"To: $to\n"
"From: $from\n"
"Date: $date\n"
"Subject: SABnzbd on <!--#if $status then \"valmistunut\" else "
"\"epäonnistunut\" #--> työssä $name\n"
"X-priority: 5\n"
"X-MS-priority: 5\n"
"## Tämän jälkeen tulee viestin runko, ensimmäinen rivinvaihto on "
"pakollinen!\n"
"\n"
"Hei,\n"
"<!--#if $status #-->\n"
"SABnzbd on ladannut \"$name\" <!--#if $msgid==\"\" then \"\" else \"(newzbin "
"#\" + $msgid + \")\"#-->\n"
"<!--#else#-->\n"
"SABnzbd on epäonnistunut \"$name\" <!--#if $msgid==\"\" then \"\" else "
"\"(newzbin #\" + $msgid + \")\"#--> latauksessa\n"
"<!--#end if#-->\n"
"Valmistui $end_time\n"
"Ladattu $size\n"
"\n"
"Työn lopputulos:\n"
"<!--#for $stage in $stages #-->\n"
"Tila $stage <!--#slurp#-->\n"
"<!--#for $result in $stages[$stage]#-->\n"
" $result <!--#slurp#-->\n"
"<!--#end for#-->\n"
"<!--#end for#-->\n"
"<!--#if $script!=\"\" #-->\n"
"Käyttäjän skriptin tuloste \"$script\" (Exit code = $script_ret):\n"
"$script_output\n"
"<!--#end if#-->\n"
"<!--#if $status #-->\n"
"Nauti!\n"
"<!--#else#-->\n"
"Pahoittelut!\n"
"<!--#end if#-->\n"
#: email/rss.tmpl:1
msgid ""
"##\n"
"## RSS Email template for SABnzbd\n"
"## This a Cheetah template\n"
"## Documentation: http://sabnzbd.wikidot.com/email-templates\n"
"##\n"
"## Newlines and whitespace are significant!\n"
"##\n"
"## These are the email headers\n"
"To: $to\n"
"From: $from\n"
"Date: $date\n"
"Subject: SABnzbd has added $amount jobs to the queue\n"
"X-priority: 5\n"
"X-MS-priority: 5\n"
"## After this comes the body, the empty line is required!\n"
"\n"
"Hi,\n"
"\n"
"SABnzbd has added $amount job(s) to the queue.\n"
"They are from RSS feed \"$feed\".\n"
"<!--#for $job in $jobs#-->\n"
" $job <!--#slurp#-->\n"
"<!--#end for#-->\n"
"\n"
"Bye\n"
msgstr ""
"##\n"
"## RSS sähköpostipohja SABnzbd:lle\n"
"## Tämä on Cheetah pohja\n"
"## Dokumentaatio: http://sabnzbd.wikidot.com/email-templates\n"
"##\n"
"## Rivinvaihdot ja välilyönnit ovat merkitseviä!\n"
"##\n"
"## Nämä ovat otsaketiedot. Rivien ensimmäisiä sanoja ei saa vaihtaa!\n"
"To: $to\n"
"From: $from\n"
"Date: $date\n"
"Subject: SABnzbd on lisännyt $amount työtä jonoon\n"
"X-priority: 5\n"
"X-MS-priority: 5\n"
"## Tämän jälkeen tulee viestin runko, ensimmäinen rivinvaihto on "
"pakollinen!\n"
"\n"
"Hei,\n"
"\n"
"SABnzbd on lisännyt $amount työtä jonoon.\n"
"Ne ovat RSS syötteestä \"$feed\".\n"
"<!--#for $job in $jobs#-->\n"
" $job <!--#slurp#-->\n"
"<!--#end for#-->\n"
"\n"
"Heippa\n"
#: email/badfetch.tmpl:1
msgid ""
"##\n"
"## Bad URL Fetch Email template for SABnzbd\n"
"## This a Cheetah template\n"
"## Documentation: http://sabnzbd.wikidot.com/email-templates\n"
"##\n"
"## Newlines and whitespace are significant!\n"
"##\n"
"## These are the email headers\n"
"To: $to\n"
"From: $from\n"
"Date: $date\n"
"Subject: SABnzbd failed to fetch an NZB\n"
"X-priority: 5\n"
"X-MS-priority: 5\n"
"## After this comes the body, the empty line is required!\n"
"\n"
"Hi,\n"
"\n"
"SABnzbd has failed to retrieve the NZB from $url.\n"
"The error message was: $msg\n"
"\n"
"Bye\n"
msgstr ""
"##\n"
"## Virheellisen URL-noudon sähköpostin pohja SABnzbd ohjelmalle\n"
"## Tämä on Cheetah pohja\n"
"## Dokumentaatio: http://sabnzbd.wikidot.com/email-templates\n"
"##\n"
"## Rivinvaihdot ja välilyönnit ovat merkitseviä!\n"
"##\n"
"## Tässä on sähköpostin otsikkotiedot\n"
"To: $to\n"
"From: $from\n"
"Date: $date\n"
"Subject: SABnzbd ei voinut hakea NZB tiedostoa\n"
"X-priority: 5\n"
"X-MS-priority: 5\n"
"## Tämän jälkeen tulee viestin sisältö, tyhjä rivi on pakollinen!\n"
"\n"
"Hei,\n"
"\n"
"SABnzbd ei voinut hakea NZB tiedostoa osoitteesta $url.\n"
"Virheviesti: $msg\n"
This diff is collapsed.
# Finnish translation for sabnzbd
# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011
# This file is distributed under the same license as the sabnzbd package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2011.
#
msgid ""
msgstr ""
"Project-Id-Version: sabnzbd\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2012-08-14 18:42+0000\n"
"PO-Revision-Date: 2013-02-19 15:24+0000\n"
"Last-Translator: Matti Ylönen <Unknown>\n"
"Language-Team: Finnish <fi@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2013-02-20 05:14+0000\n"
"X-Generator: Launchpad (build 16491)\n"
#: NSIS_Installer.nsi:425
msgid "Go to the SABnzbd Wiki"
msgstr "Siirry SABnzbd wikiin"
#: NSIS_Installer.nsi:427
msgid "Show Release Notes"
msgstr "Näytä julkaisutiedot"
#: NSIS_Installer.nsi:429
msgid "Support the project, Donate!"
msgstr "Tue projektia, lahjoita!"
#: NSIS_Installer.nsi:431
msgid "Please close \"SABnzbd.exe\" first"
msgstr "Ole hyvä ja sulje \"SABnzbd.exe\" ensin"
#: NSIS_Installer.nsi:433
msgid ""
" >>>> WARNING <<<<\\r\\n\\r\\nPlease, first check the "
"release notes or go to http://wiki.sabnzbd.org/introducing-0-7-0 !"
msgstr ""
" >>>> VAROITUS <<<<\\r\\n\\r\\nOle hyvä ja tarkista "
"julkaisutiedot tai käy osoitteessa http://wiki.sabnzbd.org/introducing-0-7-0 "
"!"
#: NSIS_Installer.nsi:435
msgid "This will uninstall SABnzbd from your system"
msgstr "Tämä poistaa SABnzbd:n tietokoneestasi"
#: NSIS_Installer.nsi:437
msgid "Run at startup"
msgstr "Suorita käynnistyksen yhteydessä"
#: NSIS_Installer.nsi:439
msgid "Desktop Icon"
msgstr "Työpöydän kuvake"
#: NSIS_Installer.nsi:441
msgid "NZB File association"
msgstr "NZB tiedostosidos"
#: NSIS_Installer.nsi:443
msgid "Delete Program"
msgstr "Poista sovellus"
#: NSIS_Installer.nsi:445
msgid "Delete Settings"
msgstr "Poista asetukset"
#: NSIS_Installer.nsi:447
msgid ""
"This system requires the Microsoft runtime library VC90 to be installed "
"first. Do you want to do that now?"
msgstr ""
"Tämä järjestelmä vaatii, että Microsoft runtime kirjasto VC90 täytyy asentaa "
"ensin. Haluatko asentaa sen nyt?"
#: NSIS_Installer.nsi:449
msgid "Downloading Microsoft runtime installer..."
msgstr "Ladataan Microsoft runtime asennusta..."
#: NSIS_Installer.nsi:451
msgid "Download error, retry?"
msgstr "Latausvirhe, yritä uudelleen?"
#: NSIS_Installer.nsi:453
msgid "Cannot install without runtime library, retry?"
msgstr "Ei voida asentaa ilman runtime kirjastoa, yritä uudelleen?"
#: NSIS_Installer.nsi:455
msgid ""
"You cannot overwrite an existing installation. \\n\\nClick `OK` to remove "
"the previous version or `Cancel` to cancel this upgrade."
msgstr ""
"Et voi asentaa tätä vanhan asennuksen päälle. \\n\\nPaina `OK` poistaaksesi "
"edellisen version tai paina `Peruuta` peruuttaaksesi tämän päivityksen."
#: NSIS_Installer.nsi:457
msgid "Your settings and data will be preserved."
msgstr "Asetuksiasi ja tietojasi ei poisteta."
#~ msgid ""
#~ " >>>> WARNING <<<<\\r\\n\\r\\nPlease, first check the "
#~ "release notes or go to http://wiki.sabnzbd.org/introducing-0-6-0 !"
#~ msgstr ""
#~ " >>>> VAROITUS <<<<\\r\\n\\r\\nOle hyvä ja tarkista "
#~ "julkaisutiedot tai mene osoitteeseen http://wiki.sabnzbd.org/introducing-0-6-"
#~ "0 !"
#~ msgid "Start SABnzbd (hidden)"
#~ msgstr "Aloita SABnzbd (piilotettuna)"
#~ msgid "Delete Cache"
#~ msgstr "Poista välimuisti"
#~ msgid "Delete Logs"
#~ msgstr "Poista lokit"
......@@ -30,6 +30,7 @@ import gzip
import subprocess
import time
import cherrypy
import sys
from threading import RLock, Lock, Condition, Thread
try:
import sleepless
......@@ -61,12 +62,13 @@ elif os.name == 'posix':
FOUNDATION = True
except:
pass
if platform.machine() == 'i386':
if '86' in platform.machine():
DARWIN_INTEL = True
if DARWIN:
DARWIN_YS = [int(n) for n in platform.mac_ver()[0].split('.')] >= [10, 9]
DARWIN_ML = [int(n) for n in platform.mac_ver()[0].split('.')] >= [10, 8]
else:
DARWIN_ML = False
DARWIN_YS = DARWIN_ML = False
#------------------------------------------------------------------------
......@@ -959,7 +961,8 @@ def load_admin(_id, remove=False, do_pickle=True):
if remove:
os.remove(path)
except:
logging.error(Ta('Loading %s failed'), path)
excepterror = str(sys.exc_info()[0])
logging.error(Ta('Loading %s failed with error %s'), path, excepterror)
logging.info("Traceback: ", exc_info = True)
return None
......
......@@ -283,7 +283,8 @@ def _api_queue_rating(output, value, kwargs):
audio = setting if type == 'audio' and setting != "-" else None
vote = vote_map[setting] if type == 'vote' else None
flag = flag_map[setting] if type == 'flag' else None
Rating.do.update_user_rating(value, video, audio, vote, flag, kwargs.get('detail'))
if cfg.rating_enable():
Rating.do.update_user_rating(value, video, audio, vote, flag, kwargs.get('detail'))
return report(output)
except:
return report(output, _MSG_BAD_SERVER_PARMS)
......@@ -340,8 +341,11 @@ def _api_retry(name, output, kwargs):
if name is None or isinstance(name, str) or isinstance(name, unicode):
name = kwargs.get('nzbfile')
if retry_job(value, name):
return report(output)
nzo_id = retry_job(value, name)
if nzo_id:
if isinstance(nzo_id, list):
nzo_id = nzo_id[0]
return report(output, keyword='', data={'status' : True, 'nzo_id' : nzo_id})
else:
return report(output, _MSG_NO_ITEM)
......@@ -1524,10 +1528,10 @@ def retry_job(job, new_nzb):
history_db = cherrypy.thread_data.history_db
path = history_db.get_path(job)
if path:
repair_job(platform_encode(path), new_nzb)
nzo_id = repair_job(platform_encode(path), new_nzb)
history_db.remove_history(job)
return True
return False