mirror of
https://github.com/sabnzbd/sabnzbd.git
synced 2026-01-08 07:28:30 -05:00
Compare commits
36 Commits
4.3.3
...
4.4.0Alpha
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f664df7f05 | ||
|
|
8fbf50292b | ||
|
|
f3fed43022 | ||
|
|
2d323ba18c | ||
|
|
1ec30a56e1 | ||
|
|
b98f3a07dd | ||
|
|
46170ffb3d | ||
|
|
5e8b41be5a | ||
|
|
47a2d5387d | ||
|
|
1e61239933 | ||
|
|
aedbf35be8 | ||
|
|
cf9540842b | ||
|
|
9205b9161b | ||
|
|
07b64b4abb | ||
|
|
c56145e424 | ||
|
|
ef11aba166 | ||
|
|
fcf03e9a59 | ||
|
|
6662065bb1 | ||
|
|
4973672892 | ||
|
|
efa73a52e1 | ||
|
|
82098a6228 | ||
|
|
07250aa355 | ||
|
|
46caa8b33f | ||
|
|
b0564c1bab | ||
|
|
3c8a85ff35 | ||
|
|
656c329912 | ||
|
|
983253908c | ||
|
|
cef0eeb25b | ||
|
|
a9eace759f | ||
|
|
ad0e7bf5df | ||
|
|
bea348232a | ||
|
|
1519dbc554 | ||
|
|
297455cd35 | ||
|
|
56b68024db | ||
|
|
09aa09a55b | ||
|
|
f1d134fe2e |
10
.github/workflows/build_release.yml
vendored
10
.github/workflows/build_release.yml
vendored
@@ -69,8 +69,8 @@ jobs:
|
||||
# We need the official Python, because the GA ones only support newer macOS versions
|
||||
# The deployment target is picked up by the Python build tools automatically
|
||||
# If updated, make sure to also set LSMinimumSystemVersion in SABnzbd.spec
|
||||
PYTHON_VERSION: "3.12.3"
|
||||
MACOSX_DEPLOYMENT_TARGET: "10.9"
|
||||
PYTHON_VERSION: "3.12.6"
|
||||
MACOSX_DEPLOYMENT_TARGET: "10.13"
|
||||
# We need to force compile for universal2 support
|
||||
CFLAGS: -arch x86_64 -arch arm64
|
||||
ARCHFLAGS: -arch x86_64 -arch arm64
|
||||
@@ -95,14 +95,12 @@ jobs:
|
||||
- name: Install Python
|
||||
run: sudo installer -pkg ~/python.pkg -target /
|
||||
- name: Install Python dependencies
|
||||
# We have to manually take a few steps:
|
||||
# 1. We need to build the PyInstaller bootloader:
|
||||
# https://github.com/pyinstaller/pyinstaller/issues/6235
|
||||
# We have to manually compile some modules as they don't automatically fetch universal2 binaries
|
||||
run: |
|
||||
python3 --version
|
||||
pip3 install --upgrade pip wheel
|
||||
pip3 install --upgrade -r requirements.txt --no-binary cffi,CT3,PyYAML,charset_normalizer --no-dependencies
|
||||
PYINSTALLER_COMPILE_BOOTLOADER=1 pip3 install --upgrade -r builder/requirements.txt --no-binary pyinstaller --no-dependencies
|
||||
pip3 install --upgrade -r builder/requirements.txt --no-dependencies
|
||||
- name: Import macOS codesign certificates
|
||||
# Taken from https://github.com/Apple-Actions/import-codesign-certs/pull/27 (comments)
|
||||
env:
|
||||
|
||||
4
.github/workflows/integration_testing.yml
vendored
4
.github/workflows/integration_testing.yml
vendored
@@ -34,7 +34,7 @@ jobs:
|
||||
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
|
||||
python-architecture: ["x64"]
|
||||
name: ["Linux"]
|
||||
os: [ubuntu-20.04]
|
||||
os: [ubuntu-latest]
|
||||
include:
|
||||
- name: macOS
|
||||
os: macos-latest
|
||||
@@ -60,7 +60,7 @@ jobs:
|
||||
cache-dependency-path: "**/requirements.txt"
|
||||
- name: Install system dependencies
|
||||
if: runner.os == 'Linux'
|
||||
run: sudo apt-get install unrar p7zip-full par2
|
||||
run: sudo apt-get install unrar 7zip par2
|
||||
- name: Install Python dependencies
|
||||
run: |
|
||||
python --version
|
||||
|
||||
58
README.mkd
58
README.mkd
@@ -1,56 +1,20 @@
|
||||
Release Notes - SABnzbd 4.3.3 Beta 2
|
||||
Release Notes - SABnzbd 4.4.0 Alpha 1
|
||||
=========================================================
|
||||
|
||||
This is the third bug fix release of SABnzbd 4.3.0.
|
||||
This is the first test release of SABnzbd 4.4.0.
|
||||
|
||||
## Bug fixes and changes since 4.3.2
|
||||
* Jobs could get stuck at 99%.
|
||||
* Correct handling of empty or `Default` category when adding a job.
|
||||
* History API-output could contain inconsistent variable types.
|
||||
* Skip external IPv6 check if only link local addresses are available.
|
||||
* Windows: Could not repair or extract on ARM platforms.
|
||||
* Windows: Add file version information to installer.
|
||||
## New features since 4.3.0
|
||||
|
||||
## Bug fixes and changes since 4.3.1
|
||||
* Subtitle files will be deobfuscated if required.
|
||||
* Interface is no longer hosted on `http://hostname:port/sabnzbd` but only
|
||||
on `http://hostname:port/`, in preparation for new internal web server.
|
||||
Custom `url_base` can be configured in Special settings.
|
||||
* macOS: Dropped support for macOS 10.12 and below.
|
||||
|
||||
* Added Special option `disable_archive` for jobs to always be permanently deleted.
|
||||
* Specific AppRise notifications could fail to send.
|
||||
* Update of the article decoder core (`rapidyenc`).
|
||||
* Windows: After some time the interface would no longer load.
|
||||
* Windows: Custom shortcuts would be removed by the installer.
|
||||
* Windows/macOS: Updated Unrar to 7.01 and 7zip to 24.05.
|
||||
## Bug fixes since 4.3.0
|
||||
|
||||
## Key changes since 4.2.0
|
||||
|
||||
* **Archive:**
|
||||
* When jobs are removed from the History, they are moved to the Archive.
|
||||
* Keep your History clean and still be able to reliably use Duplicate Detection.
|
||||
|
||||
* **Apprise Integrated:**
|
||||
* Send notifications using Apprise to almost any notification service.
|
||||
* Supported notifications: https://github.com/caronc/apprise/wiki
|
||||
* Notification Script `SABnzbd-notify.py` is no longer needed.
|
||||
|
||||
* **Added IPv6-staging option:**
|
||||
* Enable `ipv6_staging` in Config - Specials to get additional IPv6 features:
|
||||
* Add IPv6 hostnames during address selection.
|
||||
* Internet Bandwidth is measured separately for IPv4 and IPv6.
|
||||
|
||||
* **Other:**
|
||||
* The `text` output format is removed from the API, `json` is the default.
|
||||
* Handling of multiple inputs to several API methods was improved.
|
||||
* File browser dialog is available to select file paths in the Config.
|
||||
* Users will be warned if they configure an Indexer as a Server.
|
||||
* Added `SAB_API_KEY` and `SAB_API_URL` to script environment variables.
|
||||
* Windows/macOS: Updated Python to 3.12.3, Multipar to v1.3.3.2,
|
||||
Unrar to 7.00 and 7zip to 24.03.
|
||||
|
||||
## Bug fixes since 4.2.0
|
||||
|
||||
* Incorrect warnings of unknown status codes could be thrown.
|
||||
* Watched Folder would not work if Socks5 proxy was active.
|
||||
* Prevent crash on invalid Server Expiration Date.
|
||||
* Windows: Installer could create duplicate shortcuts.
|
||||
* Toggling of Servers could result in jobs being stuck at 99%.
|
||||
* Config restart would always determine redirect URL instead of using current.
|
||||
|
||||
## Upgrade notices
|
||||
|
||||
|
||||
@@ -1396,7 +1396,6 @@ def main():
|
||||
# Make available from both URLs
|
||||
main_page = sabnzbd.interface.MainPage()
|
||||
cherrypy.Application.relative_urls = "server"
|
||||
cherrypy.tree.mount(main_page, "/", config=appconfig)
|
||||
cherrypy.tree.mount(main_page, sabnzbd.cfg.url_base(), config=appconfig)
|
||||
|
||||
# Set authentication for CherryPy
|
||||
|
||||
@@ -165,7 +165,7 @@ if sys.platform == "darwin":
|
||||
"NSPersistentStoreTypeKey": "Binary",
|
||||
}
|
||||
],
|
||||
"LSMinimumSystemVersion": "10.9",
|
||||
"LSMinimumSystemVersion": "10.13",
|
||||
"LSEnvironment": {"LANG": "en_US.UTF-8", "LC_ALL": "en_US.UTF-8"},
|
||||
}
|
||||
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
PyGithub==2.3.0
|
||||
PyGithub==2.4.0
|
||||
praw==7.7.1
|
||||
@@ -2,22 +2,22 @@
|
||||
# Note that not all sub-dependencies are listed, but only ones we know could cause trouble
|
||||
pyinstaller==5.13.2
|
||||
packaging==24.1
|
||||
pyinstaller-hooks-contrib==2024.7
|
||||
pyinstaller-hooks-contrib==2024.8
|
||||
altgraph==0.17.4
|
||||
wrapt==1.16.0
|
||||
setuptools==72.1.0
|
||||
setuptools==75.0.0
|
||||
|
||||
# Required on 32bit Windows, exclude it based on Python-version
|
||||
importlib_metadata==8.2.0; python_version < '3.10'
|
||||
importlib_resources==6.4.0; python_version < '3.10'
|
||||
zipp==3.19.2; python_version < '3.10'
|
||||
importlib_metadata==8.5.0; python_version < '3.10'
|
||||
importlib_resources==6.4.5; python_version < '3.10'
|
||||
zipp==3.20.2; python_version < '3.10'
|
||||
|
||||
# orjson does not support 32bit Windows, also exclude based on Python-version
|
||||
orjson==3.10.6; python_version > '3.8'
|
||||
orjson==3.10.7; python_version > '3.8'
|
||||
|
||||
# For the Windows build
|
||||
pefile==2023.2.7; sys_platform == 'win32'
|
||||
pywin32-ctypes==0.2.2; sys_platform == 'win32'
|
||||
pefile==2024.8.26; sys_platform == 'win32'
|
||||
pywin32-ctypes==0.2.3; sys_platform == 'win32'
|
||||
|
||||
# For the macOS build
|
||||
dmgbuild==1.6.2; sys_platform == 'darwin'
|
||||
|
||||
@@ -92,7 +92,7 @@
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
|
||||
<a class="navbar-logo navbar-logo-small" href="${root}" title="$T('Home')">
|
||||
<a class="navbar-logo navbar-logo-small" href="${root}" title="$T('Home')" data-placement="bottom">
|
||||
#include $webdir + "/staticcfg/images/logo-small.svg"#
|
||||
</a>
|
||||
</div>
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
</label>
|
||||
|
||||
<div class="advanced-buttonSeperator"></div>
|
||||
<div class="chart-selector-container" title="$T('selectedDates')">
|
||||
<div class="chart-selector-container" title="$T('selectedDates')" data-placement="bottom">
|
||||
<span class="glyphicon glyphicon-signal"></span>
|
||||
<!--#set today = datetime.date.today()#-->
|
||||
<input type="date" name="chart-start" id="chart-start" value="<!--#echo (today-datetime.timedelta(days=30)).strftime('%Y-%m-%d')#-->"> -
|
||||
@@ -142,7 +142,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--#set $prio_colors = ["#59cc33", "#3366cc","#7f33cc", "#cc33a6", "#cc3333"] #-->
|
||||
<!--#set $prio_colors = ["#59cc33", "#26a69a", "#3366cc", "#7f33cc", "#cc33a6", "#f39c12", "#cc3333", "#8d6e63"] #-->
|
||||
<!--#set $cur_prio_color = -1 #-->
|
||||
<!--#set $last_prio = -1 #-->
|
||||
<!--#for $cur, $server in enumerate($servers) #-->
|
||||
|
||||
@@ -71,7 +71,7 @@
|
||||
<div class="field-pair">
|
||||
<label class="config" for="field_sort_string_$cur">$T('sortString')</label>
|
||||
<input type="text" name="sort_string" id="field_sort_string_$cur" value="$slot.sort_string" required="required" />
|
||||
<button type="button" title="$T('sort-legenda')" class="btn btn-default patternKey" onclick="jQuery('#pattern_explainer_$cur').toggle(); window.scrollBy(0, 500);">
|
||||
<button type="button" class="btn btn-default patternKey" onclick="jQuery('#pattern_explainer_$cur').toggle(); window.scrollBy(0, 500);">
|
||||
<span class="glyphicon glyphicon-list-alt" aria-hidden="true"></span> $T('sort-legenda')
|
||||
</button>
|
||||
</div>
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html lang="$active_lang">
|
||||
<head>
|
||||
<title>SABnzbd - $T('login')</title>
|
||||
|
||||
@@ -208,7 +208,7 @@ ul.tabs a,
|
||||
#subscriptions,
|
||||
.RSS form[action="add_rss_feed"] tr:nth-child(even),
|
||||
.Config .table {
|
||||
border: 1px solid #555555 !important;
|
||||
border: 1px solid #555555;
|
||||
}
|
||||
|
||||
.Categories form:first-of-type tr:last-of-type,
|
||||
|
||||
@@ -19,6 +19,7 @@ body {
|
||||
float: left;
|
||||
overflow: visible;
|
||||
border: 1px solid #dfdede;
|
||||
border-bottom: none !important;
|
||||
background-color: #FFF;
|
||||
width: 100%
|
||||
}
|
||||
@@ -1222,7 +1223,6 @@ input[type="checkbox"] {
|
||||
}
|
||||
.value-and-select select {
|
||||
min-width: 30px;
|
||||
margin-top: 1px;
|
||||
}
|
||||
|
||||
.dotOne, .dotTwo, .dotThree {
|
||||
|
||||
@@ -262,9 +262,10 @@ function do_restart() {
|
||||
// Show overlay
|
||||
$('.main-restarting').show()
|
||||
|
||||
// What template
|
||||
// Check if we need redirect
|
||||
// Uses == on purpose, because val() returns string and data() returns int!
|
||||
var switchedHTTPS = ($('#enable_https').is(':checked') === ($('#enable_https').data('original') === undefined))
|
||||
var portsUnchanged = ($('#port').val() === $('#port').data('original')) && ($('#https_port').val() === $('#https_port').data('original'))
|
||||
var portsUnchanged = ($('#port').val() == $('#port').data('original')) && ($('#https_port').val() == $('#https_port').data('original'))
|
||||
|
||||
// Are we on settings page or did nothing change?
|
||||
if(!$('body').hasClass('General') || (!switchedHTTPS && portsUnchanged)) {
|
||||
@@ -489,6 +490,9 @@ $(document).ready(function () {
|
||||
addRowColor()
|
||||
}
|
||||
addRowColor()
|
||||
|
||||
// Add tooltips
|
||||
jQuery('[title]').tooltip()
|
||||
});
|
||||
|
||||
/*
|
||||
|
||||
@@ -135,7 +135,7 @@
|
||||
<div class="col-sm-6 col-dot-overflow" data-bind="visible: hasPerformanceInfo">
|
||||
<span data-bind="text: statusInfo.pystone"></span>
|
||||
<a href="#" class="diskspeed-button" data-bind="click: loadStatusInfo" data-tooltip="true" data-placement="right" title="$T('dashboard-repeatTest') (~10 $T('seconds'))"><span class="glyphicon glyphicon-repeat"></span></a>
|
||||
<small title="$cpumodel $cpusimd" data-tooltip="true">$cpumodel $cpusimd</small>
|
||||
<small title="$cpumodel $cpusimd $docker" data-tooltip="true">$cpumodel $cpusimd $docker</small>
|
||||
</div>
|
||||
<div class="col-sm-6 col-loading" data-bind="visible: !hasPerformanceInfo()">$T('Glitter-loading')<span class="loader-dot-one">.</span><span class="loader-dot-two">.</span><span class="loader-dot-three">.</span></div>
|
||||
</div>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: SABnzbd-4.3.3Beta2\n"
|
||||
"Project-Id-Version: SABnzbd-4.4.0-develop\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: team@sabnzbd.org\n"
|
||||
"Language-Team: SABnzbd <team@sabnzbd.org>\n"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: SABnzbd-4.3.3Beta2\n"
|
||||
"Project-Id-Version: SABnzbd-4.4.0-develop\n"
|
||||
"PO-Revision-Date: 2020-06-27 15:56+0000\n"
|
||||
"Language-Team: Czech (https://app.transifex.com/sabnzbd/teams/111101/cs/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: SABnzbd-4.3.3Beta2\n"
|
||||
"Project-Id-Version: SABnzbd-4.4.0-develop\n"
|
||||
"PO-Revision-Date: 2020-06-27 15:56+0000\n"
|
||||
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2020\n"
|
||||
"Language-Team: Danish (https://app.transifex.com/sabnzbd/teams/111101/da/)\n"
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: SABnzbd-4.3.3Beta2\n"
|
||||
"Project-Id-Version: SABnzbd-4.4.0-develop\n"
|
||||
"PO-Revision-Date: 2020-06-27 15:56+0000\n"
|
||||
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2020\n"
|
||||
"Language-Team: German (https://app.transifex.com/sabnzbd/teams/111101/de/)\n"
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: SABnzbd-4.3.3Beta2\n"
|
||||
"Project-Id-Version: SABnzbd-4.4.0-develop\n"
|
||||
"PO-Revision-Date: 2020-06-27 15:56+0000\n"
|
||||
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2020\n"
|
||||
"Language-Team: Spanish (https://app.transifex.com/sabnzbd/teams/111101/es/)\n"
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: SABnzbd-4.3.3Beta2\n"
|
||||
"Project-Id-Version: SABnzbd-4.4.0-develop\n"
|
||||
"PO-Revision-Date: 2020-06-27 15:56+0000\n"
|
||||
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2020\n"
|
||||
"Language-Team: Finnish (https://app.transifex.com/sabnzbd/teams/111101/fi/)\n"
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: SABnzbd-4.3.3Beta2\n"
|
||||
"Project-Id-Version: SABnzbd-4.4.0-develop\n"
|
||||
"PO-Revision-Date: 2020-06-27 15:56+0000\n"
|
||||
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2020\n"
|
||||
"Language-Team: French (https://app.transifex.com/sabnzbd/teams/111101/fr/)\n"
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: SABnzbd-4.3.3Beta2\n"
|
||||
"Project-Id-Version: SABnzbd-4.4.0-develop\n"
|
||||
"PO-Revision-Date: 2020-06-27 15:56+0000\n"
|
||||
"Last-Translator: ION, 2020\n"
|
||||
"Language-Team: Hebrew (https://app.transifex.com/sabnzbd/teams/111101/he/)\n"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: SABnzbd-4.3.3Beta2\n"
|
||||
"Project-Id-Version: SABnzbd-4.4.0-develop\n"
|
||||
"PO-Revision-Date: 2020-06-27 15:56+0000\n"
|
||||
"Language-Team: Italian (https://app.transifex.com/sabnzbd/teams/111101/it/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: SABnzbd-4.3.3Beta2\n"
|
||||
"Project-Id-Version: SABnzbd-4.4.0-develop\n"
|
||||
"PO-Revision-Date: 2020-06-27 15:56+0000\n"
|
||||
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2020\n"
|
||||
"Language-Team: Norwegian Bokmål (https://app.transifex.com/sabnzbd/teams/111101/nb/)\n"
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: SABnzbd-4.3.3Beta2\n"
|
||||
"Project-Id-Version: SABnzbd-4.4.0-develop\n"
|
||||
"PO-Revision-Date: 2020-06-27 15:56+0000\n"
|
||||
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2020\n"
|
||||
"Language-Team: Dutch (https://app.transifex.com/sabnzbd/teams/111101/nl/)\n"
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: SABnzbd-4.3.3Beta2\n"
|
||||
"Project-Id-Version: SABnzbd-4.4.0-develop\n"
|
||||
"PO-Revision-Date: 2020-06-27 15:56+0000\n"
|
||||
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2020\n"
|
||||
"Language-Team: Polish (https://app.transifex.com/sabnzbd/teams/111101/pl/)\n"
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: SABnzbd-4.3.3Beta2\n"
|
||||
"Project-Id-Version: SABnzbd-4.4.0-develop\n"
|
||||
"PO-Revision-Date: 2020-06-27 15:56+0000\n"
|
||||
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2020\n"
|
||||
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/sabnzbd/teams/111101/pt_BR/)\n"
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: SABnzbd-4.3.3Beta2\n"
|
||||
"Project-Id-Version: SABnzbd-4.4.0-develop\n"
|
||||
"PO-Revision-Date: 2020-06-27 15:56+0000\n"
|
||||
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2020\n"
|
||||
"Language-Team: Romanian (https://app.transifex.com/sabnzbd/teams/111101/ro/)\n"
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: SABnzbd-4.3.3Beta2\n"
|
||||
"Project-Id-Version: SABnzbd-4.4.0-develop\n"
|
||||
"PO-Revision-Date: 2020-06-27 15:56+0000\n"
|
||||
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2020\n"
|
||||
"Language-Team: Russian (https://app.transifex.com/sabnzbd/teams/111101/ru/)\n"
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: SABnzbd-4.3.3Beta2\n"
|
||||
"Project-Id-Version: SABnzbd-4.4.0-develop\n"
|
||||
"PO-Revision-Date: 2020-06-27 15:56+0000\n"
|
||||
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2020\n"
|
||||
"Language-Team: Serbian (https://app.transifex.com/sabnzbd/teams/111101/sr/)\n"
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: SABnzbd-4.3.3Beta2\n"
|
||||
"Project-Id-Version: SABnzbd-4.4.0-develop\n"
|
||||
"PO-Revision-Date: 2020-06-27 15:56+0000\n"
|
||||
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2020\n"
|
||||
"Language-Team: Swedish (https://app.transifex.com/sabnzbd/teams/111101/sv/)\n"
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: SABnzbd-4.3.3Beta2\n"
|
||||
"Project-Id-Version: SABnzbd-4.4.0-develop\n"
|
||||
"PO-Revision-Date: 2020-06-27 15:56+0000\n"
|
||||
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2020\n"
|
||||
"Language-Team: Chinese (China) (https://app.transifex.com/sabnzbd/teams/111101/zh_CN/)\n"
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: SABnzbd-4.3.3Beta2\n"
|
||||
"Project-Id-Version: SABnzbd-4.4.0-develop\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: team@sabnzbd.org\n"
|
||||
"Language-Team: SABnzbd <team@sabnzbd.org>\n"
|
||||
@@ -399,6 +399,10 @@ msgstr ""
|
||||
msgid "Deobfuscate renamed %d file(s)"
|
||||
msgstr ""
|
||||
|
||||
#: sabnzbd/deobfuscate_filenames.py
|
||||
msgid "Deobfuscate renamed %d subtitle file(s)"
|
||||
msgstr ""
|
||||
|
||||
#: sabnzbd/directunpacker.py, sabnzbd/skintext.py
|
||||
msgid "Direct Unpack"
|
||||
msgstr ""
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: SABnzbd-4.3.3Beta2\n"
|
||||
"Project-Id-Version: SABnzbd-4.4.0-develop\n"
|
||||
"PO-Revision-Date: 2020-06-27 15:49+0000\n"
|
||||
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2023\n"
|
||||
"Language-Team: Czech (https://app.transifex.com/sabnzbd/teams/111101/cs/)\n"
|
||||
@@ -434,6 +434,10 @@ msgstr ""
|
||||
msgid "Deobfuscate renamed %d file(s)"
|
||||
msgstr ""
|
||||
|
||||
#: sabnzbd/deobfuscate_filenames.py
|
||||
msgid "Deobfuscate renamed %d subtitle file(s)"
|
||||
msgstr ""
|
||||
|
||||
#: sabnzbd/directunpacker.py, sabnzbd/skintext.py
|
||||
msgid "Direct Unpack"
|
||||
msgstr "Přímé rozbalení"
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: SABnzbd-4.3.3Beta2\n"
|
||||
"Project-Id-Version: SABnzbd-4.4.0-develop\n"
|
||||
"PO-Revision-Date: 2020-06-27 15:49+0000\n"
|
||||
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2023\n"
|
||||
"Language-Team: Danish (https://app.transifex.com/sabnzbd/teams/111101/da/)\n"
|
||||
@@ -437,6 +437,10 @@ msgstr ""
|
||||
msgid "Deobfuscate renamed %d file(s)"
|
||||
msgstr ""
|
||||
|
||||
#: sabnzbd/deobfuscate_filenames.py
|
||||
msgid "Deobfuscate renamed %d subtitle file(s)"
|
||||
msgstr ""
|
||||
|
||||
#: sabnzbd/directunpacker.py, sabnzbd/skintext.py
|
||||
msgid "Direct Unpack"
|
||||
msgstr ""
|
||||
|
||||
@@ -14,12 +14,13 @@
|
||||
# HandyDandy04, 2024
|
||||
# Safihre <safihre@sabnzbd.org>, 2024
|
||||
# Gjelbrim Haskaj, 2024
|
||||
# Stefan Rodriguez Galeano, 2024
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: SABnzbd-4.3.3Beta2\n"
|
||||
"Project-Id-Version: SABnzbd-4.4.0-develop\n"
|
||||
"PO-Revision-Date: 2020-06-27 15:49+0000\n"
|
||||
"Last-Translator: Gjelbrim Haskaj, 2024\n"
|
||||
"Last-Translator: Stefan Rodriguez Galeano, 2024\n"
|
||||
"Language-Team: German (https://app.transifex.com/sabnzbd/teams/111101/de/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
@@ -257,7 +258,7 @@ msgstr "Die Verbindung konnte nicht überprüft werden. (%s)"
|
||||
|
||||
#: sabnzbd/api.py
|
||||
msgid "Resolving address"
|
||||
msgstr "Adresse wird aufgelöst …"
|
||||
msgstr "Adresse wird aufgelöst"
|
||||
|
||||
#. No value, used in dropdown menus
|
||||
#: sabnzbd/api.py, sabnzbd/skintext.py
|
||||
@@ -477,6 +478,10 @@ msgstr "Entschleiern korrigierte die Erweiterung von %d Datei(en)"
|
||||
msgid "Deobfuscate renamed %d file(s)"
|
||||
msgstr "Entschleiern hat %dDatei(en) umbenannt"
|
||||
|
||||
#: sabnzbd/deobfuscate_filenames.py
|
||||
msgid "Deobfuscate renamed %d subtitle file(s)"
|
||||
msgstr "Umbenannte Untertiteldatei(en)%d verschleiern"
|
||||
|
||||
#: sabnzbd/directunpacker.py, sabnzbd/skintext.py
|
||||
msgid "Direct Unpack"
|
||||
msgstr "Direkt entpacken"
|
||||
@@ -557,7 +562,7 @@ msgstr "Schwerer Fehler im Downloader"
|
||||
#. Warning message
|
||||
#: sabnzbd/downloader.py
|
||||
msgid "%s@%s: Received unknown status code %s for article %s"
|
||||
msgstr ""
|
||||
msgstr "%s@%s:Unbekannter Statuscode%s für Artikel erhalten %s"
|
||||
|
||||
#: sabnzbd/downloader.py
|
||||
msgid "Too many connections to server %s [%s]"
|
||||
@@ -1231,21 +1236,22 @@ msgstr "Prowl-Nachricht konnte nicht versendet werden"
|
||||
#. Warning message
|
||||
#: sabnzbd/notifier.py
|
||||
msgid "Failed to send Apprise message - no URLs defined"
|
||||
msgstr ""
|
||||
msgstr "Übertragung der Info-Nachricht fehlgeschlagen - keine URLs definiert"
|
||||
|
||||
#. Warning message
|
||||
#: sabnzbd/notifier.py
|
||||
msgid "One or more Apprise URLs could not be loaded."
|
||||
msgstr ""
|
||||
msgstr "Eine oder mehrere Informations-URLs konnten nicht geladen werden."
|
||||
|
||||
#: sabnzbd/notifier.py
|
||||
msgid "Failed to send one or more Apprise Notifications"
|
||||
msgstr ""
|
||||
"Eine oder mehrere Info-Benachrichtigungen konnten nicht gesendet werden"
|
||||
|
||||
#. Warning message
|
||||
#: sabnzbd/notifier.py
|
||||
msgid "Failed to send Apprise message"
|
||||
msgstr ""
|
||||
msgstr "Info-Nachricht konnte nicht gesendet werden"
|
||||
|
||||
#. Error message
|
||||
#: sabnzbd/notifier.py
|
||||
@@ -2430,7 +2436,7 @@ msgstr "Alle Elemente in der Warteschlange löschen?"
|
||||
#. Delete confirmation popup
|
||||
#: sabnzbd/skintext.py
|
||||
msgid "Are you sure you want to remove these jobs?"
|
||||
msgstr ""
|
||||
msgstr "Sind Sie sicher, dass Sie diese Aufträge entfernen wollen?"
|
||||
|
||||
#. Queue page button
|
||||
#: sabnzbd/skintext.py
|
||||
@@ -2455,7 +2461,7 @@ msgstr "NZBs und Dateien löschen"
|
||||
#. Checkbox if job should be added to Archive
|
||||
#: sabnzbd/skintext.py
|
||||
msgid "Permanently delete (skip archive)"
|
||||
msgstr ""
|
||||
msgstr "erhaft löschen (Archiv überspringen)"
|
||||
|
||||
#. Caption for missing articles in Queue
|
||||
#: sabnzbd/skintext.py
|
||||
@@ -2478,7 +2484,7 @@ msgstr "Kontingent jetzt zurücksetzen"
|
||||
|
||||
#: sabnzbd/skintext.py
|
||||
msgid "Archive"
|
||||
msgstr ""
|
||||
msgstr "Archiv"
|
||||
|
||||
#. Button/link hiding History job details
|
||||
#: sabnzbd/skintext.py
|
||||
@@ -2503,7 +2509,7 @@ msgstr "Alle anzeigen"
|
||||
#. Button showing all archived jobs
|
||||
#: sabnzbd/skintext.py
|
||||
msgid "Show Archive"
|
||||
msgstr ""
|
||||
msgstr "Zeige Archiv"
|
||||
|
||||
#. History table header - Size of the download quota
|
||||
#: sabnzbd/skintext.py
|
||||
@@ -2796,11 +2802,11 @@ msgstr "Port, auf dem SABnzbd auf Anfragen warten soll."
|
||||
|
||||
#: sabnzbd/skintext.py
|
||||
msgid "Web Interface Theme"
|
||||
msgstr ""
|
||||
msgstr "Benutzeroberfläche"
|
||||
|
||||
#: sabnzbd/skintext.py
|
||||
msgid "Choose a theme."
|
||||
msgstr ""
|
||||
msgstr "Wählen Sie ein Theme."
|
||||
|
||||
#: sabnzbd/skintext.py
|
||||
msgid "SABnzbd Username"
|
||||
@@ -2971,28 +2977,36 @@ msgstr "Alle Aufträge behalten"
|
||||
msgid ""
|
||||
"Move jobs to the archive if the history exceeds specified number of jobs"
|
||||
msgstr ""
|
||||
"Verschieben von Aufträgen in das Archiv, wenn der Verlauf die angegebene "
|
||||
"Anzahl von Aufträgen überschreitet."
|
||||
|
||||
#: sabnzbd/skintext.py
|
||||
msgid ""
|
||||
"Delete jobs if the history and archive exceeds specified number of jobs"
|
||||
msgstr ""
|
||||
"Löschen von Aufträgen, wenn der Verlauf und das Archiv die angegebene Anzahl"
|
||||
" von Aufträgen überschreiten"
|
||||
|
||||
#: sabnzbd/skintext.py
|
||||
msgid "Move jobs to the archive after specified number of days"
|
||||
msgstr ""
|
||||
"Verschieben von Aufträgen in das Archiv nach einer bestimmten Anzahl von "
|
||||
"Tagen"
|
||||
|
||||
#: sabnzbd/skintext.py
|
||||
msgid ""
|
||||
"Delete jobs from the history and archive after specified number of days"
|
||||
msgstr ""
|
||||
"Löschen von Aufträgen aus der Historie und dem Archiv nach einer bestimmten "
|
||||
"Anzahl von Tagen"
|
||||
|
||||
#: sabnzbd/skintext.py
|
||||
msgid "Move all completed jobs to archive"
|
||||
msgstr ""
|
||||
msgstr "Alle abgeschlossenen Aufträge ins Archiv verschieben"
|
||||
|
||||
#: sabnzbd/skintext.py
|
||||
msgid "Delete all completed jobs"
|
||||
msgstr ""
|
||||
msgstr "Alle abgeschlossenen Aufträge löschen"
|
||||
|
||||
#: sabnzbd/skintext.py
|
||||
msgid "Jobs"
|
||||
@@ -3281,7 +3295,7 @@ msgstr ""
|
||||
|
||||
#: sabnzbd/skintext.py
|
||||
msgid "Purge Logs"
|
||||
msgstr ""
|
||||
msgstr "Protokolle bereinigen"
|
||||
|
||||
#: sabnzbd/skintext.py
|
||||
msgid ".nzb Backup Folder"
|
||||
@@ -3406,7 +3420,7 @@ msgstr "Aufgabe abgebrochen (verschoben in die Historie)"
|
||||
|
||||
#: sabnzbd/skintext.py
|
||||
msgid "Abort post-processing"
|
||||
msgstr ""
|
||||
msgstr "Nachbearbeitung abbrechen"
|
||||
|
||||
#: sabnzbd/skintext.py
|
||||
msgid "Action when unwanted extension detected"
|
||||
@@ -3479,7 +3493,7 @@ msgstr ""
|
||||
|
||||
#: sabnzbd/skintext.py
|
||||
msgid "On queue finish script"
|
||||
msgstr ""
|
||||
msgstr "Skript zur Beendigung der Warteschlange"
|
||||
|
||||
#: sabnzbd/skintext.py
|
||||
msgid "Executed after the queue finishes downloading."
|
||||
@@ -4280,11 +4294,13 @@ msgstr "Geräte, welche die Benachrichtigungen empfangen sollen"
|
||||
#. Apprise settings
|
||||
#: sabnzbd/skintext.py
|
||||
msgid "Enable Apprise notifications"
|
||||
msgstr ""
|
||||
msgstr "Aktivieren Sie Info-Benachrichtigungen"
|
||||
|
||||
#: sabnzbd/skintext.py
|
||||
msgid "Send notifications using Apprise to almost any notification service"
|
||||
msgstr ""
|
||||
"Senden Sie Benachrichtigungen mit Anfragen an fast jeden "
|
||||
"Benachrichtigungsdienst"
|
||||
|
||||
#. Apprise settings
|
||||
#: sabnzbd/skintext.py
|
||||
@@ -4295,11 +4311,15 @@ msgstr ""
|
||||
#: sabnzbd/skintext.py
|
||||
msgid "Use a comma and/or space to identify more than one URL."
|
||||
msgstr ""
|
||||
"Verwenden Sie ein Komma und/oder ein Leerzeichen, um mehr als eine URL zu "
|
||||
"kennzeichnen."
|
||||
|
||||
#: sabnzbd/skintext.py
|
||||
msgid ""
|
||||
"Override the default URLs for specific notification types below, if desired."
|
||||
msgstr ""
|
||||
"Falls gewünscht, können Sie die Standard-URLs für bestimmte "
|
||||
"Benachrichtigungstypen unten überschreiben."
|
||||
|
||||
#. Header for Notification Script notification section
|
||||
#: sabnzbd/skintext.py
|
||||
@@ -4798,6 +4818,9 @@ msgid ""
|
||||
"When you Retry a job, 'Duplicate Detection' and 'Abort jobs that cannot be "
|
||||
"completed' are disabled."
|
||||
msgstr ""
|
||||
"Wenn Sie einen Auftrag wiederholen, sind die Funktionen „Erkennung von "
|
||||
"Duplikaten“ und „Abbruch von Aufträgen, die nicht abgeschlossen werden "
|
||||
"können“ deaktiviert."
|
||||
|
||||
#: sabnzbd/skintext.py
|
||||
msgid "View Script Log"
|
||||
@@ -5032,7 +5055,7 @@ msgstr ""
|
||||
#. Error message
|
||||
#: sabnzbd/sorting.py
|
||||
msgid "Failed to rename %s to %s"
|
||||
msgstr "Fehler beim umbennenen von %s nach %s"
|
||||
msgstr "Fehler beim Umbenennen von %s nach %s"
|
||||
|
||||
#. Error message
|
||||
#: sabnzbd/sorting.py
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: SABnzbd-4.3.3Beta2\n"
|
||||
"Project-Id-Version: SABnzbd-4.4.0-develop\n"
|
||||
"PO-Revision-Date: 2020-06-27 15:49+0000\n"
|
||||
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2023\n"
|
||||
"Language-Team: Spanish (https://app.transifex.com/sabnzbd/teams/111101/es/)\n"
|
||||
@@ -455,6 +455,10 @@ msgstr ""
|
||||
msgid "Deobfuscate renamed %d file(s)"
|
||||
msgstr ""
|
||||
|
||||
#: sabnzbd/deobfuscate_filenames.py
|
||||
msgid "Deobfuscate renamed %d subtitle file(s)"
|
||||
msgstr ""
|
||||
|
||||
#: sabnzbd/directunpacker.py, sabnzbd/skintext.py
|
||||
msgid "Direct Unpack"
|
||||
msgstr "Descomprimir directamente"
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: SABnzbd-4.3.3Beta2\n"
|
||||
"Project-Id-Version: SABnzbd-4.4.0-develop\n"
|
||||
"PO-Revision-Date: 2020-06-27 15:49+0000\n"
|
||||
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2023\n"
|
||||
"Language-Team: Finnish (https://app.transifex.com/sabnzbd/teams/111101/fi/)\n"
|
||||
@@ -433,6 +433,10 @@ msgstr ""
|
||||
msgid "Deobfuscate renamed %d file(s)"
|
||||
msgstr ""
|
||||
|
||||
#: sabnzbd/deobfuscate_filenames.py
|
||||
msgid "Deobfuscate renamed %d subtitle file(s)"
|
||||
msgstr ""
|
||||
|
||||
#: sabnzbd/directunpacker.py, sabnzbd/skintext.py
|
||||
msgid "Direct Unpack"
|
||||
msgstr ""
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: SABnzbd-4.3.3Beta2\n"
|
||||
"Project-Id-Version: SABnzbd-4.4.0-develop\n"
|
||||
"PO-Revision-Date: 2020-06-27 15:49+0000\n"
|
||||
"Last-Translator: Fred L <88com88@gmail.com>, 2024\n"
|
||||
"Language-Team: French (https://app.transifex.com/sabnzbd/teams/111101/fr/)\n"
|
||||
@@ -469,6 +469,10 @@ msgstr "La désobfuscation a corrigé l'extension de %d fichier(s)"
|
||||
msgid "Deobfuscate renamed %d file(s)"
|
||||
msgstr "La désobfuscation a renommé %d fichier(s)"
|
||||
|
||||
#: sabnzbd/deobfuscate_filenames.py
|
||||
msgid "Deobfuscate renamed %d subtitle file(s)"
|
||||
msgstr "Désobfusquer le(s) fichier(s) de sous-titres renommé(s) %d"
|
||||
|
||||
#: sabnzbd/directunpacker.py, sabnzbd/skintext.py
|
||||
msgid "Direct Unpack"
|
||||
msgstr "Décompression Directe"
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: SABnzbd-4.3.3Beta2\n"
|
||||
"Project-Id-Version: SABnzbd-4.4.0-develop\n"
|
||||
"PO-Revision-Date: 2020-06-27 15:49+0000\n"
|
||||
"Last-Translator: ION, 2024\n"
|
||||
"Language-Team: Hebrew (https://app.transifex.com/sabnzbd/teams/111101/he/)\n"
|
||||
@@ -437,6 +437,10 @@ msgstr "אי־האפלה תיקנה את הסיומת של %d קבצים"
|
||||
msgid "Deobfuscate renamed %d file(s)"
|
||||
msgstr "אי־האפלה שינתה שם של %d קבצים"
|
||||
|
||||
#: sabnzbd/deobfuscate_filenames.py
|
||||
msgid "Deobfuscate renamed %d subtitle file(s)"
|
||||
msgstr ""
|
||||
|
||||
#: sabnzbd/directunpacker.py, sabnzbd/skintext.py
|
||||
msgid "Direct Unpack"
|
||||
msgstr "פריקה ישירה"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: SABnzbd-4.3.3Beta2\n"
|
||||
"Project-Id-Version: SABnzbd-4.4.0-develop\n"
|
||||
"PO-Revision-Date: 2020-06-27 15:49+0000\n"
|
||||
"Language-Team: Italian (https://app.transifex.com/sabnzbd/teams/111101/it/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
@@ -420,6 +420,10 @@ msgstr ""
|
||||
msgid "Deobfuscate renamed %d file(s)"
|
||||
msgstr ""
|
||||
|
||||
#: sabnzbd/deobfuscate_filenames.py
|
||||
msgid "Deobfuscate renamed %d subtitle file(s)"
|
||||
msgstr ""
|
||||
|
||||
#: sabnzbd/directunpacker.py, sabnzbd/skintext.py
|
||||
msgid "Direct Unpack"
|
||||
msgstr ""
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: SABnzbd-4.3.3Beta2\n"
|
||||
"Project-Id-Version: SABnzbd-4.4.0-develop\n"
|
||||
"PO-Revision-Date: 2020-06-27 15:49+0000\n"
|
||||
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2023\n"
|
||||
"Language-Team: Norwegian Bokmål (https://app.transifex.com/sabnzbd/teams/111101/nb/)\n"
|
||||
@@ -431,6 +431,10 @@ msgstr ""
|
||||
msgid "Deobfuscate renamed %d file(s)"
|
||||
msgstr ""
|
||||
|
||||
#: sabnzbd/deobfuscate_filenames.py
|
||||
msgid "Deobfuscate renamed %d subtitle file(s)"
|
||||
msgstr ""
|
||||
|
||||
#: sabnzbd/directunpacker.py, sabnzbd/skintext.py
|
||||
msgid "Direct Unpack"
|
||||
msgstr ""
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: SABnzbd-4.3.3Beta2\n"
|
||||
"Project-Id-Version: SABnzbd-4.4.0-develop\n"
|
||||
"PO-Revision-Date: 2020-06-27 15:49+0000\n"
|
||||
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2024\n"
|
||||
"Language-Team: Dutch (https://app.transifex.com/sabnzbd/teams/111101/nl/)\n"
|
||||
@@ -463,6 +463,10 @@ msgstr "Extensie van %d bestand(en) gecorrigeerd"
|
||||
msgid "Deobfuscate renamed %d file(s)"
|
||||
msgstr "Bestandsnamen van %d bestand(en) aangepast."
|
||||
|
||||
#: sabnzbd/deobfuscate_filenames.py
|
||||
msgid "Deobfuscate renamed %d subtitle file(s)"
|
||||
msgstr ""
|
||||
|
||||
#: sabnzbd/directunpacker.py, sabnzbd/skintext.py
|
||||
msgid "Direct Unpack"
|
||||
msgstr "Direct Uitpakken"
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: SABnzbd-4.3.3Beta2\n"
|
||||
"Project-Id-Version: SABnzbd-4.4.0-develop\n"
|
||||
"PO-Revision-Date: 2020-06-27 15:49+0000\n"
|
||||
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2023\n"
|
||||
"Language-Team: Polish (https://app.transifex.com/sabnzbd/teams/111101/pl/)\n"
|
||||
@@ -430,6 +430,10 @@ msgstr ""
|
||||
msgid "Deobfuscate renamed %d file(s)"
|
||||
msgstr ""
|
||||
|
||||
#: sabnzbd/deobfuscate_filenames.py
|
||||
msgid "Deobfuscate renamed %d subtitle file(s)"
|
||||
msgstr ""
|
||||
|
||||
#: sabnzbd/directunpacker.py, sabnzbd/skintext.py
|
||||
msgid "Direct Unpack"
|
||||
msgstr ""
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: SABnzbd-4.3.3Beta2\n"
|
||||
"Project-Id-Version: SABnzbd-4.4.0-develop\n"
|
||||
"PO-Revision-Date: 2020-06-27 15:49+0000\n"
|
||||
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2023\n"
|
||||
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/sabnzbd/teams/111101/pt_BR/)\n"
|
||||
@@ -444,6 +444,10 @@ msgstr ""
|
||||
msgid "Deobfuscate renamed %d file(s)"
|
||||
msgstr ""
|
||||
|
||||
#: sabnzbd/deobfuscate_filenames.py
|
||||
msgid "Deobfuscate renamed %d subtitle file(s)"
|
||||
msgstr ""
|
||||
|
||||
#: sabnzbd/directunpacker.py, sabnzbd/skintext.py
|
||||
msgid "Direct Unpack"
|
||||
msgstr ""
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: SABnzbd-4.3.3Beta2\n"
|
||||
"Project-Id-Version: SABnzbd-4.4.0-develop\n"
|
||||
"PO-Revision-Date: 2020-06-27 15:49+0000\n"
|
||||
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2023\n"
|
||||
"Language-Team: Romanian (https://app.transifex.com/sabnzbd/teams/111101/ro/)\n"
|
||||
@@ -447,6 +447,10 @@ msgstr ""
|
||||
msgid "Deobfuscate renamed %d file(s)"
|
||||
msgstr ""
|
||||
|
||||
#: sabnzbd/deobfuscate_filenames.py
|
||||
msgid "Deobfuscate renamed %d subtitle file(s)"
|
||||
msgstr ""
|
||||
|
||||
#: sabnzbd/directunpacker.py, sabnzbd/skintext.py
|
||||
msgid "Direct Unpack"
|
||||
msgstr "Dezarhivare directă"
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: SABnzbd-4.3.3Beta2\n"
|
||||
"Project-Id-Version: SABnzbd-4.4.0-develop\n"
|
||||
"PO-Revision-Date: 2020-06-27 15:49+0000\n"
|
||||
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2023\n"
|
||||
"Language-Team: Russian (https://app.transifex.com/sabnzbd/teams/111101/ru/)\n"
|
||||
@@ -430,6 +430,10 @@ msgstr ""
|
||||
msgid "Deobfuscate renamed %d file(s)"
|
||||
msgstr ""
|
||||
|
||||
#: sabnzbd/deobfuscate_filenames.py
|
||||
msgid "Deobfuscate renamed %d subtitle file(s)"
|
||||
msgstr ""
|
||||
|
||||
#: sabnzbd/directunpacker.py, sabnzbd/skintext.py
|
||||
msgid "Direct Unpack"
|
||||
msgstr ""
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: SABnzbd-4.3.3Beta2\n"
|
||||
"Project-Id-Version: SABnzbd-4.4.0-develop\n"
|
||||
"PO-Revision-Date: 2020-06-27 15:49+0000\n"
|
||||
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2023\n"
|
||||
"Language-Team: Serbian (https://app.transifex.com/sabnzbd/teams/111101/sr/)\n"
|
||||
@@ -427,6 +427,10 @@ msgstr ""
|
||||
msgid "Deobfuscate renamed %d file(s)"
|
||||
msgstr ""
|
||||
|
||||
#: sabnzbd/deobfuscate_filenames.py
|
||||
msgid "Deobfuscate renamed %d subtitle file(s)"
|
||||
msgstr ""
|
||||
|
||||
#: sabnzbd/directunpacker.py, sabnzbd/skintext.py
|
||||
msgid "Direct Unpack"
|
||||
msgstr ""
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: SABnzbd-4.3.3Beta2\n"
|
||||
"Project-Id-Version: SABnzbd-4.4.0-develop\n"
|
||||
"PO-Revision-Date: 2020-06-27 15:49+0000\n"
|
||||
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2023\n"
|
||||
"Language-Team: Swedish (https://app.transifex.com/sabnzbd/teams/111101/sv/)\n"
|
||||
@@ -428,6 +428,10 @@ msgstr ""
|
||||
msgid "Deobfuscate renamed %d file(s)"
|
||||
msgstr ""
|
||||
|
||||
#: sabnzbd/deobfuscate_filenames.py
|
||||
msgid "Deobfuscate renamed %d subtitle file(s)"
|
||||
msgstr ""
|
||||
|
||||
#: sabnzbd/directunpacker.py, sabnzbd/skintext.py
|
||||
msgid "Direct Unpack"
|
||||
msgstr ""
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: SABnzbd-4.3.3Beta2\n"
|
||||
"Project-Id-Version: SABnzbd-4.4.0-develop\n"
|
||||
"PO-Revision-Date: 2020-06-27 15:49+0000\n"
|
||||
"Last-Translator: Kangwei Li <lkw20010211@gmail.com>, 2023\n"
|
||||
"Language-Team: Chinese (China) (https://app.transifex.com/sabnzbd/teams/111101/zh_CN/)\n"
|
||||
@@ -425,6 +425,10 @@ msgstr ""
|
||||
msgid "Deobfuscate renamed %d file(s)"
|
||||
msgstr ""
|
||||
|
||||
#: sabnzbd/deobfuscate_filenames.py
|
||||
msgid "Deobfuscate renamed %d subtitle file(s)"
|
||||
msgstr ""
|
||||
|
||||
#: sabnzbd/directunpacker.py, sabnzbd/skintext.py
|
||||
msgid "Direct Unpack"
|
||||
msgstr ""
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: SABnzbd-4.3.3Beta2\n"
|
||||
"Project-Id-Version: SABnzbd-4.4.0-develop\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: team@sabnzbd.org\n"
|
||||
"Language-Team: SABnzbd <team@sabnzbd.org>\n"
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: SABnzbd-4.3.3Beta2\n"
|
||||
"Project-Id-Version: SABnzbd-4.4.0-develop\n"
|
||||
"PO-Revision-Date: 2020-06-27 15:56+0000\n"
|
||||
"Last-Translator: Pavel C <quoing_transifex@mess.cz>, 2022\n"
|
||||
"Language-Team: Czech (https://app.transifex.com/sabnzbd/teams/111101/cs/)\n"
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: SABnzbd-4.3.3Beta2\n"
|
||||
"Project-Id-Version: SABnzbd-4.4.0-develop\n"
|
||||
"PO-Revision-Date: 2020-06-27 15:56+0000\n"
|
||||
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2020\n"
|
||||
"Language-Team: Danish (https://app.transifex.com/sabnzbd/teams/111101/da/)\n"
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: SABnzbd-4.3.3Beta2\n"
|
||||
"Project-Id-Version: SABnzbd-4.4.0-develop\n"
|
||||
"PO-Revision-Date: 2020-06-27 15:56+0000\n"
|
||||
"Last-Translator: Lorenz B, 2024\n"
|
||||
"Language-Team: German (https://app.transifex.com/sabnzbd/teams/111101/de/)\n"
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: SABnzbd-4.3.3Beta2\n"
|
||||
"Project-Id-Version: SABnzbd-4.4.0-develop\n"
|
||||
"PO-Revision-Date: 2020-06-27 15:56+0000\n"
|
||||
"Last-Translator: Ester Molla Aragones <moarages@gmail.com>, 2020\n"
|
||||
"Language-Team: Spanish (https://app.transifex.com/sabnzbd/teams/111101/es/)\n"
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: SABnzbd-4.3.3Beta2\n"
|
||||
"Project-Id-Version: SABnzbd-4.4.0-develop\n"
|
||||
"PO-Revision-Date: 2020-06-27 15:56+0000\n"
|
||||
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2020\n"
|
||||
"Language-Team: Finnish (https://app.transifex.com/sabnzbd/teams/111101/fi/)\n"
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: SABnzbd-4.3.3Beta2\n"
|
||||
"Project-Id-Version: SABnzbd-4.4.0-develop\n"
|
||||
"PO-Revision-Date: 2020-06-27 15:56+0000\n"
|
||||
"Last-Translator: Fred L <88com88@gmail.com>, 2024\n"
|
||||
"Language-Team: French (https://app.transifex.com/sabnzbd/teams/111101/fr/)\n"
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: SABnzbd-4.3.3Beta2\n"
|
||||
"Project-Id-Version: SABnzbd-4.4.0-develop\n"
|
||||
"PO-Revision-Date: 2020-06-27 15:56+0000\n"
|
||||
"Last-Translator: ION, 2024\n"
|
||||
"Language-Team: Hebrew (https://app.transifex.com/sabnzbd/teams/111101/he/)\n"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: SABnzbd-4.3.3Beta2\n"
|
||||
"Project-Id-Version: SABnzbd-4.4.0-develop\n"
|
||||
"PO-Revision-Date: 2020-06-27 15:56+0000\n"
|
||||
"Language-Team: Italian (https://app.transifex.com/sabnzbd/teams/111101/it/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: SABnzbd-4.3.3Beta2\n"
|
||||
"Project-Id-Version: SABnzbd-4.4.0-develop\n"
|
||||
"PO-Revision-Date: 2020-06-27 15:56+0000\n"
|
||||
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2020\n"
|
||||
"Language-Team: Norwegian Bokmål (https://app.transifex.com/sabnzbd/teams/111101/nb/)\n"
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: SABnzbd-4.3.3Beta2\n"
|
||||
"Project-Id-Version: SABnzbd-4.4.0-develop\n"
|
||||
"PO-Revision-Date: 2020-06-27 15:56+0000\n"
|
||||
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2024\n"
|
||||
"Language-Team: Dutch (https://app.transifex.com/sabnzbd/teams/111101/nl/)\n"
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: SABnzbd-4.3.3Beta2\n"
|
||||
"Project-Id-Version: SABnzbd-4.4.0-develop\n"
|
||||
"PO-Revision-Date: 2020-06-27 15:56+0000\n"
|
||||
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2020\n"
|
||||
"Language-Team: Polish (https://app.transifex.com/sabnzbd/teams/111101/pl/)\n"
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: SABnzbd-4.3.3Beta2\n"
|
||||
"Project-Id-Version: SABnzbd-4.4.0-develop\n"
|
||||
"PO-Revision-Date: 2020-06-27 15:56+0000\n"
|
||||
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2020\n"
|
||||
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/sabnzbd/teams/111101/pt_BR/)\n"
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: SABnzbd-4.3.3Beta2\n"
|
||||
"Project-Id-Version: SABnzbd-4.4.0-develop\n"
|
||||
"PO-Revision-Date: 2020-06-27 15:56+0000\n"
|
||||
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2020\n"
|
||||
"Language-Team: Romanian (https://app.transifex.com/sabnzbd/teams/111101/ro/)\n"
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: SABnzbd-4.3.3Beta2\n"
|
||||
"Project-Id-Version: SABnzbd-4.4.0-develop\n"
|
||||
"PO-Revision-Date: 2020-06-27 15:56+0000\n"
|
||||
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2020\n"
|
||||
"Language-Team: Russian (https://app.transifex.com/sabnzbd/teams/111101/ru/)\n"
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: SABnzbd-4.3.3Beta2\n"
|
||||
"Project-Id-Version: SABnzbd-4.4.0-develop\n"
|
||||
"PO-Revision-Date: 2020-06-27 15:56+0000\n"
|
||||
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2020\n"
|
||||
"Language-Team: Serbian (https://app.transifex.com/sabnzbd/teams/111101/sr/)\n"
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: SABnzbd-4.3.3Beta2\n"
|
||||
"Project-Id-Version: SABnzbd-4.4.0-develop\n"
|
||||
"PO-Revision-Date: 2020-06-27 15:56+0000\n"
|
||||
"Last-Translator: Petter Ramme, 2024\n"
|
||||
"Language-Team: Swedish (https://app.transifex.com/sabnzbd/teams/111101/sv/)\n"
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: SABnzbd-4.3.3Beta2\n"
|
||||
"Project-Id-Version: SABnzbd-4.4.0-develop\n"
|
||||
"PO-Revision-Date: 2020-06-27 15:56+0000\n"
|
||||
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2020\n"
|
||||
"Language-Team: Chinese (China) (https://app.transifex.com/sabnzbd/teams/111101/zh_CN/)\n"
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
# Main requirements
|
||||
# Note that not all sub-dependencies are listed, but only ones we know could cause trouble
|
||||
apprise==1.8.1
|
||||
apprise==1.9.0
|
||||
sabctools==8.2.5
|
||||
CT3==3.3.3.post1
|
||||
cffi==1.16.0
|
||||
cffi==1.17.1
|
||||
pycparser==2.22
|
||||
feedparser==6.0.11
|
||||
configobj==5.0.8
|
||||
@@ -15,23 +15,23 @@ jaraco.collections==5.0.0
|
||||
jaraco.text==3.8.1 # Newer version introduces irrelevant extra dependencies
|
||||
jaraco.classes==3.4.0
|
||||
jaraco.context==4.3.0
|
||||
more-itertools==10.3.0
|
||||
more-itertools==10.5.0
|
||||
zc.lockfile==3.0.post1
|
||||
python-dateutil==2.9.0.post0
|
||||
tempora==5.7.0
|
||||
pytz==2024.1
|
||||
pytz==2024.2
|
||||
sgmllib3k==1.0.0
|
||||
portend==3.2.0
|
||||
chardet==5.2.0
|
||||
PySocks==1.7.1
|
||||
puremagic==1.26
|
||||
puremagic==1.27
|
||||
guessit==3.8.0
|
||||
babelfish==0.6.1
|
||||
rebulk==3.2.0
|
||||
|
||||
# Recent cryptography versions require Rust. If you run into issues compiling this
|
||||
# SABnzbd will also work with older pre-Rust versions such as cryptography==3.3.2
|
||||
cryptography==43.0.0
|
||||
cryptography==43.0.1
|
||||
|
||||
# We recommend using "orjson" as it is 2x as fast as "ujson". However, it requires
|
||||
# Rust so SABnzbd works just as well with "ujson" or the Python built in "json" module
|
||||
@@ -39,12 +39,12 @@ ujson==5.10.0
|
||||
|
||||
# Windows system integration
|
||||
pywin32==306; sys_platform == 'win32'
|
||||
windows-toasts==1.2.0; sys_platform == 'win32' and python_version > '3.8'
|
||||
winrt-runtime==2.1.0; sys_platform == 'win32' and python_version > '3.8'
|
||||
winrt-Windows.Data.Xml.Dom==2.1.0; sys_platform == 'win32' and python_version > '3.8'
|
||||
winrt-Windows.Foundation==2.1.0; sys_platform == 'win32' and python_version > '3.8'
|
||||
winrt-Windows.Foundation.Collections==2.1.0; sys_platform == 'win32' and python_version > '3.8'
|
||||
winrt-Windows.UI.Notifications==2.1.0; sys_platform == 'win32' and python_version > '3.8'
|
||||
windows-toasts==1.3.0; sys_platform == 'win32' and python_version > '3.8'
|
||||
winrt-runtime==2.2.0; sys_platform == 'win32' and python_version > '3.8'
|
||||
winrt-Windows.Data.Xml.Dom==2.2.0; sys_platform == 'win32' and python_version > '3.8'
|
||||
winrt-Windows.Foundation==2.2.0; sys_platform == 'win32' and python_version > '3.8'
|
||||
winrt-Windows.Foundation.Collections==2.2.0; sys_platform == 'win32' and python_version > '3.8'
|
||||
winrt-Windows.UI.Notifications==2.2.0; sys_platform == 'win32' and python_version > '3.8'
|
||||
|
||||
# macOS system calls
|
||||
pyobjc-core==10.3.1; sys_platform == 'darwin'
|
||||
@@ -56,15 +56,15 @@ notify2==0.3.1; sys_platform != 'win32' and sys_platform != 'darwin'
|
||||
# Apprise Requirements
|
||||
requests==2.32.3
|
||||
requests-oauthlib==2.0.0
|
||||
PyYAML==6.0.1
|
||||
markdown==3.6
|
||||
PyYAML==6.0.2
|
||||
markdown==3.7
|
||||
paho-mqtt==1.6.1 # Pinned, newer versions don't work with AppRise yet
|
||||
|
||||
# Requests Requirements
|
||||
charset_normalizer==3.3.2
|
||||
idna==3.7
|
||||
urllib3==2.2.2
|
||||
certifi==2024.7.4
|
||||
idna==3.10
|
||||
urllib3==2.2.3
|
||||
certifi==2024.8.30
|
||||
oauthlib==3.2.2
|
||||
PyJWT==2.9.0
|
||||
blinker==1.8.2
|
||||
|
||||
@@ -249,6 +249,7 @@ def initialize(pause_downloader=False, clean_up=False, repair=0):
|
||||
cfg.web_port.callback(cfg.guard_restart)
|
||||
cfg.web_dir.callback(cfg.guard_restart)
|
||||
cfg.web_color.callback(cfg.guard_restart)
|
||||
cfg.url_base.callback(trigger_restart)
|
||||
cfg.username.callback(cfg.guard_restart)
|
||||
cfg.password.callback(cfg.guard_restart)
|
||||
cfg.log_dir.callback(cfg.guard_restart)
|
||||
@@ -274,30 +275,8 @@ def initialize(pause_downloader=False, clean_up=False, repair=0):
|
||||
# Set end-of-queue action
|
||||
sabnzbd.misc.change_queue_complete_action(cfg.queue_complete(), new=False)
|
||||
|
||||
# Convert auto-sort
|
||||
if cfg.auto_sort() == "0":
|
||||
cfg.auto_sort.set("")
|
||||
elif cfg.auto_sort() == "1":
|
||||
cfg.auto_sort.set("avg_age asc")
|
||||
|
||||
# Convert old series/date/movie sorters
|
||||
if not cfg.sorters_converted():
|
||||
misc.convert_sorter_settings()
|
||||
cfg.sorters_converted.set(True)
|
||||
|
||||
# Convert duplicate settings
|
||||
if cfg.no_series_dupes():
|
||||
cfg.no_smart_dupes.set(cfg.no_series_dupes())
|
||||
cfg.no_series_dupes.set(0)
|
||||
|
||||
# Convert history retention setting
|
||||
if cfg.history_retention():
|
||||
misc.convert_history_retention()
|
||||
cfg.history_retention.set("")
|
||||
|
||||
# Add hostname to the whitelist
|
||||
if not cfg.host_whitelist():
|
||||
cfg.host_whitelist.set(socket.gethostname())
|
||||
# Do any config conversions
|
||||
cfg.config_conversions()
|
||||
|
||||
# Do repair if requested
|
||||
if misc.check_repair_request():
|
||||
@@ -319,10 +298,6 @@ def initialize(pause_downloader=False, clean_up=False, repair=0):
|
||||
# Run startup tasks
|
||||
sabnzbd.NzbQueue.read_queue(repair)
|
||||
sabnzbd.Scheduler.analyse(pause_downloader)
|
||||
|
||||
# Set cache limit for new users
|
||||
if not cfg.cache_limit():
|
||||
cfg.cache_limit.set(misc.get_cache_limit())
|
||||
sabnzbd.ArticleCache.new_limit(cfg.cache_limit.get_int())
|
||||
|
||||
logging.info("All processes started")
|
||||
|
||||
@@ -115,9 +115,11 @@ def validate_single_tag(value: List[str]) -> Tuple[None, List[str]]:
|
||||
return None, value
|
||||
|
||||
|
||||
def validate_strip_right_slash(value: str) -> Tuple[None, str]:
|
||||
"""Strips the right slash"""
|
||||
if value:
|
||||
def validate_url_base(value: str) -> Tuple[None, str]:
|
||||
"""Strips the right slash and adds starting slash, if not present"""
|
||||
if value and isinstance(value, str):
|
||||
if not value.startswith("/"):
|
||||
value = "/" + value
|
||||
return None, value.rstrip("/")
|
||||
return None, value
|
||||
|
||||
@@ -277,6 +279,9 @@ def validate_default_if_empty(root: str, value: str, default: str) -> Tuple[None
|
||||
# Special settings
|
||||
##############################################################################
|
||||
|
||||
# Increase everytime we do a configuration conversion
|
||||
config_conversion_version = OptionNumber("misc", "config_conversion_version", default_val=0)
|
||||
|
||||
# This should be here so it's initialized first when the config is read
|
||||
helpful_warnings = OptionBool("misc", "helpful_warnings", True)
|
||||
|
||||
@@ -486,7 +491,7 @@ wait_ext_drive = OptionNumber("misc", "wait_ext_drive", 5, minval=1, maxval=60)
|
||||
max_foldername_length = OptionNumber("misc", "max_foldername_length", DEF_FOLDER_MAX, minval=20, maxval=65000)
|
||||
marker_file = OptionStr("misc", "nomedia_marker")
|
||||
ipv6_servers = OptionBool("misc", "ipv6_servers", True)
|
||||
url_base = OptionStr("misc", "url_base", "/sabnzbd", validation=validate_strip_right_slash)
|
||||
url_base = OptionStr("misc", "url_base", validation=validate_url_base)
|
||||
host_whitelist = OptionList("misc", "host_whitelist", validation=all_lowercase)
|
||||
local_ranges = OptionList("misc", "local_ranges", protect=True)
|
||||
max_url_retries = OptionNumber("misc", "max_url_retries", 10, minval=1)
|
||||
@@ -691,7 +696,9 @@ def set_root_folders2():
|
||||
##############################################################################
|
||||
def new_limit():
|
||||
"""Callback for article cache changes"""
|
||||
sabnzbd.ArticleCache.new_limit(cache_limit.get_int())
|
||||
if sabnzbd.__INITIALIZED__:
|
||||
# Only update after full startup
|
||||
sabnzbd.ArticleCache.new_limit(cache_limit.get_int())
|
||||
|
||||
|
||||
def guard_restart():
|
||||
@@ -732,3 +739,55 @@ def guard_language():
|
||||
def guard_https_ver():
|
||||
"""Callback for change of https verification"""
|
||||
sabnzbd.misc.set_https_verification(enable_https_verification())
|
||||
|
||||
|
||||
##############################################################################
|
||||
# Conversions
|
||||
##############################################################################
|
||||
|
||||
|
||||
def config_conversions():
|
||||
"""Update sections of the config, only once"""
|
||||
# Basic old conversions
|
||||
if config_conversion_version() < 1:
|
||||
logging.info("Config conversion set 1")
|
||||
# Convert auto-sort
|
||||
if auto_sort() == "0":
|
||||
auto_sort.set("")
|
||||
elif auto_sort() == "1":
|
||||
auto_sort.set("avg_age asc")
|
||||
|
||||
# Convert old series/date/movie sorters
|
||||
if not sorters_converted():
|
||||
sabnzbd.misc.convert_sorter_settings()
|
||||
sorters_converted.set(True)
|
||||
|
||||
# Convert duplicate settings
|
||||
if no_series_dupes():
|
||||
no_smart_dupes.set(no_series_dupes())
|
||||
no_series_dupes.set(0)
|
||||
|
||||
# Convert history retention setting
|
||||
if history_retention():
|
||||
sabnzbd.misc.convert_history_retention()
|
||||
history_retention.set("")
|
||||
|
||||
# Add hostname to the whitelist
|
||||
if not host_whitelist():
|
||||
host_whitelist.set(socket.gethostname())
|
||||
|
||||
# Set cache limit for new users
|
||||
if not cache_limit():
|
||||
cache_limit.set(sabnzbd.misc.get_cache_limit())
|
||||
|
||||
# Done
|
||||
config_conversion_version.set(1)
|
||||
|
||||
# url_base conversion
|
||||
if config_conversion_version() < 2:
|
||||
logging.info("Config conversion set 2")
|
||||
if url_base() == "/sabnzbd":
|
||||
url_base.set("")
|
||||
|
||||
# Done
|
||||
config_conversion_version.set(2)
|
||||
|
||||
@@ -101,6 +101,7 @@ SOFT_QUEUE_LIMIT = 0.5
|
||||
# Percentage of cache to use before adding file to assembler
|
||||
ASSEMBLER_WRITE_THRESHOLD = 5
|
||||
NNTP_BUFFER_SIZE = int(800 * KIBI)
|
||||
NTTP_MAX_BUFFER_SIZE = int(10 * MEBI)
|
||||
|
||||
REPAIR_PRIORITY = 3
|
||||
FORCE_PRIORITY = 2
|
||||
|
||||
@@ -604,6 +604,5 @@ def unpack_history_info(item: sqlite3.Row) -> Dict[str, Any]:
|
||||
|
||||
|
||||
def scheduled_history_purge():
|
||||
logging.info("Scheduled history purge")
|
||||
with HistoryDB() as history_db:
|
||||
history_db.auto_history_purge()
|
||||
|
||||
@@ -27,7 +27,6 @@ files to the job-name in the queue if the filename looks obfuscated
|
||||
Based on work by P1nGu1n
|
||||
|
||||
"""
|
||||
|
||||
import hashlib
|
||||
import logging
|
||||
import os
|
||||
@@ -169,21 +168,29 @@ def is_probably_obfuscated(myinputfilename: str) -> bool:
|
||||
return True # default is obfuscated
|
||||
|
||||
|
||||
def first_file_is_much_bigger(filelist):
|
||||
# returns True if first file is much bigger than second file
|
||||
# Note: input parameter filelist must ordered on size!
|
||||
def get_biggest_file(filelist: List[str]) -> str:
|
||||
"""Returns biggest file if that file is much bigger than the other files
|
||||
If only one file exists, return that. If no file, return None
|
||||
Note: the files in filelist must exist, because their sizes on disk are checked"""
|
||||
|
||||
# sort from big to small
|
||||
filelist = sorted(filelist, key=os.path.getsize)[::-1] # reversed, so big to small. Format [start:stop:step]
|
||||
try:
|
||||
factor = os.path.getsize(filelist[0]) / os.path.getsize(filelist[1])
|
||||
if factor > 3:
|
||||
return True
|
||||
return filelist[0]
|
||||
else:
|
||||
return False
|
||||
except:
|
||||
# no second file at all
|
||||
return True
|
||||
if len(filelist) == 1:
|
||||
# the only file, so biggest
|
||||
return filelist[0]
|
||||
else:
|
||||
# no existing file(s)
|
||||
return None
|
||||
|
||||
|
||||
def deobfuscate(nzo, filelist: List[str], usefulname: str):
|
||||
def deobfuscate(nzo, filelist: List[str], usefulname: str) -> List[str]:
|
||||
"""
|
||||
For files in filelist:
|
||||
1. if a file has no meaningful extension, add it (for example ".txt" or ".png")
|
||||
@@ -225,69 +232,60 @@ def deobfuscate(nzo, filelist: List[str], usefulname: str):
|
||||
nzo: sabnzbd.nzbstuff.NzbObject
|
||||
|
||||
# to be sure, only keep really existing files and remove any duplicates:
|
||||
filelist = set(f for f in filelist if os.path.isfile(f))
|
||||
filtered_filelist = list(set(f for f in filelist if os.path.isfile(f)))
|
||||
|
||||
# Do not deobfuscate/rename anything if there is a typical DVD or Bluray directory:
|
||||
ignored_movie_folders_with_dir_sep = tuple(os.path.sep + f + os.path.sep for f in IGNORED_MOVIE_FOLDERS)
|
||||
match_ignored_movie_folders = [f for f in filelist if match_str(f, ignored_movie_folders_with_dir_sep)]
|
||||
match_ignored_movie_folders = [f for f in filtered_filelist if match_str(f, ignored_movie_folders_with_dir_sep)]
|
||||
if match_ignored_movie_folders:
|
||||
logging.info(
|
||||
"Skipping deobfuscation because of DVD/Bluray directory name(s), like: %s",
|
||||
str(match_ignored_movie_folders)[:200],
|
||||
)
|
||||
nzo.set_unpack_info("Deobfuscate", T("Deobfuscate skipped due to DVD/Bluray directories"))
|
||||
return
|
||||
return filtered_filelist
|
||||
|
||||
# If needed, add a useful extension (by looking at file contents)
|
||||
# Example: if 'kjladsflkjadf.adsflkjads' is probably a PNG, rename to 'kjladsflkjadf.adsflkjads.png'
|
||||
newlist = []
|
||||
new_filelist = []
|
||||
nr_ext_renamed = 0
|
||||
for file in filelist:
|
||||
for file in filtered_filelist:
|
||||
if file_extension.has_popular_extension(file):
|
||||
# common extension, like .doc or .iso, so assume OK and change nothing
|
||||
logging.debug("Extension of %s looks common", file)
|
||||
newlist.append(file)
|
||||
new_filelist.append(file)
|
||||
else:
|
||||
# uncommon (so: obfuscated) extension
|
||||
new_extension_to_add = file_extension.what_is_most_likely_extension(file)
|
||||
if new_extension_to_add:
|
||||
if new_extension_to_add := file_extension.what_is_most_likely_extension(file):
|
||||
new_name = get_unique_filename("%s%s" % (file, new_extension_to_add))
|
||||
logging.info("Deobfuscate renaming (adding extension) %s to %s", file, new_name)
|
||||
renamer(file, new_name)
|
||||
newlist.append(new_name)
|
||||
# Use output of renamer, just in case it's somehow modified by sanitization
|
||||
new_filelist.append(renamer(file, new_name))
|
||||
nr_ext_renamed += 1
|
||||
else:
|
||||
# no new extension found
|
||||
newlist.append(file)
|
||||
new_filelist.append(file)
|
||||
|
||||
if nr_ext_renamed:
|
||||
nzo.set_unpack_info("Deobfuscate", T("Deobfuscate corrected the extension of %d file(s)") % nr_ext_renamed)
|
||||
filelist = newlist
|
||||
filtered_filelist = new_filelist
|
||||
|
||||
logging.debug("Trying to see if there are qualifying files to be deobfuscated")
|
||||
nr_files_renamed = 0
|
||||
|
||||
# We pick the biggest file ... probably the most important file
|
||||
# so sort filelist on size:
|
||||
filelist = sorted(filelist, key=os.path.getsize, reverse=True)
|
||||
if filelist:
|
||||
biggest_file = filelist[0]
|
||||
else:
|
||||
biggest_file = None
|
||||
if not biggest_file or not os.path.isfile(biggest_file):
|
||||
logging.debug("Trying to see if there are qualifying files to be deobfuscated")
|
||||
|
||||
if not (biggest_file := get_biggest_file(filtered_filelist)) or not os.path.isfile(biggest_file):
|
||||
# no file found, which is weird
|
||||
logging.info("No file given, or not found (%s)", biggest_file)
|
||||
return
|
||||
logging.info("No biggest file found, or not found (%s)", biggest_file)
|
||||
return filtered_filelist
|
||||
|
||||
logging.debug("Deobfuscate inspecting biggest file%s", biggest_file)
|
||||
if not first_file_is_much_bigger(filelist):
|
||||
logging.debug("%s excluded from deobfuscation because it is not much bigger than other file(s)", biggest_file)
|
||||
return
|
||||
if get_ext(biggest_file) in EXCLUDED_FILE_EXTS:
|
||||
logging.debug("%s excluded from deobfuscation because of excluded extension", biggest_file)
|
||||
return
|
||||
return filtered_filelist
|
||||
if not is_probably_obfuscated(biggest_file):
|
||||
logging.debug("%s excluded from deobfuscation because filename does not look obfuscated", biggest_file)
|
||||
return
|
||||
return filtered_filelist
|
||||
|
||||
# if we get here, the biggest_file is relatively big, has no excluded extension, and is obfuscated
|
||||
# Rename the biggest_file and make sure the new filename is unique
|
||||
@@ -295,20 +293,89 @@ def deobfuscate(nzo, filelist: List[str], usefulname: str):
|
||||
# construct new_name: <path><usefulname><extension>
|
||||
new_name = get_unique_filename("%s%s" % (os.path.join(path, usefulname), get_ext(biggest_file)))
|
||||
logging.info("Deobfuscate renaming %s to %s", biggest_file, new_name)
|
||||
renamer(biggest_file, new_name)
|
||||
filtered_filelist.remove(biggest_file)
|
||||
filtered_filelist.append(renamer(biggest_file, new_name))
|
||||
nr_files_renamed += 1
|
||||
|
||||
# Now find other files with the same basename in filelist, and rename them in the same way:
|
||||
basedirfile = get_basename(biggest_file) # something like "/home/this/myiso"
|
||||
for otherfile in filelist:
|
||||
for otherfile in filtered_filelist[:]:
|
||||
if otherfile.startswith(basedirfile) and os.path.isfile(otherfile):
|
||||
# yes, same basedirfile, only different ending
|
||||
remaining_ending = otherfile.replace(basedirfile, "") # might be long ext, like ".dut.srt" or "-sample.iso"
|
||||
new_name = get_unique_filename("%s%s" % (os.path.join(path, usefulname), remaining_ending))
|
||||
logging.info("Deobfuscate renaming %s to %s", otherfile, new_name)
|
||||
# Rename and make sure the new filename is unique
|
||||
renamer(otherfile, new_name)
|
||||
filtered_filelist.remove(otherfile)
|
||||
filtered_filelist.append(renamer(otherfile, new_name))
|
||||
nr_files_renamed += 1
|
||||
|
||||
if nr_files_renamed:
|
||||
nzo.set_unpack_info("Deobfuscate", T("Deobfuscate renamed %d file(s)") % nr_files_renamed)
|
||||
|
||||
return filtered_filelist
|
||||
|
||||
|
||||
def without_extension(fullpathfilename: str) -> str:
|
||||
"""Returns full file path, without extension
|
||||
So '/some/dir/somefile.bin' results in '/some/dir/somefile'"""
|
||||
return os.path.splitext(fullpathfilename)[0]
|
||||
|
||||
|
||||
def deobfuscate_subtitles(nzo, filelist: List[str]):
|
||||
"""
|
||||
input:
|
||||
nzo, so we can update result via set_unpack_info()
|
||||
filelist must be a List of existing filenames
|
||||
|
||||
Find .srt subtitle files, and rename to match the biggest file (if there is a clearly biggest file)
|
||||
|
||||
Some_Big_File_2024.avi # biggest file
|
||||
Some_Big_File_2024.srt # no renaming wanted
|
||||
Some_Big_File_2024.ger.srt # no renaming wanted
|
||||
14_English.srt # to be renamed
|
||||
dut.srt # to be renamed
|
||||
Something.else.txt # no renaming wanted, because no .srt
|
||||
|
||||
will result in
|
||||
|
||||
Some_Big_File_2024.avi
|
||||
Some_Big_File_2024.srt
|
||||
Some_Big_File_2024.ger.srt
|
||||
Some_Big_File_2024.14_English.srt # renamed by prepending base name
|
||||
Some_Big_File_2024.dut.srt # renamed by prepending base name
|
||||
Something.else.txt
|
||||
|
||||
"""
|
||||
|
||||
# Can't be imported directly due to circular import
|
||||
nzo: sabnzbd.nzbstuff.NzbObject
|
||||
|
||||
# find .srt files
|
||||
if not (srt_files := [f for f in filelist if f.endswith(".srt")]):
|
||||
logging.debug("No .srt files found, so nothing to do")
|
||||
return None
|
||||
|
||||
# check there is a clearly biggest file
|
||||
if not (biggest_file := get_biggest_file(filelist)):
|
||||
logging.debug("No clearly biggest file found, so no subtitle renaming feasible")
|
||||
return None
|
||||
|
||||
biggest_file_without_ext = without_extension(biggest_file) # get full path base name of biggest file
|
||||
logging.debug(f"Using as base filename: {biggest_file_without_ext}")
|
||||
|
||||
# handle srt files one by one
|
||||
nr_files_renamed = 0
|
||||
for srt_file in srt_files:
|
||||
if without_extension(srt_file).startswith(biggest_file_without_ext):
|
||||
# already the same start as the biggest file, so skip
|
||||
continue
|
||||
# not the same start, so rename the srt file
|
||||
nr_files_renamed += 1
|
||||
filename_only = os.path.basename(srt_file) # like "14_English.srt", so without path
|
||||
# now put that name after the base name of the biggestfile:
|
||||
new_full_name = f"{biggest_file_without_ext}.{filename_only}" # put (renamed) srt behind that
|
||||
unique_filename = get_unique_filename(new_full_name) # make sure it's really unique
|
||||
renamer(srt_file, unique_filename) # ... and rename actual file on disk
|
||||
if nr_files_renamed > 0:
|
||||
# and put it into history to be shown in GUI
|
||||
nzo.set_unpack_info("Deobfuscate", T("Deobfuscate renamed %d subtitle file(s)") % nr_files_renamed)
|
||||
|
||||
@@ -165,11 +165,12 @@ class Server:
|
||||
self.reset_article_queue()
|
||||
|
||||
def stop(self):
|
||||
"""Remove all connections from server"""
|
||||
"""Remove all connections and cached articles from server"""
|
||||
for nw in self.idle_threads:
|
||||
sabnzbd.Downloader.remove_socket(nw)
|
||||
nw.hard_reset()
|
||||
self.idle_threads = set()
|
||||
self.reset_article_queue()
|
||||
|
||||
@synchronized(DOWNLOADER_LOCK)
|
||||
def get_article(self):
|
||||
@@ -195,8 +196,11 @@ class Server:
|
||||
self.next_article_search = time.time() + _SERVER_CHECK_DELAY
|
||||
return None
|
||||
|
||||
@synchronized(DOWNLOADER_LOCK)
|
||||
def reset_article_queue(self):
|
||||
logging.debug("Resetting article queue for %s", self)
|
||||
"""Reset articles queued for the Server. Locked to prevent
|
||||
articles getting stuck in the Server when enabled/disabled"""
|
||||
logging.debug("Resetting article queue for %s (%s)", self, self.article_queue)
|
||||
for article in self.article_queue:
|
||||
sabnzbd.NzbQueue.reset_try_lists(article)
|
||||
self.article_queue = []
|
||||
@@ -211,7 +215,7 @@ class Server:
|
||||
|
||||
def request_addrinfo_blocking(self):
|
||||
"""Blocking attempt to run getaddrinfo() and Happy Eyeballs for specified server"""
|
||||
logging.debug("Retrieving server address information for %s", self.host)
|
||||
logging.debug("Retrieving server address information for %s", self)
|
||||
|
||||
# Disable IPV6 if desired
|
||||
family = socket.AF_UNSPEC
|
||||
@@ -229,7 +233,7 @@ class Server:
|
||||
sabnzbd.Downloader.wakeup()
|
||||
|
||||
def __repr__(self):
|
||||
return "<Server: %s:%s>" % (self.host, self.port)
|
||||
return "<Server: id=%s, host=%s:%s>" % (self.id, self.host, self.port)
|
||||
|
||||
|
||||
class Downloader(Thread):
|
||||
@@ -329,7 +333,6 @@ class Downloader(Thread):
|
||||
create = False
|
||||
server.newid = newserver
|
||||
server.restart = True
|
||||
server.reset_article_queue()
|
||||
self.server_restarts += 1
|
||||
break
|
||||
|
||||
@@ -510,8 +513,8 @@ class Downloader(Thread):
|
||||
# Handle broken articles directly
|
||||
if not data_view:
|
||||
if not article.search_new_server():
|
||||
sabnzbd.NzbQueue.register_article(article, success=False)
|
||||
article.nzf.nzo.increase_bad_articles_counter("missing_articles")
|
||||
sabnzbd.NzbQueue.register_article(article, success=False)
|
||||
return
|
||||
|
||||
# Decode and send to article cache
|
||||
@@ -704,9 +707,14 @@ class Downloader(Thread):
|
||||
except ssl.SSLWantReadError:
|
||||
return
|
||||
except (ConnectionError, ConnectionAbortedError):
|
||||
# The ConnectionAbortedError is thrown by sabctools in case of fatal SSL-layer problems
|
||||
# The ConnectionAbortedError is also thrown by sabctools in case of fatal SSL-layer problems
|
||||
self.__reset_nw(nw, "Server closed connection", wait=False)
|
||||
return
|
||||
except BufferError:
|
||||
# The BufferError is thrown when exceeding maximum buffer size
|
||||
# Make sure to discard the article
|
||||
self.__reset_nw(nw, "Maximum data buffer size exceeded", wait=False, retry_article=False)
|
||||
return
|
||||
|
||||
article = nw.article
|
||||
server = nw.server
|
||||
@@ -960,14 +968,9 @@ class Downloader(Thread):
|
||||
self.decode(nw.article)
|
||||
nw.article.tries = 0
|
||||
else:
|
||||
# Retry again with the same server
|
||||
logging.debug(
|
||||
"Re-adding article %s from %s to server %s",
|
||||
nw.article.article,
|
||||
nw.article.nzf.filename,
|
||||
nw.article.fetcher,
|
||||
)
|
||||
nw.article.fetcher.article_queue.append(nw.article)
|
||||
# Allow all servers again on this server
|
||||
# Do not use the article_queue, as the server could already have been disabled when we get here!
|
||||
sabnzbd.NzbQueue.reset_try_lists(nw.article)
|
||||
|
||||
# Reset connection object
|
||||
nw.hard_reset(wait)
|
||||
|
||||
@@ -395,9 +395,8 @@ def Raiser(root: str = "", **kwargs):
|
||||
if kwargs:
|
||||
root = "%s?%s" % (root, urllib.parse.urlencode(kwargs))
|
||||
|
||||
# Optionally add the leading /sabnzbd/ (or what the user set)
|
||||
if not root.startswith(cfg.url_base()):
|
||||
root = cherrypy.request.script_name + root
|
||||
# Add the leading /sabnzbd/ (or what the user set)
|
||||
root = cfg.url_base() + root
|
||||
|
||||
# Log the redirect
|
||||
if cfg.api_logging():
|
||||
@@ -434,6 +433,7 @@ class MainPage:
|
||||
|
||||
info["cpumodel"] = get_cpu_name()
|
||||
info["cpusimd"] = sabnzbd.decoder.SABCTOOLS_SIMD
|
||||
info["docker"] = "Docker" if sabnzbd.DOCKER else ""
|
||||
|
||||
# Have logout only with HTML and if inet=5, only when we are external
|
||||
info["have_logout"] = (
|
||||
@@ -641,7 +641,7 @@ class LoginPage:
|
||||
|
||||
# Check if there's even a username/password set
|
||||
if check_login():
|
||||
raise Raiser(cherrypy.request.script_name + "/")
|
||||
raise Raiser("/")
|
||||
|
||||
# Check login info
|
||||
if kwargs.get("username") == cfg.username() and kwargs.get("password") == cfg.password():
|
||||
@@ -650,7 +650,7 @@ class LoginPage:
|
||||
# Log the success
|
||||
logging.info("Successful login from %s", cherrypy.request.remote_label)
|
||||
# Redirect
|
||||
raise Raiser(cherrypy.request.script_name + "/")
|
||||
raise Raiser("/")
|
||||
elif kwargs.get("username") or kwargs.get("password"):
|
||||
info["error"] = T("Authentication failed, check username/password.")
|
||||
# Warn about the potential security problem
|
||||
|
||||
@@ -30,7 +30,7 @@ from typing import Optional, Tuple, Union
|
||||
|
||||
import sabnzbd
|
||||
import sabnzbd.cfg
|
||||
from sabnzbd.constants import DEF_NETWORKING_TIMEOUT, NNTP_BUFFER_SIZE
|
||||
from sabnzbd.constants import DEF_NETWORKING_TIMEOUT, NNTP_BUFFER_SIZE, NTTP_MAX_BUFFER_SIZE
|
||||
from sabnzbd.encoding import utob, ubtou
|
||||
from sabnzbd.happyeyeballs import AddrInfo
|
||||
from sabnzbd.decorators import synchronized, DOWNLOADER_LOCK
|
||||
@@ -230,6 +230,10 @@ class NewsWrapper:
|
||||
|
||||
def increase_data_buffer(self):
|
||||
"""Resize the buffer in the extremely unlikely case that it overflows"""
|
||||
# Sanity check before we go any further
|
||||
if len(self.data) > NTTP_MAX_BUFFER_SIZE:
|
||||
raise BufferError("Maximum data buffer size exceeded")
|
||||
|
||||
# Input needs to be integer, floats don't work
|
||||
new_buffer = sabctools.bytearray_malloc(len(self.data) + NNTP_BUFFER_SIZE // 2)
|
||||
new_buffer[: len(self.data)] = self.data
|
||||
|
||||
@@ -898,8 +898,8 @@ class NzbQueue:
|
||||
for article in nzf.articles[:]:
|
||||
if article.all_servers_in_try_list(active_servers):
|
||||
logging.debug("Removing article %s with bad trylist in file %s", article, nzf.filename)
|
||||
sabnzbd.NzbQueue.register_article(article, success=False)
|
||||
nzo.increase_bad_articles_counter("missing_articles")
|
||||
sabnzbd.NzbQueue.register_article(article, success=False)
|
||||
|
||||
logging.info("Resetting bad trylist for file %s in job %s", nzf.filename, nzo.final_name)
|
||||
nzf.reset_try_list()
|
||||
|
||||
@@ -1592,7 +1592,8 @@ class NzbObject(TryList):
|
||||
|
||||
@synchronized(NZO_LOCK)
|
||||
def increase_bad_articles_counter(self, bad_article_type: str):
|
||||
"""Record information about bad articles"""
|
||||
"""Record information about bad articles. Should be called before
|
||||
register_article, which triggers the availability check."""
|
||||
if bad_article_type not in self.nzo_info:
|
||||
self.nzo_info[bad_article_type] = 0
|
||||
self.nzo_info[bad_article_type] += 1
|
||||
|
||||
@@ -486,12 +486,12 @@ def process_job(nzo: NzbObject) -> bool:
|
||||
if all_ok:
|
||||
# Move any (left-over) files to destination
|
||||
nzo.status = Status.MOVING
|
||||
nzo.set_action_line(T("Moving"), "...")
|
||||
for root, _, files in os.walk(nzo.download_path):
|
||||
if not root.endswith(JOB_ADMIN):
|
||||
for file in files:
|
||||
path = os.path.join(root, file)
|
||||
new_path = path.replace(nzo.download_path, tmp_workdir_complete)
|
||||
nzo.set_action_line(T("Moving"), file)
|
||||
ok, new_path = move_to_path(path, new_path)
|
||||
if new_path:
|
||||
newfiles.append(new_path)
|
||||
@@ -573,7 +573,9 @@ def process_job(nzo: NzbObject) -> bool:
|
||||
if cfg.deobfuscate_final_filenames():
|
||||
# Deobfuscate the filenames
|
||||
logging.info("Running deobfuscate")
|
||||
deobfuscate.deobfuscate(nzo, newfiles, nzo.final_name)
|
||||
newfiles = deobfuscate.deobfuscate(nzo, newfiles, nzo.final_name)
|
||||
# Deobfuscate the subtitles
|
||||
deobfuscate.deobfuscate_subtitles(nzo, newfiles)
|
||||
|
||||
# Run the user script
|
||||
if script_path := make_script_path(script):
|
||||
|
||||
@@ -6,5 +6,5 @@
|
||||
# You MUST use double quotes (so " and not ')
|
||||
# Do not forget to update the appdata file for every major release!
|
||||
|
||||
__version__ = "4.3.3Beta2"
|
||||
__version__ = "4.4.0Alpha1"
|
||||
__baseline__ = "unknown"
|
||||
|
||||
@@ -7,7 +7,7 @@ strict:
|
||||
stages:
|
||||
- name: get_files format (json)
|
||||
request:
|
||||
url: "http://{SAB_HOST}:{SAB_PORT}/sabnzbd/api"
|
||||
url: "http://{SAB_HOST}:{SAB_PORT}/api"
|
||||
method: GET
|
||||
params:
|
||||
mode: get_files
|
||||
@@ -39,7 +39,7 @@ strict:
|
||||
stages:
|
||||
- name: get_files format (xml)
|
||||
request:
|
||||
url: "http://{SAB_HOST}:{SAB_PORT}/sabnzbd/api"
|
||||
url: "http://{SAB_HOST}:{SAB_PORT}/api"
|
||||
method: GET
|
||||
params:
|
||||
mode: get_files
|
||||
|
||||
@@ -7,7 +7,7 @@ strict:
|
||||
stages:
|
||||
- name: history format empty
|
||||
request:
|
||||
url: http://{SAB_HOST}:{SAB_PORT}/sabnzbd/api
|
||||
url: http://{SAB_HOST}:{SAB_PORT}/api
|
||||
method: GET
|
||||
params:
|
||||
mode: history
|
||||
@@ -38,7 +38,7 @@ test_name: Check empty history format (xml output)
|
||||
stages:
|
||||
- name: history format empty
|
||||
request:
|
||||
url: http://{SAB_HOST}:{SAB_PORT}/sabnzbd/api
|
||||
url: http://{SAB_HOST}:{SAB_PORT}/api
|
||||
method: GET
|
||||
params:
|
||||
mode: history
|
||||
|
||||
@@ -7,7 +7,7 @@ strict:
|
||||
stages:
|
||||
- name: history format single entry
|
||||
request:
|
||||
url: http://{SAB_HOST}:{SAB_PORT}/sabnzbd/api
|
||||
url: http://{SAB_HOST}:{SAB_PORT}/api
|
||||
method: GET
|
||||
params:
|
||||
mode: history
|
||||
@@ -70,7 +70,7 @@ test_name: Check general history format (xml output)
|
||||
stages:
|
||||
- name: history format single entry
|
||||
request:
|
||||
url: http://{SAB_HOST}:{SAB_PORT}/sabnzbd/api
|
||||
url: http://{SAB_HOST}:{SAB_PORT}/api
|
||||
method: GET
|
||||
params:
|
||||
mode: history
|
||||
@@ -145,7 +145,7 @@ strict:
|
||||
stages:
|
||||
- name: history slot count
|
||||
request:
|
||||
url: "http://{SAB_HOST}:{SAB_PORT}/sabnzbd/api"
|
||||
url: "http://{SAB_HOST}:{SAB_PORT}/api"
|
||||
method: GET
|
||||
params:
|
||||
mode: history
|
||||
|
||||
@@ -7,7 +7,7 @@ strict:
|
||||
stages:
|
||||
- name: queue format empty
|
||||
request:
|
||||
url: "http://{SAB_HOST}:{SAB_PORT}/sabnzbd/api"
|
||||
url: "http://{SAB_HOST}:{SAB_PORT}/api"
|
||||
method: GET
|
||||
params:
|
||||
mode: queue
|
||||
@@ -61,7 +61,7 @@ test_name: Check empty queue format (xml output)
|
||||
stages:
|
||||
- name: queue format empty
|
||||
request:
|
||||
url: "http://{SAB_HOST}:{SAB_PORT}/sabnzbd/api"
|
||||
url: "http://{SAB_HOST}:{SAB_PORT}/api"
|
||||
method: GET
|
||||
params:
|
||||
mode: queue
|
||||
|
||||
@@ -7,7 +7,7 @@ strict:
|
||||
stages:
|
||||
- name: queue format single entry
|
||||
request:
|
||||
url: "http://{SAB_HOST}:{SAB_PORT}/sabnzbd/api"
|
||||
url: "http://{SAB_HOST}:{SAB_PORT}/api"
|
||||
method: GET
|
||||
params:
|
||||
mode: queue
|
||||
@@ -81,7 +81,7 @@ test_name: Check general queue format (xml output)
|
||||
stages:
|
||||
- name: queue format single entry
|
||||
request:
|
||||
url: "http://{SAB_HOST}:{SAB_PORT}/sabnzbd/api"
|
||||
url: "http://{SAB_HOST}:{SAB_PORT}/api"
|
||||
method: GET
|
||||
params:
|
||||
mode: queue
|
||||
|
||||
@@ -7,7 +7,7 @@ strict:
|
||||
stages:
|
||||
- name: server_stats (json output)
|
||||
request:
|
||||
url: "http://{SAB_HOST}:{SAB_PORT}/sabnzbd/api"
|
||||
url: "http://{SAB_HOST}:{SAB_PORT}/api"
|
||||
method: GET
|
||||
params:
|
||||
mode: server_stats
|
||||
@@ -31,7 +31,7 @@ stages:
|
||||
|
||||
- name: server_stats (xml output)
|
||||
request:
|
||||
url: "http://{SAB_HOST}:{SAB_PORT}/sabnzbd/api"
|
||||
url: "http://{SAB_HOST}:{SAB_PORT}/api"
|
||||
method: GET
|
||||
params:
|
||||
mode: server_stats
|
||||
|
||||
@@ -7,7 +7,7 @@ strict:
|
||||
stages:
|
||||
- name: version (json output)
|
||||
request:
|
||||
url: http://{SAB_HOST}:{SAB_PORT}/sabnzbd/api
|
||||
url: http://{SAB_HOST}:{SAB_PORT}/api
|
||||
method: GET
|
||||
params:
|
||||
mode: version
|
||||
@@ -22,7 +22,7 @@ stages:
|
||||
|
||||
- name: version (xml output)
|
||||
request:
|
||||
url: http://{SAB_HOST}:{SAB_PORT}/sabnzbd/api
|
||||
url: http://{SAB_HOST}:{SAB_PORT}/api
|
||||
method: GET
|
||||
params:
|
||||
mode: version
|
||||
|
||||
@@ -3,7 +3,7 @@ pytest==7.4.4
|
||||
setuptools
|
||||
selenium
|
||||
requests
|
||||
pyfakefs>=5.4.0
|
||||
pyfakefs>=5.6.0
|
||||
werkzeug<2.1.0 # Breaks httpbin in newer versions
|
||||
pytest-httpbin
|
||||
pytest-httpserver
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
"""
|
||||
Testing SABnzbd deobfuscate module
|
||||
"""
|
||||
|
||||
import os.path
|
||||
import random
|
||||
import shutil
|
||||
import zipfile
|
||||
@@ -404,3 +404,83 @@ class TestDeobfuscateFinalResult:
|
||||
assert not os.path.isfile(os.path.join(work_dir, "twentymb.bin")) # should now be gone
|
||||
|
||||
shutil.rmtree(work_dir)
|
||||
|
||||
def test_get_biggest_file(self):
|
||||
# Create directory (with a random directory name)
|
||||
dirname = os.path.join(SAB_CACHE_DIR, "testdir" + str(random.randint(10000, 99999)))
|
||||
os.mkdir(dirname)
|
||||
|
||||
smallfile1 = os.path.join(dirname, "AAAA.bin")
|
||||
create_small_file(smallfile1)
|
||||
assert os.path.isfile(smallfile1)
|
||||
|
||||
bigfile = os.path.join(dirname, "KKKK.bin")
|
||||
create_big_file(bigfile)
|
||||
assert os.path.isfile(bigfile)
|
||||
|
||||
smallfile2 = os.path.join(dirname, "LLLL.bin")
|
||||
create_small_file(smallfile2)
|
||||
assert os.path.isfile(smallfile2)
|
||||
|
||||
# empty list should return None
|
||||
assert not get_biggest_file([])
|
||||
|
||||
# just 1 file as input is always the biggest file
|
||||
assert get_biggest_file([smallfile1]) == smallfile1 # just 1 file, so that's the biggest
|
||||
|
||||
# files with same small size, so no biggest file
|
||||
assert not get_biggest_file([smallfile1, smallfile2])
|
||||
|
||||
# now including the bigger file
|
||||
assert get_biggest_file([smallfile1, smallfile2, bigfile]) == bigfile
|
||||
|
||||
shutil.rmtree(dirname)
|
||||
|
||||
def test_deobfuscate_subtitles(self):
|
||||
# input: a big file, and srt file(s), and non-related files
|
||||
# result: srt file renamed according to the big file
|
||||
|
||||
"""Wrapper to avoid the need for NZO"""
|
||||
nzo = mock.Mock()
|
||||
nzo.set_unpack_info = mock.Mock()
|
||||
|
||||
# Create directory (with a random directory name)
|
||||
dirname = os.path.join(SAB_CACHE_DIR, "testdir" + str(random.randint(10000, 99999)))
|
||||
os.mkdir(dirname)
|
||||
|
||||
bigfile = os.path.join(dirname, "bigfile.avi")
|
||||
create_big_file(bigfile)
|
||||
assert os.path.isfile(bigfile)
|
||||
|
||||
already_correct_srt = os.path.join(dirname, "bigfile.srt")
|
||||
create_small_file(already_correct_srt)
|
||||
assert os.path.isfile(already_correct_srt)
|
||||
|
||||
small_srt = os.path.join(dirname, "dut.srt")
|
||||
create_small_file(small_srt)
|
||||
assert os.path.isfile(small_srt)
|
||||
expected_small_srt = os.path.join(dirname, "bigfile.dut.srt")
|
||||
|
||||
small_txt = os.path.join(dirname, "readme.txt")
|
||||
create_small_file(small_txt)
|
||||
assert os.path.isfile(small_txt)
|
||||
|
||||
# go
|
||||
deobfuscate_subtitles(nzo, [bigfile, already_correct_srt, small_srt, small_txt])
|
||||
|
||||
assert os.path.isfile(bigfile) # unchanged
|
||||
assert os.path.isfile(already_correct_srt) # unchanged
|
||||
assert not os.path.isfile(small_srt) # should be renamed to:
|
||||
assert os.path.isfile(expected_small_srt)
|
||||
assert os.path.isfile(small_txt) # unchanged
|
||||
|
||||
# and if we go again ... nothing should happen: all files are already correct
|
||||
deobfuscate_subtitles(nzo, [bigfile, already_correct_srt, expected_small_srt, small_txt])
|
||||
|
||||
assert os.path.isfile(bigfile) # unchanged
|
||||
assert os.path.isfile(already_correct_srt) # unchanged
|
||||
assert not os.path.isfile(small_srt) # should be renamed to:
|
||||
assert os.path.isfile(expected_small_srt)
|
||||
assert os.path.isfile(small_txt) # unchanged
|
||||
|
||||
shutil.rmtree(dirname)
|
||||
|
||||
@@ -912,11 +912,9 @@ class TestCreateAllDirs(ffs.TestCase, PermissionCheckerHelper):
|
||||
def _permissions_runner(self, test_base, perms_base="0700", apply_permissions=True):
|
||||
# Create base directory and set the base permissions
|
||||
perms_base_int = int(perms_base, 8)
|
||||
self.fs.create_dir(test_base, perms_base_int)
|
||||
self.fs.create_dir(test_base, perms_base_int, apply_umask=False)
|
||||
assert os.path.exists(test_base) is True
|
||||
# Account for pyfakefs (>= 5.4.0) always applying the fake fs umask when creating dirs
|
||||
perms_base_int_umasked = perms_base_int & ~self.fs.umask
|
||||
self.assert_dir_perms(test_base, perms_base_int_umasked)
|
||||
self.assert_dir_perms(test_base, perms_base_int)
|
||||
|
||||
# Create directories with permissions
|
||||
new_dir = os.path.join(test_base, "se 1", "ep1")
|
||||
@@ -930,7 +928,7 @@ class TestCreateAllDirs(ffs.TestCase, PermissionCheckerHelper):
|
||||
# Get the current permissions, since os.mkdir masks that out
|
||||
perms_test_int = int("0777", 8) & ~sabnzbd.ORG_UMASK
|
||||
self.assert_dir_perms(new_dir, perms_test_int)
|
||||
self.assert_dir_perms(test_base, perms_base_int_umasked)
|
||||
self.assert_dir_perms(test_base, perms_base_int)
|
||||
|
||||
|
||||
class TestSetPermissionsWin(ffs.TestCase):
|
||||
@@ -947,9 +945,7 @@ class TestSetPermissions(ffs.TestCase, PermissionCheckerHelper):
|
||||
self.setUpPyfakefs()
|
||||
self.fs.path_separator = "/"
|
||||
self.fs.is_case_sensitive = True
|
||||
# All-permissive umask as a workaround for changes in pyfakefs (>= 5.4.0),
|
||||
# causing it to always take the umask into account when creating dirs
|
||||
self.fs.umask = int("0000", 8) # rwxrwxrwx
|
||||
self.fs.umask = int("0022", 8) # rwxr-xr-x
|
||||
|
||||
def _runner(self, perms_before_test):
|
||||
"""
|
||||
@@ -970,7 +966,7 @@ class TestSetPermissions(ffs.TestCase, PermissionCheckerHelper):
|
||||
|
||||
# Setup and verify fake dir
|
||||
test_dir = "/test"
|
||||
self.fs.create_dir(test_dir, perms_before_test)
|
||||
self.fs.create_dir(test_dir, perms_before_test, apply_umask=False)
|
||||
assert os.path.exists(test_dir) is True
|
||||
self.assert_dir_perms(test_dir, perms_before_test)
|
||||
|
||||
@@ -987,10 +983,10 @@ class TestSetPermissions(ffs.TestCase, PermissionCheckerHelper):
|
||||
# Create the folder, so it has the expected permissions
|
||||
if not os.path.exists(basefolder):
|
||||
try:
|
||||
self.fs.create_dir(basefolder, perms_before_test)
|
||||
self.fs.create_dir(basefolder, perms_before_test, apply_umask=False)
|
||||
except PermissionError:
|
||||
ffs.set_uid(0)
|
||||
self.fs.create_file(file, perms_before_test)
|
||||
self.fs.create_file(file, perms_before_test, apply_umask=False)
|
||||
assert os.path.exists(basefolder) is True
|
||||
self.assert_dir_perms(basefolder, perms_before_test)
|
||||
|
||||
@@ -1001,10 +997,10 @@ class TestSetPermissions(ffs.TestCase, PermissionCheckerHelper):
|
||||
|
||||
# Then, create the file
|
||||
try:
|
||||
self.fs.create_file(file, file_perms_before_test)
|
||||
self.fs.create_file(file, file_perms_before_test, apply_umask=False)
|
||||
except PermissionError:
|
||||
ffs.set_uid(0)
|
||||
self.fs.create_file(file, file_perms_before_test)
|
||||
self.fs.create_file(file, file_perms_before_test, apply_umask=False)
|
||||
|
||||
assert os.path.exists(file) is True
|
||||
assert stat.filemode(os.stat(file).st_mode)[1:] == stat.filemode(file_perms_before_test)[1:]
|
||||
|
||||
@@ -79,7 +79,7 @@ class TestBasicPages(SABnzbdBaseTest):
|
||||
class TestConfigLogin(SABnzbdBaseTest):
|
||||
def test_login(self):
|
||||
# Test if base page works
|
||||
self.open_page("http://%s:%s/sabnzbd/config/general" % (SAB_HOST, SAB_PORT))
|
||||
self.open_page("http://%s:%s/config/general" % (SAB_HOST, SAB_PORT))
|
||||
|
||||
# Set the username and password
|
||||
username_imp = self.selenium_wrapper(self.driver.find_element, By.CSS_SELECTOR, "input[data-hide='username']")
|
||||
@@ -102,7 +102,7 @@ class TestConfigLogin(SABnzbdBaseTest):
|
||||
pass
|
||||
|
||||
# Open any page and check if we get redirected
|
||||
self.open_page("http://%s:%s/sabnzbd/general" % (SAB_HOST, SAB_PORT))
|
||||
self.open_page("http://%s:%s/general" % (SAB_HOST, SAB_PORT))
|
||||
assert "/login/" in self.driver.current_url
|
||||
|
||||
# Fill nonsense and submit
|
||||
@@ -130,7 +130,7 @@ class TestConfigLogin(SABnzbdBaseTest):
|
||||
self.driver.find_element(By.TAG_NAME, "button").click()
|
||||
|
||||
# Can we now go to the page and empty the settings again?
|
||||
self.open_page("http://%s:%s/sabnzbd/config/general" % (SAB_HOST, SAB_PORT))
|
||||
self.open_page("http://%s:%s/config/general" % (SAB_HOST, SAB_PORT))
|
||||
assert "/login/" not in self.driver.current_url
|
||||
|
||||
# Set the username and password
|
||||
@@ -152,7 +152,7 @@ class TestConfigLogin(SABnzbdBaseTest):
|
||||
pass
|
||||
|
||||
# Open any page and check if we get redirected
|
||||
self.open_page("http://%s:%s/sabnzbd/general" % (SAB_HOST, SAB_PORT))
|
||||
self.open_page("http://%s:%s/general" % (SAB_HOST, SAB_PORT))
|
||||
assert "/login/" not in self.driver.current_url
|
||||
|
||||
|
||||
@@ -161,7 +161,7 @@ class TestConfigCategories(SABnzbdBaseTest):
|
||||
|
||||
def test_page(self):
|
||||
# Test if base page works
|
||||
self.open_page("http://%s:%s/sabnzbd/config/categories" % (SAB_HOST, SAB_PORT))
|
||||
self.open_page("http://%s:%s/config/categories" % (SAB_HOST, SAB_PORT))
|
||||
|
||||
# Add new category
|
||||
self.driver.find_elements(By.NAME, "newname")[1].send_keys("testCat")
|
||||
@@ -189,7 +189,7 @@ class TestConfigRSS(SABnzbdBaseTest):
|
||||
rss_url = httpserver.url_for("/rss_feed.xml")
|
||||
|
||||
# Test if base page works
|
||||
self.open_page("http://%s:%s/sabnzbd/config/rss" % (SAB_HOST, SAB_PORT))
|
||||
self.open_page("http://%s:%s/config/rss" % (SAB_HOST, SAB_PORT))
|
||||
|
||||
# Uncheck enabled-checkbox for new feeds
|
||||
self.selenium_wrapper(
|
||||
@@ -256,7 +256,7 @@ class TestConfigServers(SABnzbdBaseTest):
|
||||
|
||||
def open_config_servers(self):
|
||||
# Test if base page works
|
||||
self.open_page("http://%s:%s/sabnzbd/config/server" % (SAB_HOST, SAB_PORT))
|
||||
self.open_page("http://%s:%s/config/server" % (SAB_HOST, SAB_PORT))
|
||||
self.scroll_to_top()
|
||||
|
||||
# Show advanced options
|
||||
|
||||
@@ -287,7 +287,7 @@ class DownloadFlowBasics(SABnzbdBaseTest):
|
||||
|
||||
def start_wizard(self):
|
||||
# Language-selection
|
||||
self.open_page("http://%s:%s/sabnzbd/wizard/" % (SAB_HOST, SAB_PORT))
|
||||
self.open_page("http://%s:%s/wizard/" % (SAB_HOST, SAB_PORT))
|
||||
self.selenium_wrapper(self.driver.find_element, By.ID, "en").click()
|
||||
self.selenium_wrapper(self.driver.find_element, By.CSS_SELECTOR, "button.btn.btn-default").click()
|
||||
|
||||
@@ -317,7 +317,7 @@ class DownloadFlowBasics(SABnzbdBaseTest):
|
||||
self.selenium_wrapper(self.driver.find_element, By.ID, "next-button").click()
|
||||
self.no_page_crash()
|
||||
check_result = self.selenium_wrapper(self.driver.find_element, By.CLASS_NAME, "quoteBlock").text
|
||||
assert "http://%s:%s/sabnzbd" % (SAB_HOST, SAB_PORT) in check_result
|
||||
assert "http://%s:%s/" % (SAB_HOST, SAB_PORT) in check_result
|
||||
|
||||
# Go to SAB!
|
||||
self.selenium_wrapper(self.driver.find_element, By.CSS_SELECTOR, ".btn.btn-success").click()
|
||||
@@ -342,7 +342,7 @@ class DownloadFlowBasics(SABnzbdBaseTest):
|
||||
os.remove(nzb_path)
|
||||
|
||||
# See how it's doing
|
||||
self.open_page("http://%s:%s/sabnzbd/" % (SAB_HOST, SAB_PORT))
|
||||
self.open_page("http://%s:%s/" % (SAB_HOST, SAB_PORT))
|
||||
|
||||
# We wait for 20 seconds to let it complete
|
||||
for _ in range(20):
|
||||
|
||||
Reference in New Issue
Block a user