Compare commits

..

90 Commits
3.7.0 ... 3.7.2

Author SHA1 Message Date
Safihre
fab36ec008 Set version to 3.7.2 2023-02-05 22:17:20 +01:00
Safihre
8a2b875779 Merge branch '3.7.x' 2023-02-05 22:15:54 +01:00
Safihre
efaffb8298 Update text files for 3.7.2 2023-02-05 22:15:40 +01:00
jcfp
e004eb3f00 restore startup history purge (#2449) 2023-02-05 22:08:12 +01:00
Safihre
43e8f6dc81 Update formatting with black 23 rules 2023-02-05 22:08:07 +01:00
Safihre
f5bff8fe7c Update copyright year to 2023 2023-02-05 22:07:42 +01:00
Safihre
fad8484b93 Update text files for 3.7.2RC1 2023-01-23 21:49:08 +01:00
Safihre
7664b54f89 Fix orjson to 3.8.3 due to issue in 3.8.4 2023-01-15 13:52:25 +01:00
Safihre
21cbc353dd Update text files for 3.7.2Beta1 2023-01-15 13:46:21 +01:00
Safihre
8d66306ec4 Merge branch 'develop' into 3.7.x 2023-01-15 13:35:21 +01:00
Safihre
adcdca6f2e Pin tavern due to incompatibility of tavalidate with tavern>=2.0.0
@jcfp if you ever feel like a refactor of these tests ;)
2023-01-15 13:35:03 +01:00
SABnzbd Automation
efd7d1a4a0 Update translatable texts
[skip ci]
2023-01-11 02:27:37 +00:00
One CD
fc3fa137ac relabel UI button to show "Hidden" instead of "System" (#2410)
- as per: https://forums.sabnzbd.org/viewtopic.php?t=26089
2023-01-11 03:26:25 +01:00
SABnzbd Automation
61e901e07b Update translatable texts
[skip ci]
2023-01-10 08:57:09 +00:00
Safihre
d5dee106d1 Use newer cryptography package 2023-01-10 08:56:11 +00:00
renovate[bot]
00518e1a60 chore(deps): update all dependencies 2023-01-10 08:56:11 +00:00
Michael Reid
129d622015 Ignore file permissions when running unrar (#2401)
* fix: use permission bits from root when doing file recursion

* fix: restrict setting root permissions to files

* Revert "fix: restrict setting root permissions to files"

This reverts commit 0ef72f6038.

* Revert "fix: use permission bits from root when doing file recursion"

This reverts commit 0a1ceff8c0.

* fix: always ignore file attributes on unrar
2023-01-05 23:03:25 +01:00
puzzledsab
4423cbfcf3 Only set on_disk and don't set decoded until article is saved to cache (#2403)
* Mark unavailable articles as saved

* Save broken article if a valid one doesn't exist

* Change bad article message a bit

* Reduce to only set on_disk and don't set decoded until article is saved to cache
2023-01-05 14:39:11 +01:00
SABnzbd Automation
7f0d845dd0 Update translatable texts
[skip ci]
2022-12-31 16:17:05 +00:00
jcfp
bba1c894c5 Refresh and expand the appstream metadata (#2393)
Add supported control methods [1] as well as recommended screen sizes [2] and internet availability. Most of these properties are already in active use by appdata clients such a Gnome's "Software" program. The display size basically says "all but extra-small", where the extra extra-small category is used for tiny devices such a wearables and watches, and is kept as a recommend to not block installs on headless systems.

Also set a vcs-browser URL, and update the contact URL to point to the more generic live-chat page rather than directly to the forums.

[1] https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-relations-control
[2] https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-relations-display_length
2022-12-31 17:14:01 +01:00
SABnzbd Automation
6c197a4a8c Update translatable texts
[skip ci]
2022-12-28 21:33:20 +00:00
Safihre
4ceae8ec31 Update macOS build to Python 3.11.1 2022-12-28 22:28:48 +01:00
SABnzbd Automation
d257f903cc Update translatable texts
[skip ci]
2022-12-28 21:21:26 +00:00
Safihre
69742dd785 Refactor server error message reporting 2022-12-28 22:16:21 +01:00
SABnzbd Automation
92161eae07 Update translatable texts
[skip ci]
2022-12-28 20:59:39 +00:00
Sander
70d5099902 better logging with login from multiple IP (#2370)
* better logging with login from multiple IP

* warning in one line

* warning in one line

* warning in one line

* cleanup

* errormsg in better place

* Patch error

Co-authored-by: sander <san.d.erjonkers+github@gmail.com>
Co-authored-by: Safihre <safihre@sabnzbd.org>
2022-12-28 21:56:35 +01:00
thezoggy
de80f4e262 fix typo in default to url input when add nzb modal is shown (#2384) 2022-12-23 07:31:24 +01:00
thezoggy
0f0b8d4528 default to url input when add nzb modal is shown (#2383) 2022-12-22 19:54:50 +00:00
renovate[bot]
e34301fb2f chore(deps): update all dependencies 2022-12-19 13:25:39 +01:00
Safihre
a140c1ddc1 Remove special universal2 build step for orjson on macOS
orjson now provides universal2 wheel
2022-12-16 22:56:17 +01:00
Safihre
479daf0e76 Set version to 3.7.1 2022-12-16 22:04:36 +01:00
Safihre
bf0fbb7b10 Merge branch '3.7.x' 2022-12-16 22:03:56 +01:00
Safihre
d3c91f1585 Update text files for 3.7.1 2022-12-16 22:02:40 +01:00
Safihre
b472c615fb Multi-edit applying category + something else can be unpredictable
Closes #2375
2022-12-15 16:39:46 +01:00
Safihre
d41f33775e On mobile disable accept parameter on file inputs
Doesn't work on mobile Safari
See https://forums.sabnzbd.org/viewtopic.php?p=128651
2022-12-15 16:07:29 +01:00
Safihre
c27d60e2b0 Run Windows CI tests on Python 3.11 now lxml is available 2022-12-15 09:57:10 +01:00
Safihre
77fcaf4fca Remove redundant combine_chunk from recv_chunk 2022-12-12 13:58:03 +01:00
renovate[bot]
206dc66f7c Update dependency mac-alias to v2.2.2 2022-12-12 09:08:14 +00:00
puzzledsab
2d267fc50a Put */Default category first in lists (#2372)
* Put * category first in lists

* Seems there is some disagreement on how to format **

* Somewhat shorter version

* Use get_ordered_categories
2022-12-10 21:30:54 +01:00
puzzledsab
5cd5f00df7 Fix division by zero (#2369) 2022-12-10 08:40:30 +01:00
puzzledsab
6a80869861 Put some of the nntp connection handling code in a separate method (#2368) 2022-12-08 19:40:44 +01:00
puzzledsab
fb113514ae More recv_chunk refactoring (#2367) 2022-12-08 15:43:43 +01:00
puzzledsab
91740048c2 Limited refactoring of recv_chunk (#2366)
* Limited refactoring

* Remove explicit setblocking from servertests.py

* Make combine_chunk exactly 5 bytes so we can use ==

* Move timeout down a bit
2022-12-07 20:14:05 +01:00
Safihre
ca165b328a Update text files for 3.7.1RC2 2022-12-06 17:10:08 +01:00
Safihre
fa2ffeea92 Merge branch 'develop' into 3.7.x 2022-12-06 17:07:31 +01:00
Safihre
ff2e206229 sys.stdout and sys.stderr not defined by new PyInstaller version
Closes #2360
2022-12-06 17:06:56 +01:00
Jagandeep Brar
5f1f82257b fix: set stage_log to empty array on missing database content (#2364)
Closes #2363
2022-12-06 05:15:37 +01:00
Safihre
3df0fab793 Correctly set non-blocking mode
Relates to #2357
2022-12-05 14:03:41 +01:00
dependabot[bot]
7e7fa62c24 Bump stefanzweifel/git-auto-commit-action from 4.15.4 to 4.16.0 (#2359)
Bumps [stefanzweifel/git-auto-commit-action](https://github.com/stefanzweifel/git-auto-commit-action) from 4.15.4 to 4.16.0.
- [Release notes](https://github.com/stefanzweifel/git-auto-commit-action/releases)
- [Changelog](https://github.com/stefanzweifel/git-auto-commit-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stefanzweifel/git-auto-commit-action/compare/v4.15.4...v4.16.0)

---
updated-dependencies:
- dependency-name: stefanzweifel/git-auto-commit-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-05 11:54:38 +01:00
renovate[bot]
6220c00dcb Update all dependencies 2022-12-05 00:40:47 +00:00
Safihre
0d00965ac3 Update text files for 3.7.1RC1 2022-12-01 16:33:59 +01:00
Safihre
7d7bec1f80 Merge branch 'develop' into 3.7.x 2022-12-01 16:09:09 +01:00
Safihre
59a3d58c0f Process feedback on Downloader optimizations 2022-12-01 09:43:35 +01:00
Safihre
d8fb19c26e Use actual data_size in decoder
To be added to sabyenc3 later
2022-11-29 17:05:01 +01:00
Safihre
b0530325c5 Optimize downloader loop
Increase number of pre-fetched articles.
Only update the job download statistics after completing an article instead of after every chunk
2022-11-29 14:38:54 +01:00
Safihre
734a86a248 Optimize synchronized decorator 2022-11-29 13:50:16 +01:00
Safihre
a12d447d95 Optimize the has_forced_items check 2022-11-29 12:27:15 +01:00
puzzledsab
e9578d9aa0 Optimize highest_server (#2350) 2022-11-28 18:07:06 +01:00
renovate[bot]
5fef185a30 Update all dependencies 2022-11-28 01:04:10 +00:00
puzzledsab
ee2b2b2c3a Improve handling of unresolvable news servers (#2347)
* Trying to find cause of git bug #2345

* Try to find IP using happyeyeballs first, fall back to default if it fails

* Fix mistake

* Add host name to connection error message

* Always debug log IP address
2022-11-25 22:47:58 +01:00
Safihre
45d232e401 Scripts set as end-of-queue actions are no longer persistent
https://forums.sabnzbd.org/viewtopic.php?p=128490
2022-11-25 22:33:56 +01:00
Safihre
9a4d56e4e1 Status information was not updated on shortcut-key S
Closes #2346
2022-11-23 10:26:35 +01:00
puzzledsab
63018439c8 Refactor article.get_article (#2344)
* Refactor article.get_article

* Add some tests

* Another test

* Test tries updating

* Fix assignment mistake

* Remove debug logging from get_article
2022-11-21 07:34:20 +01:00
renovate[bot]
b5fef2ecb9 Update all dependencies 2022-11-21 01:22:29 +00:00
puzzledsab
fd3ece31c7 Do a more thorough check when a bad try_list is detected (#2330)
* Do a more thorough check when a bad try_list is detected

* Improve idle job check and fix DNS lookup problem

* Loop through copy of article list and move nzf.reset_try_list below the article check

Closes #2320
2022-11-16 19:51:13 +01:00
SABnzbd Automation
7aa8e3d60d Update translatable texts
[skip ci]
2022-11-16 15:42:50 +00:00
Safihre
9d71b39b31 Remove Queue/History search term exclusion as we do not support it
Closes #2342
2022-11-16 16:42:18 +01:00
Safihre
7cb09a0e0b Priority list in Add NZB window was not correct
Closes #2332
2022-11-14 16:07:41 +01:00
Safihre
fa47448ddc Remove redundant has_bad_articles
Leftover of new-but-failed-quikcheck
2022-11-14 16:00:02 +01:00
thezoggy
be7ae3d151 Tweak so hotkeys update both queue+history for non-tabbed layout. (#2337) 2022-11-14 15:20:07 +01:00
Kian-Meng Ang
fcb3c11203 Fix typos (#2339)
Found via `codespell -S po,interfaces -L
ciph,fo,ro,nd,parm,parms,readd,reenabled,msdos,sav,tage,datas`
2022-11-14 07:21:42 +01:00
renovate[bot]
c63002e145 Update dependency pyinstaller-hooks-contrib to v2022.13 2022-11-14 02:59:03 +00:00
Safihre
7758079efa Disable separateMajorMinor in Renovate config 2022-11-07 21:42:57 +01:00
Safihre
9e43cc30a7 Only run codesign import step if available 2022-11-07 21:37:00 +01:00
dependabot[bot]
40eaf15538 Bump stefanzweifel/git-auto-commit-action from 4.15.3 to 4.15.4 (#2335)
Bumps [stefanzweifel/git-auto-commit-action](https://github.com/stefanzweifel/git-auto-commit-action) from 4.15.3 to 4.15.4.
- [Release notes](https://github.com/stefanzweifel/git-auto-commit-action/releases)
- [Changelog](https://github.com/stefanzweifel/git-auto-commit-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stefanzweifel/git-auto-commit-action/compare/v4.15.3...v4.15.4)

---
updated-dependencies:
- dependency-name: stefanzweifel/git-auto-commit-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-07 11:40:47 +01:00
renovate[bot]
a6228b43f3 Update all dependencies 2022-11-07 05:26:12 +00:00
SABnzbd Automation
b5fcc90da2 Update translatable texts
[skip ci]
2022-11-07 02:31:55 +00:00
renovate[bot]
c66e80fdaf Update all dependencies 2022-11-07 02:31:21 +00:00
Safihre
7853e1990f Replace apple-actions/import-codesign-certs 2022-11-04 10:11:09 +01:00
SABnzbd Automation
9d52a335c3 Update translatable texts
[skip ci]
2022-11-04 07:58:15 +00:00
Safihre
8597784bc6 Correct tests after server timeout correction 2022-11-03 11:24:36 +01:00
Safihre
557b9ef71d Server timeouts were applied wrongly during testing
Closes #2326
2022-11-03 09:23:17 +01:00
SABnzbd Automation
c7791a478a Update translatable texts
[skip ci]
2022-11-02 21:38:52 +00:00
renovate[bot]
d29a20727b Update dependency cryptography to v38.0.3 [SECURITY] 2022-11-02 21:38:14 +00:00
SABnzbd Automation
a14a2f6c96 Update translatable texts
[skip ci]
2022-11-01 16:26:40 +00:00
thezoggy
cc402e35a1 codespell (#2321)
* ran through codespell to cleanup a bit of typos, excluded a bit to try and avoid any issues

* fix typos - may need review
2022-10-31 22:51:38 +01:00
renovate[bot]
2813c30536 Update all dependencies 2022-10-31 19:10:35 +00:00
dependabot[bot]
8bd0bdf5b2 Bump stefanzweifel/git-auto-commit-action from 4.15.2 to 4.15.3 (#2323)
Bumps [stefanzweifel/git-auto-commit-action](https://github.com/stefanzweifel/git-auto-commit-action) from 4.15.2 to 4.15.3.
- [Release notes](https://github.com/stefanzweifel/git-auto-commit-action/releases)
- [Changelog](https://github.com/stefanzweifel/git-auto-commit-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stefanzweifel/git-auto-commit-action/compare/v4.15.2...v4.15.3)

---
updated-dependencies:
- dependency-name: stefanzweifel/git-auto-commit-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-31 12:28:24 +01:00
SABnzbd Automation
26a99443d7 Update translatable texts
[skip ci]
2022-10-29 18:02:15 +00:00
Safihre
6d5aa77dee Set version to 3.8.0-develop
Closes #2319
2022-10-29 20:01:22 +02:00
174 changed files with 1168 additions and 1042 deletions

69
.github/renovate.json vendored
View File

@@ -1,36 +1,37 @@
{
"$schema":"https://docs.renovatebot.com/renovate-schema.json",
"extends":[
"config:base",
":disableDependencyDashboard"
],
"schedule":[
"before 3am on Monday"
],
"ignorePaths":[
"tests/**",
".github/workflows/**"
],
"pip_requirements":{
"fileMatch":[
"requirements.txt",
"builder/requirements.txt",
"builder/osx/requirements.txt"
]
},
"ignoreDeps":[
"jaraco.text"
],
"packageRules":[
{
"matchPackagePatterns":[
"*"
],
"groupName":"all dependencies",
"groupSlug":"all",
"automerge":true
}
],
"automergeStrategy":"squash",
"platformAutomerge":true
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base",
":disableDependencyDashboard"
],
"schedule": [
"before 3am on Monday"
],
"ignorePaths": [
"tests/**",
".github/workflows/**"
],
"pip_requirements": {
"fileMatch": [
"requirements.txt",
"builder/requirements.txt",
"builder/osx/requirements.txt"
]
},
"ignoreDeps": [
"jaraco.text"
],
"packageRules": [
{
"matchPackagePatterns": [
"*"
],
"groupName": "all dependencies",
"groupSlug": "all",
"separateMajorMinor": false,
"automerge": true
}
],
"automergeStrategy": "squash",
"platformAutomerge": true
}

View File

@@ -87,7 +87,7 @@ 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.11.0"
PYTHON_VERSION: "3.11.1"
MACOSX_DEPLOYMENT_TARGET: "10.9"
# We need to force compile for universal2 support
CFLAGS: -arch x86_64 -arch arm64
@@ -123,7 +123,6 @@ jobs:
# https://github.com/pyca/cryptography/issues/5918
# 2. We need to build the PyInstaller bootloader:
# https://github.com/pyinstaller/pyinstaller/issues/6235
# 3. TEMPORARY: Add aarch64 for orjson universal2 build, until they provide a wheel
if: steps.cache-virtualenv.outputs.cache-hit != 'true'
run: |
python3 --version
@@ -132,11 +131,9 @@ jobs:
pip3 install --upgrade -r requirements.txt --no-binary cffi
pip3 uninstall cryptography -y
pip3 download -r builder/osx/requirements.txt --platform macosx_10_10_universal2 --only-binary :all: --no-deps --dest .
pip3 download -r builder/osx/requirements.txt --platform macosx_10_12_universal2 --only-binary :all: --no-deps --dest .
pip3 install -r builder/osx/requirements.txt --no-cache-dir --no-index --find-links .
rustup target add aarch64-apple-darwin
PYINSTALLER_COMPILE_BOOTLOADER=1 pip3 install --upgrade -r builder/requirements.txt --no-binary pyinstaller
- name: Import macOS codesign certificates
# Taken from https://github.com/Apple-Actions/import-codesign-certs/pull/27 (comments)
@@ -144,6 +141,7 @@ jobs:
CERTIFICATES_P12: ${{ secrets.CERTIFICATES_P12 }}
CERTIFICATES_P12_PASSWORD: ${{ secrets.CERTIFICATES_P12_PASSWORD }}
MACOS_KEYCHAIN_TEMP_PASSWORD: ${{ secrets.MACOS_KEYCHAIN_TEMP_PASSWORD }}
if: env.CERTIFICATES_P12
run: |
echo $CERTIFICATES_P12 | base64 --decode > certificate.p12
security create-keychain -p "$MACOS_KEYCHAIN_TEMP_PASSWORD" build.keychain

View File

@@ -39,8 +39,7 @@ jobs:
python-version: "3.11"
- name: Windows
os: windows-latest
# lxml is not yet available for Python 3.11, so CI is stuck on 3.10 for now
python-version: "3.10"
python-version: "3.11"
steps:
- uses: actions/checkout@v3

View File

@@ -22,13 +22,13 @@ jobs:
if: env.TX_TOKEN
run: |
curl -o- https://raw.githubusercontent.com/transifex/cli/master/install.sh | bash
./tx push --source
./tx push --translation --source
./tx pull --all --force
- name: Compile translations to validate them
run: |
python3 tools/make_mo.py
- name: Push translatable and translated texts back to repo
uses: stefanzweifel/git-auto-commit-action@v4.15.2
uses: stefanzweifel/git-auto-commit-action@v4.16.0
if: env.TX_TOKEN
with:
commit_message: |

View File

@@ -1,5 +1,5 @@
(c) Copyright 2007-2022 by "The SABnzbd-team" <team@sabnzbd.org>
(c) Copyright 2007-2023 by "The SABnzbd-team" <team@sabnzbd.org>
The SABnzbd-team is:

View File

@@ -4,7 +4,7 @@
0) LICENSE
-------------------------------------------------------------------------------
(c) Copyright 2007-2022 by "The SABnzbd-team" <team@sabnzbd.org>
(c) Copyright 2007-2023 by "The SABnzbd-team" <team@sabnzbd.org>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License

View File

@@ -16,7 +16,7 @@
no_penalties = 1
See: https://sabnzbd.org/wiki/configuration/3.4/special
- Some third-party utilties try to probe SABnzbd API in such a way that you will
- Some third-party utilities try to probe SABnzbd API in such a way that you will
often see warnings about unauthenticated access.
If you are sure these probes are harmless, you can suppress the warnings by
setting the option "api_warnings" to 0.

View File

@@ -1,4 +1,4 @@
(c) Copyright 2007-2022 by "The SABnzbd-team" <team@sabnzbd.org>
(c) Copyright 2007-2023 by "The SABnzbd-team" <team@sabnzbd.org>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License

View File

@@ -1,7 +1,7 @@
Metadata-Version: 1.0
Name: SABnzbd
Version: 3.7.0
Summary: SABnzbd-3.7.0
Version: 3.7.2
Summary: SABnzbd-3.7.2
Home-page: https://sabnzbd.org
Author: The SABnzbd Team
Author-email: team@sabnzbd.org

View File

@@ -1,6 +1,27 @@
Release Notes - SABnzbd 3.7.0
Release Notes - SABnzbd 3.7.2
=========================================================
## Bugfixes and changes since 3.7.1
- Ignore permissions inside archives during unpacking by UnRar.
- Improvements to connection error messages.
- Apply other changes only after updating the `Category` in multi-edit.
- Categories were not sorted correctly in dropdowns.
- Prevent crash when `Automatically sort queue` was enabled.
- Apply `History Retention` setting during startup.
- Tweaks to download performance.
- Linux: Update appstream metadata.
## Bugfixes and changes since 3.7.0
- Minor improvements in download performance.
- Scripts set `On queue finish` are no longer persistent by default.
- Improved `Test Server` to handle more failure cases.
- Priority list in `Add NZB`-window was missing `Paused` priority.
- Keyboard shortcuts did not work if not in Tabbed-mode.
- Keyboard shortcut `S` did not reload status information.
- In `history` API-call the `stage_log` could be empty.
- Using the `-` character broke the queue/history search.
- Improved detection and handling of stuck jobs.
## Changes since 3.6.1
- The queue and history can be filtered using keywords:
`cat` and `priority`. For example: `show name cat:tv`.
@@ -50,4 +71,4 @@ Release Notes - SABnzbd 3.7.0
that automatically verify, repair, extract and clean up posts downloaded
from Usenet.
(c) Copyright 2007-2022 by "The SABnzbd-team" \<team@sabnzbd.org\>
(c) Copyright 2007-2023 by "The SABnzbd-team" \<team@sabnzbd.org\>

View File

@@ -1,5 +1,5 @@
#!/usr/bin/python3 -OO
# Copyright 2007-2022 The SABnzbd-Team <team@sabnzbd.org>
# Copyright 2007-2023 The SABnzbd-Team <team@sabnzbd.org>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -240,7 +240,7 @@ def print_version():
"""
%s-%s
Copyright (C) 2007-2022 The SABnzbd-Team <team@sabnzbd.org>
Copyright (C) 2007-2023 The SABnzbd-Team <team@sabnzbd.org>
SABnzbd comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions. It is licensed under the
@@ -1192,7 +1192,7 @@ def main():
# Find encoding; relevant for external processing activities
logging.info("Preferred encoding = %s", sabnzbd.encoding.CODEPAGE)
# On Linux/FreeBSD/Unix "UTF-8" is strongly, strongly adviced:
# On Linux/FreeBSD/Unix "UTF-8" is strongly, strongly advised:
if not sabnzbd.WIN32 and not sabnzbd.MACOS and not ("utf-8" in sabnzbd.encoding.CODEPAGE.lower()):
helpful_warning(
T(
@@ -1614,15 +1614,20 @@ def main():
# Send our final goodbyes!
notifier.send_notification("SABnzbd", T("SABnzbd shutdown finished"), "startup")
logging.info("Leaving SABnzbd")
sys.stderr.flush()
sys.stdout.flush()
sabnzbd.pid_file()
try:
sys.stderr.flush()
sys.stdout.flush()
except AttributeError:
# Not supported on Windows binaries
pass
if hasattr(sys, "frozen") and sabnzbd.MACOS:
try:
AppHelper.stopEventLoop()
except:
# Failing AppHelper libary!
# Failing AppHelper library!
os._exit(0)
elif sabnzbd.WIN_SERVICE:
# Do nothing, let service handle it

View File

@@ -1,3 +1,3 @@
# Special requirements for macOS universal2 binary release
# This way dependabot can auto-update them
cryptography==38.0.3
cryptography==39.0.0

View File

@@ -64,7 +64,7 @@ extra_folders = [
# Support functions
def safe_remove(path):
"""Remove file without erros if the file doesn't exist
"""Remove file without errors if the file doesn't exist
Can also handle folders
"""
if os.path.exists(path):

View File

@@ -1,22 +1,23 @@
# Basic build requirements
# Note that not all sub-dependencies are listed, but only ones we know could cause trouble
pyinstaller==5.6.1
pyinstaller-hooks-contrib==2022.10
pyinstaller==5.7.0
pyinstaller-hooks-contrib==2022.14
altgraph==0.17.3
wrapt==1.14.1
setuptools==65.5.0
pkginfo==1.8.3
PyGithub==1.56
charset-normalizer==3.0.0
setuptools==65.6.3
pkginfo==1.9.6
PyGithub==1.57
charset-normalizer==3.0.1
certifi
# orjson does not support 32bit Windows, exclude it based on Python-version
# This way we also test ujson on Python 3.7 and 3.8 in the CI-tests
orjson==3.8.0; python_version > '3.8'
# Fixed to 3.8.3 due to issue in 3.8.4: https://github.com/ijl/orjson/issues/331
orjson==3.8.3; python_version > '3.8'
# For the macOS build
dmgbuild==1.5.2; sys_platform == 'darwin'
mac-alias==2.2.0; sys_platform == 'darwin'
dmgbuild==1.6.0; sys_platform == 'darwin'
mac-alias==2.2.2; sys_platform == 'darwin'
macholib==1.16.2; sys_platform == 'darwin'
ds-store==1.3.0; sys_platform == 'darwin'
ds-store==1.3.1; sys_platform == 'darwin'
PyNaCl==1.5.0; sys_platform == 'darwin'

View File

@@ -56,7 +56,7 @@ Unicode true
CRCCheck on ; (can be off)
AutoCloseWindow false ; (can be true for the window go away automatically at end)
ShowInstDetails hide ; (can be show to have them shown, or nevershow to disable)
SetDateSave off ; (can be on to have files restored to their orginal date)
SetDateSave off ; (can be on to have files restored to their original date)
WindowIcon on
SpaceTexts none
@@ -185,7 +185,7 @@ Section "SABnzbd" SecDummy
liteFirewallW::AddRule "$INSTDIR\SABnzbd-console.exe" "SABnzbd-console"
;------------------------------------------------------------------
; Add to registery
; Add to registry
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\SABnzbd" "" "$INSTDIR"
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\SABnzbd" "Installer Language" "$(MsgLangCode)"
WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\SABnzbd" "DisplayName" "SABnzbd ${SAB_VERSION}"
@@ -328,7 +328,7 @@ FunctionEnd
UninstallText $(MsgUninstall)
Section "un.$(MsgDelProgram)" Uninstall
;make sure sabnzbd.exe isnt running..if so shut it down
;make sure sabnzbd.exe isn't running..if so shut it down
${nsProcess::KillProcess} "SABnzbd.exe" $R0
${nsProcess::Unload}
DetailPrint "Process Killed"

View File

@@ -15,7 +15,7 @@
<!--#if not $windows#-->
<div class="checkbox">
<label>
<input type="checkbox" id="show_hidden_folders"> <span>$T('systemFolders')</span>
<input type="checkbox" id="show_hidden_folders"> <span>$T('hiddenFolders')</span>
</label>
</div>
<!--#end if#-->

View File

@@ -69,7 +69,7 @@
// Set default functions for the autocomplete everywhere
\$.extend(\$.fn.typeahead.defaults, {
source: function (query, process) {
// If there's no seperator, it must be a relative path
// If there's no separator, it must be a relative path
if(query.split(folderSeperator).length < 2 && this.\$element.data('initialdir')) {
query = this.\$element.data('initialdir') + folderSeperator + query;
}

View File

@@ -124,7 +124,7 @@
<div class="colmask">
<div class="padding alt">
<h5 class="copyright">Copyright &copy; 2007-2022 The SABnzbd Team &lt;<a href="mailto:team@sabnzbd.org">team@sabnzbd.org</a>&gt;</h5>
<h5 class="copyright">Copyright &copy; 2007-2023 The SABnzbd Team &lt;<a href="mailto:team@sabnzbd.org">team@sabnzbd.org</a>&gt;</h5>
<p class="copyright"><small>$T('yourRights')</small></p>
</div>

View File

@@ -281,7 +281,7 @@
// Skip the fancy stuff, just submit
this.submit()
})
// No JSON reponse
// No JSON response
\$('#ajax').val('')
})
hideOrShowTranslate()

View File

@@ -549,7 +549,7 @@
theButton.removeAttr("disabled")
theButton.find('span').toggleClass('glyphicon-sort glyphicon-refresh spin-glyphicon')
// Succes or not?
// Success or not?
if(data.value.result) {
resultBox.addClass('alert-success')
resultBox.prepend('<span class="glyphicon glyphicon-ok-sign"></span> ')

View File

@@ -9,7 +9,7 @@ BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE B
1. Definitions
1. "Adaptation" means a work based upon the Work, or upon the Work and other pre-existing works, such as a translation, adaptation, derivative work, arrangement of music or other alterations of a literary or artistic work, or phonogram or performance and includes cinematographic adaptations or any other form in which the Work may be recast, transformed, or adapted including in any form recognizably derived from the original, except that a work that constitutes a Collection will not be considered an Adaptation for the purpose of this License. For the avoidance of doubt, where the Work is a musical work, performance or phonogram, the synchronization of the Work in timed-relation with a moving image ("synching") will be considered an Adaptation for the purpose of this License.
1. "Adaptation" means a work based upon the Work, or upon the Work and other pre-existing works, such as a translation, adaptation, derivative work, arrangement of music or other alterations of a literary or artistic work, or phonogram or performance and includes cinematographic adaptations or any other form in which the Work may be recast, transformed, or adapted including in any form recognizably derived from the original, except that a work that constitutes a Collection will not be considered an Adaptation for the purpose of this License. For the avoidance of doubt, where the Work is a musical work, performance or phonogram, the synchronization of the Work in timed-relation with a moving image ("syncing") will be considered an Adaptation for the purpose of this License.
2. "Collection" means a collection of literary or artistic works, such as encyclopedias and anthologies, or performances, phonograms or broadcasts, or other works or subject matter other than works listed in Section 1(f) below, which, by reason of the selection and arrangement of their contents, constitute intellectual creations, in which the Work is included in its entirety in unmodified form along with one or more other contributions, each constituting separate and independent works in themselves, which together are assembled into a collective whole. A work that constitutes a Collection will not be considered an Adaptation (as defined above) for the purposes of this License.
3. "Distribute" means to make available to the public the original and copies of the Work or Adaptation, as appropriate, through sale or other transfer of ownership.
4. "Licensor" means the individual, individuals, entity or entities that offer(s) the Work under the terms of this License.
@@ -44,7 +44,7 @@ The above rights may be exercised in all media and formats whether now known or
5. Representations, Warranties and Disclaimer
UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU.
UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU.
6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

View File

@@ -1,6 +1,6 @@
<!--#from sabnzbd.constants import VALID_ARCHIVES, VALID_NZB_FILES#-->
<!--#set $file_exts = ', '.join(VALID_NZB_FILES + VALID_ARCHIVES)#-->
<!-- Notifcation box -->
<!-- Notification box -->
<div class="main-notification-box" style="display: none">
<div class="main-notification-box-uploading">
<span class="glyphicon glyphicon-open"></span> $T('Glitter-notification-uploading') <span class="main-notification-box-file-count"></span>
@@ -530,7 +530,15 @@
<div class="form-group">
<label class="col-sm-4 control-label">$T('priority')</label>
<div class="col-sm-6">
<select name="Priority" class="form-control" data-bind="options: queue.priorityOptions, optionsValue: 'value', optionsText: 'name', optionsCaption: '$T('default')'"></select>
<!-- This list is different from the one during download! -->
<select name="Priority" class="form-control">
<option value="-100">$T('default')</option>
<option value="2">$T('pr-force')</option>
<option value="1">$T('pr-high')</option>
<option value="0">$T('pr-normal')</option>
<option value="-1">$T('pr-low')</option>
<option value="-2" >$T('pr-paused')</option>
</select>
<span class="glyphicon glyphicon-sort-by-attributes-alt"></span>
</div>
</div>

View File

@@ -116,7 +116,7 @@
glitterTranslate.priority['Stop'] = "$T('pr-stop')";
</script>
<!-- Inclusion is faster than external scripts. We load momentJS locale seperatly so failure won't break anything -->
<!-- Inclusion is faster than external scripts. We load momentJS locale separately so failure won't break anything -->
<script type="text/javascript">
<!--#include raw $webdir + "/static/javascripts/jquery-3.5.1.min.js"#-->
<!--#include raw $webdir + "/static/javascripts/jquery-ui.min.js"#-->

View File

@@ -671,6 +671,11 @@ function ViewModel() {
}
}
// default to url input when modal is shown
$('#modal-add-nzb').on('shown.bs.modal', function() {
$('input[name="nzbURL"]').focus();
})
// From the upload or filedrop
self.addNZBFromFile = function(files, fileindex) {
// First file
@@ -1259,29 +1264,51 @@ function ViewModel() {
window.location.href = './config/';
});
$(document).bind('keydown', 's', function(e) {
// Update the data
self.loadStatusInfo(true, true)
// avoid modal clashes
if (!$('.modal-dialog').is(':visible')) {
$('#modal-options').modal('show');
}
});
$(document).bind('keydown', 'shift+left', function(e) {
$('#history-tab.active > ul.pagination li.active').prev().click();
$('#queue-tab.active > ul.pagination li.active').prev().click();
if($("body").hasClass("container-tabbed")) {
$('#history-tab.active > ul.pagination li.active').prev().click();
$('#queue-tab.active > ul.pagination li.active').prev().click();
} else {
$('#history-tab > ul.pagination li.active').prev().click();
$('#queue-tab > ul.pagination li.active').prev().click();
}
e.preventDefault();
});
$(document).bind('keydown', 'shift+right', function(e) {
$('#history-tab.active > ul.pagination li.active').next().click();
$('#queue-tab.active > ul.pagination li.active').next().click();
if($("body").hasClass("container-tabbed")) {
$('#history-tab.active > ul.pagination li.active').next().click();
$('#queue-tab.active > ul.pagination li.active').next().click();
} else {
$('#history-tab > ul.pagination li.active').next().click();
$('#queue-tab > ul.pagination li.active').next().click();
}
e.preventDefault();
});
$(document).bind('keydown', 'shift+up', function(e) {
$('#history-tab.active > ul.pagination li').first().click();
$('#queue-tab.active > ul.pagination li').first().click();
if($("body").hasClass("container-tabbed")) {
$('#history-tab.active > ul.pagination li').first().click();
$('#queue-tab.active > ul.pagination li').first().click();
} else {
$('#history-tab > ul.pagination li').first().click();
$('#queue-tab > ul.pagination li').first().click();
}
e.preventDefault();
});
$(document).bind('keydown', 'shift+down', function(e) {
$('#history-tab.active > ul.pagination li').last().click();
$('#queue-tab.active > ul.pagination li').last().click();
if($("body").hasClass("container-tabbed")) {
$('#history-tab.active > ul.pagination li').last().click();
$('#queue-tab.active > ul.pagination li').last().click();
} else {
$('#history-tab > ul.pagination li').last().click();
$('#queue-tab > ul.pagination li').last().click();
}
e.preventDefault();
});
}
@@ -1312,6 +1339,12 @@ function ViewModel() {
// And refresh now!
self.refresh()
// Activate tooltips
if (!isMobile) $('[data-tooltip="true"]').tooltip({ trigger: 'hover', container: 'body' })
// Special options for (non) mobile
if (isMobile) {
// Disable accept parameter on file inputs, as it doesn't work on mobile Safari
$("input[accept!=''][accept]").attr("accept","")
} else {
// Activate tooltips
$('[data-tooltip="true"]').tooltip({ trigger: 'hover', container: 'body' })
}
}

View File

@@ -343,54 +343,61 @@ function QueueListModel(parent) {
var newStatus = $('.multioperations-selector input[name="multiedit-status"]:checked').val()
// List all the ID's
var strIDs = '';
var strIDs = '';
$.each(self.multiEditItems(), function(index) {
strIDs = strIDs + this.id + ',';
})
// All non-category updates need to only happen after a category update
function nonCatUpdates() {
if(newScript != '') {
callAPI({
mode: 'change_script',
value: strIDs,
value2: newScript
})
}
if(newPrior != '') {
callAPI({
mode: 'queue',
name: 'priority',
value: strIDs,
value2: newPrior
})
}
if(newProc != '') {
callAPI({
mode: 'change_opts',
value: strIDs,
value2: newProc
})
}
if(newStatus) {
callAPI({
mode: 'queue',
name: newStatus,
value: strIDs
})
}
// Wat a little and do the refresh
// Only if anything changed!
if(newStatus || newProc != '' || newPrior != '' || newScript != '' || newCat != '') {
setTimeout(parent.refresh, 100)
}
}
// What is changed?
if(newCat != '') {
callAPI({
mode: 'change_cat',
value: strIDs,
value2: newCat
})
}
if(newScript != '') {
callAPI({
mode: 'change_script',
value: strIDs,
value2: newScript
})
}
if(newPrior != '') {
callAPI({
mode: 'queue',
name: 'priority',
value: strIDs,
value2: newPrior
})
}
if(newProc != '') {
callAPI({
mode: 'change_opts',
value: strIDs,
value2: newProc
})
}
if(newStatus) {
callAPI({
mode: 'queue',
name: newStatus,
value: strIDs
})
}).then(nonCatUpdates)
} else {
nonCatUpdates()
}
// Wat a little and do the refresh
// Only if anything changed!
if(newStatus || newProc != '' || newPrior != '' || newScript != '' || newCat != '') {
setTimeout(parent.refresh, 100)
}
}
// Selete all selected

View File

@@ -35,7 +35,12 @@ function search_query_parse(string, options) {
var exclusion = {};
var terms = [];
// Get a list of search terms respecting single and double quotes
var regex = /(\S+:'(?:[^'\\]|\\.)*')|(\S+:"(?:[^"\\]|\\.)*")|\S+|\S+:\S+/g;
/*
Removed exclusion matching for SABnzbd, original regex:
var regex = /(\S+:'(?:[^'\\]|\\.)*')|(\S+:"(?:[^"\\]|\\.)*")|(-?"(?:[^"\\]|\\.)*")|(-?'(?:[^'\\]|\\.)*')|\S+|\S+:\S+/g;
See: https://github.com/sabnzbd/sabnzbd/issues/2342
*/
var match;
while ((match = regex.exec(string)) !== null) {
var term = match[0];
@@ -67,10 +72,15 @@ function search_query_parse(string, options) {
});
} else {
var isExcludedTerm = false;
/*
Removed for SABnzbd
See: https://github.com/sabnzbd/sabnzbd/issues/2342
if (term[0] === '-') {
isExcludedTerm = true;
term = term.slice(1);
}
*/
// Strip surrounding quotes
term = term.replace(/^\"|\"$|^\'|\'$/g, '');

View File

@@ -15,6 +15,8 @@
<br /><br />
<input type="hidden" name="server" value="$server" />
<div class="row">
<div class="col-md-7 form-horizontal">
<div class="form-group">

View File

@@ -1,5 +1,5 @@
Kronos.py is written by Irmen de Jong.
Retreived from:
Retrieved from:
http://www.razorvine.net/download/kronos.py
Quote from the module:

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2022 The SABnzbd-Team <team@sabnzbd.org> -->
<!-- Copyright 2022-2023 The SABnzbd-Team <team@sabnzbd.org> -->
<component type="desktop-application">
<id>org.sabnzbd.sabnzbd</id>
<metadata_license>MIT</metadata_license>
@@ -23,16 +23,26 @@
</categories>
<url type="homepage">https://sabnzbd.org</url>
<url type="bugtracker">https://github.com/sabnzbd/sabnzbd/issues</url>
<url type="vcs-browser">https://github.com/sabnzbd/sabnzbd</url>
<url type="translate">https://sabnzbd.org/wiki/translate</url>
<url type="donation">https://sabnzbd.org/donate</url>
<url type="help">https://sabnzbd.org/wiki/</url>
<url type="faq">https://sabnzbd.org/wiki/faq</url>
<url type="contact">https://forums.sabnzbd.org</url>
<url type="contact">https://sabnzbd.org/live-chat.html</url>
<launchable type="desktop-id">sabnzbd.desktop</launchable>
<provides>
<mediatype>application/x-nzb</mediatype>
<mediatype>application/x-compressed-nzb</mediatype>
</provides>
<supports>
<control>pointing</control>
<control>keyboard</control>
<control>touch</control>
</supports>
<recommends>
<display_length compare="ge">small</display_length>
<internet>always</internet>
</recommends>
<project_license>GPL-2.0-or-later</project_license>
<developer_name>The SABnzbd-team</developer_name>
<screenshots>

View File

@@ -1,11 +1,11 @@
#
# SABnzbd Translation Template file EMAIL
# Copyright 2007-2022 The SABnzbd-Team
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-3.7.0Beta1\n"
"Project-Id-Version: SABnzbd-3.8.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"

View File

@@ -1,10 +1,10 @@
# SABnzbd Translation Template file EMAIL
# Copyright 2007-2022 The SABnzbd-Team
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-3.7.0Beta1\n"
"Project-Id-Version: SABnzbd-3.8.0-develop\n"
"PO-Revision-Date: 2020-06-27 15:56+0000\n"
"Language-Team: Czech (https://www.transifex.com/sabnzbd/teams/111101/cs/)\n"
"MIME-Version: 1.0\n"

View File

@@ -1,13 +1,13 @@
# SABnzbd Translation Template file EMAIL
# Copyright 2007-2022 The SABnzbd-Team
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2020
#
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-3.7.0Beta1\n"
"Project-Id-Version: SABnzbd-3.8.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://www.transifex.com/sabnzbd/teams/111101/da/)\n"

View File

@@ -1,13 +1,13 @@
# SABnzbd Translation Template file EMAIL
# Copyright 2007-2022 The SABnzbd-Team
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2020
#
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-3.7.0Beta1\n"
"Project-Id-Version: SABnzbd-3.8.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://www.transifex.com/sabnzbd/teams/111101/de/)\n"

View File

@@ -1,13 +1,13 @@
# SABnzbd Translation Template file EMAIL
# Copyright 2007-2022 The SABnzbd-Team
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2020
#
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-3.7.0Beta1\n"
"Project-Id-Version: SABnzbd-3.8.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://www.transifex.com/sabnzbd/teams/111101/es/)\n"

View File

@@ -1,13 +1,13 @@
# SABnzbd Translation Template file EMAIL
# Copyright 2007-2022 The SABnzbd-Team
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2020
#
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-3.7.0Beta1\n"
"Project-Id-Version: SABnzbd-3.8.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://www.transifex.com/sabnzbd/teams/111101/fi/)\n"

View File

@@ -1,13 +1,13 @@
# SABnzbd Translation Template file EMAIL
# Copyright 2007-2022 The SABnzbd-Team
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2020
#
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-3.7.0Beta1\n"
"Project-Id-Version: SABnzbd-3.8.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://www.transifex.com/sabnzbd/teams/111101/fr/)\n"

View File

@@ -1,13 +1,13 @@
# SABnzbd Translation Template file EMAIL
# Copyright 2007-2022 The SABnzbd-Team
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
#
# Translators:
# ION, 2020
#
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-3.7.0Beta1\n"
"Project-Id-Version: SABnzbd-3.8.0-develop\n"
"PO-Revision-Date: 2020-06-27 15:56+0000\n"
"Last-Translator: ION, 2020\n"
"Language-Team: Hebrew (https://www.transifex.com/sabnzbd/teams/111101/he/)\n"

View File

@@ -1,13 +1,13 @@
# SABnzbd Translation Template file EMAIL
# Copyright 2007-2022 The SABnzbd-Team
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2020
#
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-3.7.0Beta1\n"
"Project-Id-Version: SABnzbd-3.8.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://www.transifex.com/sabnzbd/teams/111101/nb/)\n"

View File

@@ -1,13 +1,13 @@
# SABnzbd Translation Template file EMAIL
# Copyright 2007-2022 The SABnzbd-Team
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2020
#
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-3.7.0Beta1\n"
"Project-Id-Version: SABnzbd-3.8.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://www.transifex.com/sabnzbd/teams/111101/nl/)\n"

View File

@@ -1,13 +1,13 @@
# SABnzbd Translation Template file EMAIL
# Copyright 2007-2022 The SABnzbd-Team
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2020
#
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-3.7.0Beta1\n"
"Project-Id-Version: SABnzbd-3.8.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://www.transifex.com/sabnzbd/teams/111101/pl/)\n"

View File

@@ -1,13 +1,13 @@
# SABnzbd Translation Template file EMAIL
# Copyright 2007-2022 The SABnzbd-Team
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2020
#
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-3.7.0Beta1\n"
"Project-Id-Version: SABnzbd-3.8.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://www.transifex.com/sabnzbd/teams/111101/pt_BR/)\n"

View File

@@ -1,13 +1,13 @@
# SABnzbd Translation Template file EMAIL
# Copyright 2007-2022 The SABnzbd-Team
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2020
#
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-3.7.0Beta1\n"
"Project-Id-Version: SABnzbd-3.8.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://www.transifex.com/sabnzbd/teams/111101/ro/)\n"

View File

@@ -1,13 +1,13 @@
# SABnzbd Translation Template file EMAIL
# Copyright 2007-2022 The SABnzbd-Team
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2020
#
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-3.7.0Beta1\n"
"Project-Id-Version: SABnzbd-3.8.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://www.transifex.com/sabnzbd/teams/111101/ru/)\n"

View File

@@ -1,13 +1,13 @@
# SABnzbd Translation Template file EMAIL
# Copyright 2007-2022 The SABnzbd-Team
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2020
#
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-3.7.0Beta1\n"
"Project-Id-Version: SABnzbd-3.8.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://www.transifex.com/sabnzbd/teams/111101/sr/)\n"

View File

@@ -1,13 +1,13 @@
# SABnzbd Translation Template file EMAIL
# Copyright 2007-2022 The SABnzbd-Team
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2020
#
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-3.7.0Beta1\n"
"Project-Id-Version: SABnzbd-3.8.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://www.transifex.com/sabnzbd/teams/111101/sv/)\n"

View File

@@ -1,13 +1,13 @@
# SABnzbd Translation Template file EMAIL
# Copyright 2007-2022 The SABnzbd-Team
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2020
#
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-3.7.0Beta1\n"
"Project-Id-Version: SABnzbd-3.8.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://www.transifex.com/sabnzbd/teams/111101/zh_CN/)\n"

View File

@@ -1,11 +1,11 @@
#
# SABnzbd Translation Template file MAIN
# Copyright 2007-2022 The SABnzbd-Team
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-3.7.0Beta1\n"
"Project-Id-Version: SABnzbd-3.8.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"
@@ -393,7 +393,6 @@ msgstr ""
msgid "You must set a maximum bandwidth before you can set a bandwidth limit"
msgstr ""
#. Warning message
#: sabnzbd/downloader.py
msgid "Cannot connect to server %s [%s]"
msgstr ""
@@ -417,19 +416,16 @@ msgstr ""
msgid "Failed to initialize %s@%s with reason: %s"
msgstr ""
#. Warning message
#: sabnzbd/downloader.py
msgid "Too many connections to server %s"
msgid "Too many connections to server %s [%s]"
msgstr ""
#. Warning message
#: sabnzbd/downloader.py
msgid "Probable account sharing"
msgid "Login from too many different IP addresses to server %s [%s] - https://sabnzbd.org/multiple-adresses"
msgstr ""
#. Error message
#: sabnzbd/downloader.py
msgid "Failed login for server %s"
msgid "Failed login for server %s [%s]"
msgstr ""
#. Error message
@@ -2828,6 +2824,10 @@ msgstr ""
msgid "System Folders"
msgstr ""
#: sabnzbd/skintext.py
msgid "Hidden Folders"
msgstr ""
#: sabnzbd/skintext.py
msgid "Administrative Folder"
msgstr ""

View File

@@ -1,14 +1,14 @@
# SABnzbd Translation Template file MAIN
# Copyright 2007-2022 The SABnzbd-Team
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
#
# Translators:
# Pavel C <quoing_transifex@mess.cz>, 2021
# Safihre <safihre@sabnzbd.org>, 2022
#
# Safihre <safihre@sabnzbd.org>, 2023
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-3.7.0Beta1\n"
"Project-Id-Version: SABnzbd-3.8.0-develop\n"
"PO-Revision-Date: 2020-06-27 15:49+0000\n"
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2022\n"
"Language-Team: Czech (https://www.transifex.com/sabnzbd/teams/111101/cs/)\n"
@@ -428,7 +428,6 @@ msgstr ""
"Musíte nastavit maximální rychlost linky předtím než začnete nastavovat "
"limity pro přenos"
#. Warning message
#: sabnzbd/downloader.py
msgid "Cannot connect to server %s [%s]"
msgstr "Nelze se připojit k serveru %s [%s]"
@@ -452,20 +451,19 @@ msgstr ""
msgid "Failed to initialize %s@%s with reason: %s"
msgstr ""
#. Warning message
#: sabnzbd/downloader.py
msgid "Too many connections to server %s"
msgstr "Příliš mnoho spojení k serveru %s"
msgid "Too many connections to server %s [%s]"
msgstr "Příliš mnoho spojení k serveru %s [%s]"
#. Warning message
#: sabnzbd/downloader.py
msgid "Probable account sharing"
msgstr "Pravděpodobné sdílení účtu"
msgid ""
"Login from too many different IP addresses to server %s [%s] - "
"https://sabnzbd.org/multiple-adresses"
msgstr ""
#. Error message
#: sabnzbd/downloader.py
msgid "Failed login for server %s"
msgstr "Přihlášení k serveru %s se nezdařilo"
msgid "Failed login for server %s [%s]"
msgstr "Přihlášení k serveru %s se nezdařilo [%s]"
#. Error message
#: sabnzbd/downloader.py
@@ -2957,6 +2955,10 @@ msgstr ""
msgid "System Folders"
msgstr ""
#: sabnzbd/skintext.py
msgid "Hidden Folders"
msgstr ""
#: sabnzbd/skintext.py
msgid "Administrative Folder"
msgstr ""

View File

@@ -1,13 +1,13 @@
# SABnzbd Translation Template file MAIN
# Copyright 2007-2022 The SABnzbd-Team
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2022
#
# Safihre <safihre@sabnzbd.org>, 2023
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-3.7.0Beta1\n"
"Project-Id-Version: SABnzbd-3.8.0-develop\n"
"PO-Revision-Date: 2020-06-27 15:49+0000\n"
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2022\n"
"Language-Team: Danish (https://www.transifex.com/sabnzbd/teams/111101/da/)\n"
@@ -426,7 +426,6 @@ msgstr ""
"Du skal angive den maksimale båndbredde, før du kan angive en båndbredde "
"begrænsning"
#. Warning message
#: sabnzbd/downloader.py
msgid "Cannot connect to server %s [%s]"
msgstr "Kan ikke tilslutte til server %s [%s]"
@@ -450,20 +449,19 @@ msgstr ""
msgid "Failed to initialize %s@%s with reason: %s"
msgstr "Det lykkedes ikke at initialisere %s@%s med begrundelse %s"
#. Warning message
#: sabnzbd/downloader.py
msgid "Too many connections to server %s"
msgstr "Alt for mange forbindelser til serveren %s"
msgid "Too many connections to server %s [%s]"
msgstr "Alt for mange forbindelser til serveren %s [%s]"
#. Warning message
#: sabnzbd/downloader.py
msgid "Probable account sharing"
msgstr "Sandsynligt delt konto"
msgid ""
"Login from too many different IP addresses to server %s [%s] - "
"https://sabnzbd.org/multiple-adresses"
msgstr ""
#. Error message
#: sabnzbd/downloader.py
msgid "Failed login for server %s"
msgstr "Det lykkedes ikke at logge på serveren %s"
msgid "Failed login for server %s [%s]"
msgstr "Det lykkedes ikke at logge på serveren %s [%s]"
#. Error message
#: sabnzbd/downloader.py
@@ -3020,6 +3018,10 @@ msgstr ""
msgid "System Folders"
msgstr "Systemmapper"
#: sabnzbd/skintext.py
msgid "Hidden Folders"
msgstr ""
#: sabnzbd/skintext.py
msgid "Administrative Folder"
msgstr "Administrativ mappe"

View File

@@ -1,21 +1,21 @@
# SABnzbd Translation Template file MAIN
# Copyright 2007-2022 The SABnzbd-Team
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
# Translators:
# C E <githubce@eiselt.ch>, 2020
# Nikolai Bohl <n.kay01@gmail.com>, 2020
# reloxx13 <reloxx@interia.pl>, 2021
# Ben Hecht <benjamin.hecht@me.com>, 2021
# Manuel C. Senn, 2021
# Andreas Kames, 2021
# Simon W., 2021
# Nils Briggen, 2022
# Safihre <safihre@sabnzbd.org>, 2022
# reloxx13 <reloxx@interia.pl>, 2022
# Safihre <safihre@sabnzbd.org>, 2023
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-3.7.0Beta1\n"
"Project-Id-Version: SABnzbd-3.8.0-develop\n"
"PO-Revision-Date: 2020-06-27 15:49+0000\n"
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2022\n"
"Language-Team: German (https://www.transifex.com/sabnzbd/teams/111101/de/)\n"
@@ -349,7 +349,7 @@ msgstr "Kann keine Sicherungsdatei erstellen für %s"
#. Warning message
#: sabnzbd/config.py
msgid "Could not restore backup"
msgstr ""
msgstr "Backup konnte nicht wiederhergestellt werden"
#. Error message
#: sabnzbd/config.py
@@ -455,7 +455,6 @@ msgstr ""
"Bevor ein Bandbreitenlimit gesetzt werden kann, muss die maximale Bandbreite"
" festgelegt werden"
#. Warning message
#: sabnzbd/downloader.py
msgid "Cannot connect to server %s [%s]"
msgstr "Verbindung zum Server %s kann nicht hergestellt werden. %s"
@@ -479,20 +478,19 @@ msgstr "Es gibt keine aktiven Server!"
msgid "Failed to initialize %s@%s with reason: %s"
msgstr "Fehler %s@%s zu initialisieren, aus folgendem Grund: %s"
#. Warning message
#: sabnzbd/downloader.py
msgid "Too many connections to server %s"
msgstr "Zu viele Verbindungen zu Server %s"
msgid "Too many connections to server %s [%s]"
msgstr "Zu viele Verbindungen zu Server %s [%s]"
#. Warning message
#: sabnzbd/downloader.py
msgid "Probable account sharing"
msgstr "Möglicherweise wird das Konto geteilt"
msgid ""
"Login from too many different IP addresses to server %s [%s] - "
"https://sabnzbd.org/multiple-adresses"
msgstr ""
#. Error message
#: sabnzbd/downloader.py
msgid "Failed login for server %s"
msgstr "Anmelden beim Server fehlgeschlagen. %s"
msgid "Failed login for server %s [%s]"
msgstr "Anmelden beim Server fehlgeschlagen. %s [%s]"
#. Error message
#: sabnzbd/downloader.py
@@ -3126,6 +3124,10 @@ msgstr ""
msgid "System Folders"
msgstr "System-Ordner"
#: sabnzbd/skintext.py
msgid "Hidden Folders"
msgstr ""
#: sabnzbd/skintext.py
msgid "Administrative Folder"
msgstr "Administrativer Ordner"

View File

@@ -1,17 +1,17 @@
# SABnzbd Translation Template file MAIN
# Copyright 2007-2022 The SABnzbd-Team
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
#
# Translators:
# Ester Molla Aragones <moarages@gmail.com>, 2020
# 1024mb <angelb2203@gmail.com>, 2020
# Safihre <safihre@sabnzbd.org>, 2022
#
# 1024mb <angelb2203@gmail.com>, 2023
# Safihre <safihre@sabnzbd.org>, 2023
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-3.7.0Beta1\n"
"Project-Id-Version: SABnzbd-3.8.0-develop\n"
"PO-Revision-Date: 2020-06-27 15:49+0000\n"
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2022\n"
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2023\n"
"Language-Team: Spanish (https://www.transifex.com/sabnzbd/teams/111101/es/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -114,6 +114,8 @@ msgid ""
"Current umask (%o) might deny SABnzbd access to the files and folders it "
"creates."
msgstr ""
"La umask actual (%o) podría denegarle acceso a SABnzbd a los archivos y "
"carpetas que este crea."
#. Warning message
#: SABnzbd.py
@@ -158,22 +160,22 @@ msgstr "Error grave al guardar estado"
#. Warning message
#: sabnzbd/__init__.py
msgid "Restarting because of crashed postprocessor"
msgstr ""
msgstr "Reiniciando a causa de un posprocesador colgado"
#. Warning message
#: sabnzbd/__init__.py
msgid "Restarting because of crashed downloader"
msgstr ""
msgstr "Reiniciando debido al cuelgue del descargador"
#. Warning message
#: sabnzbd/__init__.py
msgid "Restarting because of crashed decoder"
msgstr ""
msgstr "Reiniciando a causa de un decodificador colgado"
#. Warning message
#: sabnzbd/__init__.py
msgid "Restarting because of crashed assembler"
msgstr ""
msgstr "Reiniciando debido al cuelgue del ensamblador"
#. Warning message
#: sabnzbd/__init__.py
@@ -446,7 +448,6 @@ msgstr ""
"Debe establecer un ancho de banda máximo antes de poder establecer un límite"
" de ancho de banda"
#. Warning message
#: sabnzbd/downloader.py
msgid "Cannot connect to server %s [%s]"
msgstr "Error en inicio de conexion a servidor %s [%s]"
@@ -470,20 +471,19 @@ msgstr ""
msgid "Failed to initialize %s@%s with reason: %s"
msgstr "Error al inicializar %s@%s con la razón: %s"
#. Warning message
#: sabnzbd/downloader.py
msgid "Too many connections to server %s"
msgstr "Demasiadas conexiones con el servidor %s"
msgid "Too many connections to server %s [%s]"
msgstr "Demasiadas conexiones con el servidor %s [%s]"
#. Warning message
#: sabnzbd/downloader.py
msgid "Probable account sharing"
msgstr "Compartiendo de cuenta probable"
msgid ""
"Login from too many different IP addresses to server %s [%s] - "
"https://sabnzbd.org/multiple-adresses"
msgstr ""
#. Error message
#: sabnzbd/downloader.py
msgid "Failed login for server %s"
msgstr "Registraccion fallo para servidor %s"
msgid "Failed login for server %s [%s]"
msgstr "Registraccion fallo para servidor %s [%s]"
#. Error message
#: sabnzbd/downloader.py
@@ -3098,6 +3098,10 @@ msgstr ""
msgid "System Folders"
msgstr "Directorios del sistema"
#: sabnzbd/skintext.py
msgid "Hidden Folders"
msgstr ""
#: sabnzbd/skintext.py
msgid "Administrative Folder"
msgstr "Directorio de administración"

View File

@@ -1,13 +1,13 @@
# SABnzbd Translation Template file MAIN
# Copyright 2007-2022 The SABnzbd-Team
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2022
#
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-3.7.0Beta1\n"
"Project-Id-Version: SABnzbd-3.8.0-develop\n"
"PO-Revision-Date: 2020-06-27 15:49+0000\n"
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2022\n"
"Language-Team: Finnish (https://www.transifex.com/sabnzbd/teams/111101/fi/)\n"
@@ -422,7 +422,6 @@ msgid "You must set a maximum bandwidth before you can set a bandwidth limit"
msgstr ""
"Sinun täytyy määrittää enimmäiskaista ennen kaistarajoituksen käyttöönottoa."
#. Warning message
#: sabnzbd/downloader.py
msgid "Cannot connect to server %s [%s]"
msgstr "Palvelimeen %s ei voida yhdistää [%s]"
@@ -446,20 +445,19 @@ msgstr ""
msgid "Failed to initialize %s@%s with reason: %s"
msgstr "Alustaminen epäonnistui kohteessa %s@%s syy: %s"
#. Warning message
#: sabnzbd/downloader.py
msgid "Too many connections to server %s"
msgstr "Liikaa yhteyksiä palvelimelle %s"
msgid "Too many connections to server %s [%s]"
msgstr "Liikaa yhteyksiä palvelimelle %s [%s]"
#. Warning message
#: sabnzbd/downloader.py
msgid "Probable account sharing"
msgstr "Mahdollinen tilin jakaminen"
msgid ""
"Login from too many different IP addresses to server %s [%s] - "
"https://sabnzbd.org/multiple-adresses"
msgstr ""
#. Error message
#: sabnzbd/downloader.py
msgid "Failed login for server %s"
msgstr "Kirjautuminen palvelimelle %s epäonnistui"
msgid "Failed login for server %s [%s]"
msgstr "Kirjautuminen palvelimelle %s epäonnistui [%s]"
#. Error message
#: sabnzbd/downloader.py
@@ -3022,6 +3020,10 @@ msgstr ""
msgid "System Folders"
msgstr "Järjestelmäkansio"
#: sabnzbd/skintext.py
msgid "Hidden Folders"
msgstr ""
#: sabnzbd/skintext.py
msgid "Administrative Folder"
msgstr "Hallinnollinen kansio"

View File

@@ -1,14 +1,14 @@
# SABnzbd Translation Template file MAIN
# Copyright 2007-2022 The SABnzbd-Team
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2022
# Fred L <88com88@gmail.com>, 2022
#
# Fred L <88com88@gmail.com>, 2023
# Safihre <safihre@sabnzbd.org>, 2023
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-3.7.0Beta1\n"
"Project-Id-Version: SABnzbd-3.8.0-develop\n"
"PO-Revision-Date: 2020-06-27 15:49+0000\n"
"Last-Translator: Fred L <88com88@gmail.com>, 2022\n"
"Language-Team: French (https://www.transifex.com/sabnzbd/teams/111101/fr/)\n"
@@ -451,7 +451,6 @@ msgstr ""
"Vous devez définir une bande passante maximale avant de pouvoir définir une "
"limite de bande passante"
#. Warning message
#: sabnzbd/downloader.py
msgid "Cannot connect to server %s [%s]"
msgstr "Impossible de se connecter au serveur %s [%s]"
@@ -475,20 +474,21 @@ msgstr "Il n'y a aucun serveur actif !"
msgid "Failed to initialize %s@%s with reason: %s"
msgstr "Échec d'initialisation de %s@%s pour la raison suivante : %s"
#. Warning message
#: sabnzbd/downloader.py
msgid "Too many connections to server %s"
msgstr "Trop de connexions au serveur %s"
msgid "Too many connections to server %s [%s]"
msgstr "Trop de connexions au serveur %s [%s]"
#. Warning message
#: sabnzbd/downloader.py
msgid "Probable account sharing"
msgstr "Partage de compte probable"
msgid ""
"Login from too many different IP addresses to server %s [%s] - "
"https://sabnzbd.org/multiple-adresses"
msgstr ""
"Connexion au serveur %s [%s] à partir de trop d'adresses IP différentes - "
"https://sabnzbd.org/multiple-adresses"
#. Error message
#: sabnzbd/downloader.py
msgid "Failed login for server %s"
msgstr "Échec de la connexion au serveur %s"
msgid "Failed login for server %s [%s]"
msgstr "Échec de la connexion au serveur %s [%s]"
#. Error message
#: sabnzbd/downloader.py
@@ -3120,6 +3120,10 @@ msgstr ""
msgid "System Folders"
msgstr "Dossiers système"
#: sabnzbd/skintext.py
msgid "Hidden Folders"
msgstr ""
#: sabnzbd/skintext.py
msgid "Administrative Folder"
msgstr "Dossier administrateur"

View File

@@ -1,16 +1,16 @@
# SABnzbd Translation Template file MAIN
# Copyright 2007-2022 The SABnzbd-Team
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2022
# ION, 2022
#
# Safihre <safihre@sabnzbd.org>, 2023
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-3.7.0Beta1\n"
"Project-Id-Version: SABnzbd-3.8.0-develop\n"
"PO-Revision-Date: 2020-06-27 15:49+0000\n"
"Last-Translator: ION, 2022\n"
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2022\n"
"Language-Team: Hebrew (https://www.transifex.com/sabnzbd/teams/111101/he/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -422,7 +422,6 @@ msgstr "מושהה"
msgid "You must set a maximum bandwidth before you can set a bandwidth limit"
msgstr "אתה חייב לקבוע רוחב פס מרבי לפני שאתה קובע מגבלת רוחב פס"
#. Warning message
#: sabnzbd/downloader.py
msgid "Cannot connect to server %s [%s]"
msgstr "לא ניתן להתחבר אל השרת %s [%s]"
@@ -446,20 +445,19 @@ msgstr "אין שרתים פעילים!"
msgid "Failed to initialize %s@%s with reason: %s"
msgstr "נכשל באתחול %s@%s עם סיבה: %s"
#. Warning message
#: sabnzbd/downloader.py
msgid "Too many connections to server %s"
msgstr "יותר מדי חיבורים לשרת %s"
msgid "Too many connections to server %s [%s]"
msgstr "יותר מדי חיבורים לשרת %s [%s]"
#. Warning message
#: sabnzbd/downloader.py
msgid "Probable account sharing"
msgstr "שיתוף סביר של חשבון"
msgid ""
"Login from too many different IP addresses to server %s [%s] - "
"https://sabnzbd.org/multiple-adresses"
msgstr ""
#. Error message
#: sabnzbd/downloader.py
msgid "Failed login for server %s"
msgstr "נכשל בכניסה אל השרת %s"
msgid "Failed login for server %s [%s]"
msgstr "נכשל בכניסה אל השרת %s [%s]"
#. Error message
#: sabnzbd/downloader.py
@@ -2459,7 +2457,7 @@ msgstr "מהירות דיסק"
#: sabnzbd/skintext.py
msgid "System load"
msgstr ""
msgstr "טעינת מערכת"
#. Do not translate Pystone
#: sabnzbd/skintext.py
@@ -2752,7 +2750,7 @@ msgstr ""
#. Config->Scheduling
#: sabnzbd/skintext.py
msgid "Create backup"
msgstr ""
msgstr "צור גיבוי"
#: sabnzbd/skintext.py
msgid ""
@@ -2761,6 +2759,9 @@ msgid ""
"the Completed Download Folder.<br>Recurring backups can be configured on the"
" Scheduling page."
msgstr ""
"צור גיבוי של קובץ התצורה ומסדי הנתונים בתיקיית הגיבויים.<br>אם תיקיית "
"הגיבויים לא הוגדרה, הגיבוי ייווצר בתיקיית ההורדות שהושלמו.<br>גיבויים חוזרים"
" יכולים להיות מתוצרים בדף התזמון."
#: sabnzbd/skintext.py
msgid "Cleanup List"
@@ -3025,6 +3026,10 @@ msgstr "קובץ שמכיל את כל הסיסמאות שינוסו על קבצ
msgid "System Folders"
msgstr "תיקיות מערכת"
#: sabnzbd/skintext.py
msgid "Hidden Folders"
msgstr ""
#: sabnzbd/skintext.py
msgid "Administrative Folder"
msgstr "תיקייה מינהלית"
@@ -3039,7 +3044,7 @@ msgstr ""
#: sabnzbd/skintext.py
msgid "Backup Folder"
msgstr ""
msgstr "תיקיית גיבויים"
#: sabnzbd/skintext.py
msgid ""
@@ -3047,6 +3052,8 @@ msgid ""
"stored.<br />If left empty, the backup will be created in the Completed "
"Download Folder."
msgstr ""
"מיקום שבו הגיבויים של קובץ התצורה ומסדי הנתונים מאוחסנים.<br />אם נשאר ריק, "
"הגיבוי ייווצר בתיקיית ההורדות שהושלמו."
#: sabnzbd/skintext.py
msgid "<i>Data will <b>not</b> be moved. Requires SABnzbd restart!</i>"
@@ -3329,11 +3336,11 @@ msgstr "החלף רווחים בקווים תחתונים בשמות תיקיו
#: sabnzbd/skintext.py
msgid "Replace underscores in folder name"
msgstr ""
msgstr "החלף קווים תחתונים בשמות תיקייה"
#: sabnzbd/skintext.py
msgid "Replace underscores with dots in folder names."
msgstr ""
msgstr "החלף קווים תחתונים בנקודות בשמות תיקייה"
#: sabnzbd/skintext.py
msgid "Replace dots in Foldername"

View File

@@ -1,13 +1,13 @@
# SABnzbd Translation Template file MAIN
# Copyright 2007-2022 The SABnzbd-Team
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2022
#
# Safihre <safihre@sabnzbd.org>, 2023
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-3.7.0Beta1\n"
"Project-Id-Version: SABnzbd-3.8.0-develop\n"
"PO-Revision-Date: 2020-06-27 15:49+0000\n"
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2022\n"
"Language-Team: Norwegian Bokmål (https://www.transifex.com/sabnzbd/teams/111101/nb/)\n"
@@ -418,7 +418,6 @@ msgstr "Pauset"
msgid "You must set a maximum bandwidth before you can set a bandwidth limit"
msgstr "Du må sette maks båndbredde før du kan sette en båndbreddebegrensning"
#. Warning message
#: sabnzbd/downloader.py
msgid "Cannot connect to server %s [%s]"
msgstr "Kan ikke koble til server %s [%s]"
@@ -442,20 +441,19 @@ msgstr ""
msgid "Failed to initialize %s@%s with reason: %s"
msgstr "Feilet å starte %s@%s grunnet: %s"
#. Warning message
#: sabnzbd/downloader.py
msgid "Too many connections to server %s"
msgstr "For mange tilkoblinger til server %s"
msgid "Too many connections to server %s [%s]"
msgstr "For mange tilkoblinger til server %s [%s]"
#. Warning message
#: sabnzbd/downloader.py
msgid "Probable account sharing"
msgstr "Mistenkt kontodeling"
msgid ""
"Login from too many different IP addresses to server %s [%s] - "
"https://sabnzbd.org/multiple-adresses"
msgstr ""
#. Error message
#: sabnzbd/downloader.py
msgid "Failed login for server %s"
msgstr "Kunne ikke logge inn på server %s"
msgid "Failed login for server %s [%s]"
msgstr "Kunne ikke logge inn på server %s [%s]"
#. Error message
#: sabnzbd/downloader.py
@@ -3007,6 +3005,10 @@ msgstr ""
msgid "System Folders"
msgstr "Systemmapper"
#: sabnzbd/skintext.py
msgid "Hidden Folders"
msgstr ""
#: sabnzbd/skintext.py
msgid "Administrative Folder"
msgstr "Administrativ Mappe"

View File

@@ -1,14 +1,14 @@
# SABnzbd Translation Template file MAIN
# Copyright 2007-2022 The SABnzbd-Team
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
# Translators:
# Rik Brouwer, 2022
# Safihre <safihre@sabnzbd.org>, 2022
# Safihre <safihre@sabnzbd.org>, 2023
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-3.7.0Beta1\n"
"Project-Id-Version: SABnzbd-3.8.0-develop\n"
"PO-Revision-Date: 2020-06-27 15:49+0000\n"
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2022\n"
"Language-Team: Dutch (https://www.transifex.com/sabnzbd/teams/111101/nl/)\n"
@@ -445,7 +445,6 @@ msgstr ""
"Je moet eerst een maximumbandbreedte instellen voordat je een limiet kunt "
"instellen"
#. Warning message
#: sabnzbd/downloader.py
msgid "Cannot connect to server %s [%s]"
msgstr "Verbinding maken met server %s [%s] niet mogelijk"
@@ -469,20 +468,21 @@ msgstr "Er zijn geen actieve servers!"
msgid "Failed to initialize %s@%s with reason: %s"
msgstr "Initialisatie van %s@%s mislukt, vanwege: %s"
#. Warning message
#: sabnzbd/downloader.py
msgid "Too many connections to server %s"
msgstr "Te veel verbindingen met server %s"
msgid "Too many connections to server %s [%s]"
msgstr "Te veel verbindingen met server %s [%s]"
#. Warning message
#: sabnzbd/downloader.py
msgid "Probable account sharing"
msgstr "Mogelijk delen van account"
msgid ""
"Login from too many different IP addresses to server %s [%s] - "
"https://sabnzbd.org/multiple-adresses"
msgstr ""
"Teveel verschillende IP-adressen probeerde in te loggen op server %s [%s] - "
"https://sabnzbd.org/multiple-adresses"
#. Error message
#: sabnzbd/downloader.py
msgid "Failed login for server %s"
msgstr "Aanmelden bij server %s mislukt"
msgid "Failed login for server %s [%s]"
msgstr "Aanmelden bij server %s mislukt [%s]"
#. Error message
#: sabnzbd/downloader.py
@@ -3083,6 +3083,10 @@ msgstr ""
msgid "System Folders"
msgstr "Systeemmappen"
#: sabnzbd/skintext.py
msgid "Hidden Folders"
msgstr ""
#: sabnzbd/skintext.py
msgid "Administrative Folder"
msgstr "Administratieve map"

View File

@@ -1,13 +1,13 @@
# SABnzbd Translation Template file MAIN
# Copyright 2007-2022 The SABnzbd-Team
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2022
#
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-3.7.0Beta1\n"
"Project-Id-Version: SABnzbd-3.8.0-develop\n"
"PO-Revision-Date: 2020-06-27 15:49+0000\n"
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2022\n"
"Language-Team: Polish (https://www.transifex.com/sabnzbd/teams/111101/pl/)\n"
@@ -415,7 +415,6 @@ msgstr ""
"Przed ustawieniem limitu przepustowości należy ustawić maksymalną "
"przepustowość"
#. Warning message
#: sabnzbd/downloader.py
msgid "Cannot connect to server %s [%s]"
msgstr "Nie można połączyć się z serwerem %s [%s]"
@@ -439,20 +438,19 @@ msgstr ""
msgid "Failed to initialize %s@%s with reason: %s"
msgstr "Błąd podczas inicjalizacji %s@%s: %s"
#. Warning message
#: sabnzbd/downloader.py
msgid "Too many connections to server %s"
msgstr "Zbyt wiele połączeń do serwera %s"
msgid "Too many connections to server %s [%s]"
msgstr "Zbyt wiele połączeń do serwera %s [%s]"
#. Warning message
#: sabnzbd/downloader.py
msgid "Probable account sharing"
msgstr "Prawdopodobne współdzielenie konta"
msgid ""
"Login from too many different IP addresses to server %s [%s] - "
"https://sabnzbd.org/multiple-adresses"
msgstr ""
#. Error message
#: sabnzbd/downloader.py
msgid "Failed login for server %s"
msgstr "Błąd logowania do serwera %s"
msgid "Failed login for server %s [%s]"
msgstr "Błąd logowania do serwera %s [%s]"
#. Error message
#: sabnzbd/downloader.py
@@ -3016,6 +3014,10 @@ msgstr ""
msgid "System Folders"
msgstr "Katalogi systemowe"
#: sabnzbd/skintext.py
msgid "Hidden Folders"
msgstr ""
#: sabnzbd/skintext.py
msgid "Administrative Folder"
msgstr "Katalog administracyjny"

View File

@@ -1,13 +1,13 @@
# SABnzbd Translation Template file MAIN
# Copyright 2007-2022 The SABnzbd-Team
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2022
#
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-3.7.0Beta1\n"
"Project-Id-Version: SABnzbd-3.8.0-develop\n"
"PO-Revision-Date: 2020-06-27 15:49+0000\n"
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2022\n"
"Language-Team: Portuguese (Brazil) (https://www.transifex.com/sabnzbd/teams/111101/pt_BR/)\n"
@@ -421,7 +421,6 @@ msgstr ""
"Você deve definir a largura de banda máxima antes de definir um limite de "
"banda"
#. Warning message
#: sabnzbd/downloader.py
msgid "Cannot connect to server %s [%s]"
msgstr "Não é possível conectar ao servidor %s [%s]"
@@ -445,20 +444,19 @@ msgstr ""
msgid "Failed to initialize %s@%s with reason: %s"
msgstr "Falha ao iniciar %s@%s devido as seguintes razões: %s"
#. Warning message
#: sabnzbd/downloader.py
msgid "Too many connections to server %s"
msgstr "Excesso de conexões ao servidor %s"
msgid "Too many connections to server %s [%s]"
msgstr "Excesso de conexões ao servidor %s [%s]"
#. Warning message
#: sabnzbd/downloader.py
msgid "Probable account sharing"
msgstr "Provável compartilhamento de conta"
msgid ""
"Login from too many different IP addresses to server %s [%s] - "
"https://sabnzbd.org/multiple-adresses"
msgstr ""
#. Error message
#: sabnzbd/downloader.py
msgid "Failed login for server %s"
msgstr "Falha de logon ao servidor %s"
msgid "Failed login for server %s [%s]"
msgstr "Falha de logon ao servidor %s [%s]"
#. Error message
#: sabnzbd/downloader.py
@@ -3016,6 +3014,10 @@ msgstr ""
msgid "System Folders"
msgstr "Pastas de Sistema"
#: sabnzbd/skintext.py
msgid "Hidden Folders"
msgstr ""
#: sabnzbd/skintext.py
msgid "Administrative Folder"
msgstr "Pasta Administrativa"

View File

@@ -1,14 +1,14 @@
# SABnzbd Translation Template file MAIN
# Copyright 2007-2022 The SABnzbd-Team
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
#
# Translators:
# Eduard Baniceru <war4peace@gmail.com>, 2021
# Safihre <safihre@sabnzbd.org>, 2022
#
# Safihre <safihre@sabnzbd.org>, 2023
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-3.7.0Beta1\n"
"Project-Id-Version: SABnzbd-3.8.0-develop\n"
"PO-Revision-Date: 2020-06-27 15:49+0000\n"
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2022\n"
"Language-Team: Romanian (https://www.transifex.com/sabnzbd/teams/111101/ro/)\n"
@@ -435,7 +435,6 @@ msgstr ""
"Trebuie să seta-ţi lățimea de bandă maximă înainte de a seta o limită de "
"viteză."
#. Warning message
#: sabnzbd/downloader.py
msgid "Cannot connect to server %s [%s]"
msgstr "Nu mă pot conecta la serverul %s [%s]"
@@ -459,20 +458,19 @@ msgstr ""
msgid "Failed to initialize %s@%s with reason: %s"
msgstr "Nu am putu inițializa %s@%s din cauza următorului motiv: %s"
#. Warning message
#: sabnzbd/downloader.py
msgid "Too many connections to server %s"
msgstr "Prea multe conexiuni la serverul %s"
msgid "Too many connections to server %s [%s]"
msgstr "Prea multe conexiuni la serverul %s [%s]"
#. Warning message
#: sabnzbd/downloader.py
msgid "Probable account sharing"
msgstr "Partajare cont probabilă"
msgid ""
"Login from too many different IP addresses to server %s [%s] - "
"https://sabnzbd.org/multiple-adresses"
msgstr ""
#. Error message
#: sabnzbd/downloader.py
msgid "Failed login for server %s"
msgstr "Autentificare nereuşită la serverul %s"
msgid "Failed login for server %s [%s]"
msgstr "Autentificare nereuşită la serverul %s [%s]"
#. Error message
#: sabnzbd/downloader.py
@@ -3042,6 +3040,10 @@ msgstr "Fişier ce conţine parole pentru fişiere RAR encriptate."
msgid "System Folders"
msgstr "Dosare Sistem"
#: sabnzbd/skintext.py
msgid "Hidden Folders"
msgstr ""
#: sabnzbd/skintext.py
msgid "Administrative Folder"
msgstr "Dosar Administrativ"

View File

@@ -1,13 +1,13 @@
# SABnzbd Translation Template file MAIN
# Copyright 2007-2022 The SABnzbd-Team
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2022
#
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-3.7.0Beta1\n"
"Project-Id-Version: SABnzbd-3.8.0-develop\n"
"PO-Revision-Date: 2020-06-27 15:49+0000\n"
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2022\n"
"Language-Team: Russian (https://www.transifex.com/sabnzbd/teams/111101/ru/)\n"
@@ -417,7 +417,6 @@ msgstr "Приостановлено"
msgid "You must set a maximum bandwidth before you can set a bandwidth limit"
msgstr ""
#. Warning message
#: sabnzbd/downloader.py
msgid "Cannot connect to server %s [%s]"
msgstr "Не удаётся подключиться к серверу %s [%s]"
@@ -441,20 +440,19 @@ msgstr ""
msgid "Failed to initialize %s@%s with reason: %s"
msgstr ""
#. Warning message
#: sabnzbd/downloader.py
msgid "Too many connections to server %s"
msgid "Too many connections to server %s [%s]"
msgstr ""
#. Warning message
#: sabnzbd/downloader.py
msgid "Probable account sharing"
msgstr "Возможно, учётная запись используется где-то ещё"
msgid ""
"Login from too many different IP addresses to server %s [%s] - "
"https://sabnzbd.org/multiple-adresses"
msgstr ""
#. Error message
#: sabnzbd/downloader.py
msgid "Failed login for server %s"
msgstr "Ошибка входа на сервер %s"
msgid "Failed login for server %s [%s]"
msgstr "Ошибка входа на сервер %s [%s]"
#. Error message
#: sabnzbd/downloader.py
@@ -3012,6 +3010,10 @@ msgstr ""
msgid "System Folders"
msgstr "Системные папки"
#: sabnzbd/skintext.py
msgid "Hidden Folders"
msgstr ""
#: sabnzbd/skintext.py
msgid "Administrative Folder"
msgstr "Административная папка"

View File

@@ -1,13 +1,13 @@
# SABnzbd Translation Template file MAIN
# Copyright 2007-2022 The SABnzbd-Team
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2022
#
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-3.7.0Beta1\n"
"Project-Id-Version: SABnzbd-3.8.0-develop\n"
"PO-Revision-Date: 2020-06-27 15:49+0000\n"
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2022\n"
"Language-Team: Serbian (https://www.transifex.com/sabnzbd/teams/111101/sr/)\n"
@@ -416,7 +416,6 @@ msgid "You must set a maximum bandwidth before you can set a bandwidth limit"
msgstr ""
"Требате да поставите максимални проток пре него што поставите ограничење"
#. Warning message
#: sabnzbd/downloader.py
msgid "Cannot connect to server %s [%s]"
msgstr "Neuspešno povezivanje na server %s[%s]"
@@ -440,20 +439,19 @@ msgstr ""
msgid "Failed to initialize %s@%s with reason: %s"
msgstr "Neuspešna inicijalizacija %s@%s iz razloga: %s"
#. Warning message
#: sabnzbd/downloader.py
msgid "Too many connections to server %s"
msgstr "Previše konekcija ka serveru %s"
msgid "Too many connections to server %s [%s]"
msgstr "Previše konekcija ka serveru %s [%s]"
#. Warning message
#: sabnzbd/downloader.py
msgid "Probable account sharing"
msgstr "Moguće deljenje naloga"
msgid ""
"Login from too many different IP addresses to server %s [%s] - "
"https://sabnzbd.org/multiple-adresses"
msgstr ""
#. Error message
#: sabnzbd/downloader.py
msgid "Failed login for server %s"
msgstr "Неуспешно пријављивање на сервер %s"
msgid "Failed login for server %s [%s]"
msgstr "Неуспешно пријављивање на сервер %s [%s]"
#. Error message
#: sabnzbd/downloader.py
@@ -2997,6 +2995,10 @@ msgstr "Датотека са свим лозинкама за шифрован
msgid "System Folders"
msgstr "Системске фасцикле"
#: sabnzbd/skintext.py
msgid "Hidden Folders"
msgstr ""
#: sabnzbd/skintext.py
msgid "Administrative Folder"
msgstr "Фасцикла Администратора"

View File

@@ -1,13 +1,13 @@
# SABnzbd Translation Template file MAIN
# Copyright 2007-2022 The SABnzbd-Team
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2022
#
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-3.7.0Beta1\n"
"Project-Id-Version: SABnzbd-3.8.0-develop\n"
"PO-Revision-Date: 2020-06-27 15:49+0000\n"
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2022\n"
"Language-Team: Swedish (https://www.transifex.com/sabnzbd/teams/111101/sv/)\n"
@@ -416,7 +416,6 @@ msgstr "Pausad"
msgid "You must set a maximum bandwidth before you can set a bandwidth limit"
msgstr "Du måste ange maximal bandbredd innan du kan ange bandbreddsgräns"
#. Warning message
#: sabnzbd/downloader.py
msgid "Cannot connect to server %s [%s]"
msgstr "Kan ej ansluta till server %s [%s]"
@@ -440,20 +439,19 @@ msgstr ""
msgid "Failed to initialize %s@%s with reason: %s"
msgstr "Misslyckades att initiera %s@%s med orsak %s"
#. Warning message
#: sabnzbd/downloader.py
msgid "Too many connections to server %s"
msgstr "För många anslutningar till servern %s"
msgid "Too many connections to server %s [%s]"
msgstr "För många anslutningar till servern %s [%s]"
#. Warning message
#: sabnzbd/downloader.py
msgid "Probable account sharing"
msgstr "Misstänkt kontodelning"
msgid ""
"Login from too many different IP addresses to server %s [%s] - "
"https://sabnzbd.org/multiple-adresses"
msgstr ""
#. Error message
#: sabnzbd/downloader.py
msgid "Failed login for server %s"
msgstr "Det gick inte att logga in på server %s"
msgid "Failed login for server %s [%s]"
msgstr "Det gick inte att logga in på server %s [%s]"
#. Error message
#: sabnzbd/downloader.py
@@ -3008,6 +3006,10 @@ msgstr ""
msgid "System Folders"
msgstr "Systemmappar"
#: sabnzbd/skintext.py
msgid "Hidden Folders"
msgstr ""
#: sabnzbd/skintext.py
msgid "Administrative Folder"
msgstr "Administrativ mapp"

View File

@@ -1,13 +1,13 @@
# SABnzbd Translation Template file MAIN
# Copyright 2007-2022 The SABnzbd-Team
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2022
#
# Safihre <safihre@sabnzbd.org>, 2023
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-3.7.0Beta1\n"
"Project-Id-Version: SABnzbd-3.8.0-develop\n"
"PO-Revision-Date: 2020-06-27 15:49+0000\n"
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2022\n"
"Language-Team: Chinese (China) (https://www.transifex.com/sabnzbd/teams/111101/zh_CN/)\n"
@@ -413,7 +413,6 @@ msgstr "已暂停"
msgid "You must set a maximum bandwidth before you can set a bandwidth limit"
msgstr "设置带宽限制前,您必须设置最大带宽值"
#. Warning message
#: sabnzbd/downloader.py
msgid "Cannot connect to server %s [%s]"
msgstr "无法连接到服务器 %s [%s]"
@@ -437,20 +436,19 @@ msgstr ""
msgid "Failed to initialize %s@%s with reason: %s"
msgstr "无法初始化 %s@%s原因为: %s"
#. Warning message
#: sabnzbd/downloader.py
msgid "Too many connections to server %s"
msgstr "服务器 %s 连接数过多"
msgid "Too many connections to server %s [%s]"
msgstr "服务器 %s 连接数过多 [%s]"
#. Warning message
#: sabnzbd/downloader.py
msgid "Probable account sharing"
msgstr "可能存在账号共享"
msgid ""
"Login from too many different IP addresses to server %s [%s] - "
"https://sabnzbd.org/multiple-adresses"
msgstr ""
#. Error message
#: sabnzbd/downloader.py
msgid "Failed login for server %s"
msgstr "无法登录服务器 %s"
msgid "Failed login for server %s [%s]"
msgstr "无法登录服务器 %s [%s]"
#. Error message
#: sabnzbd/downloader.py
@@ -2966,6 +2964,10 @@ msgstr "包含要对加密 RAR 文件进行尝试的所有密码的文件。"
msgid "System Folders"
msgstr "系统文件夹"
#: sabnzbd/skintext.py
msgid "Hidden Folders"
msgstr ""
#: sabnzbd/skintext.py
msgid "Administrative Folder"
msgstr "管理文件夹"

View File

@@ -1,11 +1,11 @@
#
# SABnzbd Translation Template file NSIS
# Copyright 2007-2022 The SABnzbd-Team
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-3.7.0Beta1\n"
"Project-Id-Version: SABnzbd-3.8.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"

View File

@@ -1,13 +1,13 @@
# SABnzbd Translation Template file NSIS
# Copyright 2007-2022 The SABnzbd-Team
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
#
# Translators:
# Pavel C <quoing_transifex@mess.cz>, 2022
#
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-3.7.0Beta1\n"
"Project-Id-Version: SABnzbd-3.8.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://www.transifex.com/sabnzbd/teams/111101/cs/)\n"

View File

@@ -1,13 +1,13 @@
# SABnzbd Translation Template file NSIS
# Copyright 2007-2022 The SABnzbd-Team
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2020
#
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-3.7.0Beta1\n"
"Project-Id-Version: SABnzbd-3.8.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://www.transifex.com/sabnzbd/teams/111101/da/)\n"

View File

@@ -1,5 +1,5 @@
# SABnzbd Translation Template file NSIS
# Copyright 2007-2022 The SABnzbd-Team
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
# Translators:
@@ -8,7 +8,7 @@
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-3.7.0Beta1\n"
"Project-Id-Version: SABnzbd-3.8.0-develop\n"
"PO-Revision-Date: 2020-06-27 15:56+0000\n"
"Last-Translator: reloxx13 <reloxx@interia.pl>, 2022\n"
"Language-Team: German (https://www.transifex.com/sabnzbd/teams/111101/de/)\n"

View File

@@ -1,14 +1,14 @@
# SABnzbd Translation Template file NSIS
# Copyright 2007-2022 The SABnzbd-Team
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2020
# Ester Molla Aragones <moarages@gmail.com>, 2020
#
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-3.7.0Beta1\n"
"Project-Id-Version: SABnzbd-3.8.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://www.transifex.com/sabnzbd/teams/111101/es/)\n"

View File

@@ -1,13 +1,13 @@
# SABnzbd Translation Template file NSIS
# Copyright 2007-2022 The SABnzbd-Team
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2020
#
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-3.7.0Beta1\n"
"Project-Id-Version: SABnzbd-3.8.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://www.transifex.com/sabnzbd/teams/111101/fi/)\n"

View File

@@ -1,14 +1,14 @@
# SABnzbd Translation Template file NSIS
# Copyright 2007-2022 The SABnzbd-Team
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2020
# Fred L <88com88@gmail.com>, 2021
#
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-3.7.0Beta1\n"
"Project-Id-Version: SABnzbd-3.8.0-develop\n"
"PO-Revision-Date: 2020-06-27 15:56+0000\n"
"Last-Translator: Fred L <88com88@gmail.com>, 2021\n"
"Language-Team: French (https://www.transifex.com/sabnzbd/teams/111101/fr/)\n"

View File

@@ -1,14 +1,14 @@
# SABnzbd Translation Template file NSIS
# Copyright 2007-2022 The SABnzbd-Team
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2020
# ION, 2021
#
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-3.7.0Beta1\n"
"Project-Id-Version: SABnzbd-3.8.0-develop\n"
"PO-Revision-Date: 2020-06-27 15:56+0000\n"
"Last-Translator: ION, 2021\n"
"Language-Team: Hebrew (https://www.transifex.com/sabnzbd/teams/111101/he/)\n"

View File

@@ -1,13 +1,13 @@
# SABnzbd Translation Template file NSIS
# Copyright 2007-2022 The SABnzbd-Team
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2020
#
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-3.7.0Beta1\n"
"Project-Id-Version: SABnzbd-3.8.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://www.transifex.com/sabnzbd/teams/111101/nb/)\n"

View File

@@ -1,13 +1,13 @@
# SABnzbd Translation Template file NSIS
# Copyright 2007-2022 The SABnzbd-Team
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2021
#
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-3.7.0Beta1\n"
"Project-Id-Version: SABnzbd-3.8.0-develop\n"
"PO-Revision-Date: 2020-06-27 15:56+0000\n"
"Last-Translator: Safihre <safihre@sabnzbd.org>, 2021\n"
"Language-Team: Dutch (https://www.transifex.com/sabnzbd/teams/111101/nl/)\n"

View File

@@ -1,13 +1,13 @@
# SABnzbd Translation Template file NSIS
# Copyright 2007-2022 The SABnzbd-Team
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2020
#
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-3.7.0Beta1\n"
"Project-Id-Version: SABnzbd-3.8.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://www.transifex.com/sabnzbd/teams/111101/pl/)\n"

View File

@@ -1,13 +1,13 @@
# SABnzbd Translation Template file NSIS
# Copyright 2007-2022 The SABnzbd-Team
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2020
#
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-3.7.0Beta1\n"
"Project-Id-Version: SABnzbd-3.8.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://www.transifex.com/sabnzbd/teams/111101/pt_BR/)\n"

View File

@@ -1,13 +1,13 @@
# SABnzbd Translation Template file NSIS
# Copyright 2007-2022 The SABnzbd-Team
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2020
#
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-3.7.0Beta1\n"
"Project-Id-Version: SABnzbd-3.8.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://www.transifex.com/sabnzbd/teams/111101/ro/)\n"

View File

@@ -1,13 +1,13 @@
# SABnzbd Translation Template file NSIS
# Copyright 2007-2022 The SABnzbd-Team
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2020
#
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-3.7.0Beta1\n"
"Project-Id-Version: SABnzbd-3.8.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://www.transifex.com/sabnzbd/teams/111101/ru/)\n"

View File

@@ -1,13 +1,13 @@
# SABnzbd Translation Template file NSIS
# Copyright 2007-2022 The SABnzbd-Team
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2020
#
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-3.7.0Beta1\n"
"Project-Id-Version: SABnzbd-3.8.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://www.transifex.com/sabnzbd/teams/111101/sr/)\n"

View File

@@ -1,13 +1,13 @@
# SABnzbd Translation Template file NSIS
# Copyright 2007-2022 The SABnzbd-Team
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2020
#
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-3.7.0Beta1\n"
"Project-Id-Version: SABnzbd-3.8.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://www.transifex.com/sabnzbd/teams/111101/sv/)\n"

View File

@@ -1,13 +1,13 @@
# SABnzbd Translation Template file NSIS
# Copyright 2007-2022 The SABnzbd-Team
# Copyright 2007-2023 The SABnzbd-Team
# team@sabnzbd.org
#
#
# Translators:
# Safihre <safihre@sabnzbd.org>, 2020
#
#
msgid ""
msgstr ""
"Project-Id-Version: SABnzbd-3.7.0Beta1\n"
"Project-Id-Version: SABnzbd-3.8.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://www.transifex.com/sabnzbd/teams/111101/zh_CN/)\n"

View File

@@ -6,41 +6,41 @@ cffi==1.15.1
pycparser==2.21
feedparser==6.0.10
configobj==5.0.6
cheroot==8.6.0
cheroot==9.0.0
six==1.16.0
cherrypy==18.8.0
jaraco.functools==3.5.2
jaraco.collections==3.6.0
jaraco.collections==3.8.0
jaraco.text==3.8.1 # Newer version introduces irrelevant extra dependencies
jaraco.classes==3.2.3
jaraco.context==4.1.2
jaraco.context==4.2.0
more-itertools==9.0.0
zc.lockfile==2.0
python-dateutil==2.8.2
tempora==5.0.2
pytz==2022.5
tempora==5.2.0
pytz==2022.7
sgmllib3k==1.0.0
portend==3.1.0
chardet==5.0.0
chardet==5.1.0
PySocks==1.7.1
puremagic==1.14
guessit==3.4.3
guessit==3.5.0
babelfish==0.6.0
rebulk==3.1.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==38.0.3
cryptography==39.0.0
# 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
ujson==5.5.0
ujson==5.7.0
# Windows system integration
pywin32==304; sys_platform == 'win32'
pywin32==305; sys_platform == 'win32'
# macOS system calls
pyobjc==8.5.1; sys_platform == 'darwin'
pyobjc==9.0.1; sys_platform == 'darwin'
# Linux notifications
notify2==0.3.1; sys_platform != 'win32' and sys_platform != 'darwin'

View File

@@ -1,5 +1,5 @@
#!/usr/bin/python3 -OO
# Copyright 2007-2022 The SABnzbd-Team <team@sabnzbd.org>
# Copyright 2007-2023 The SABnzbd-Team <team@sabnzbd.org>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -196,6 +196,7 @@ CMDLINE = " ".join(['"%s"' % arg for arg in sys.argv])
__INITIALIZED__ = False
__SHUTTING_DOWN__ = False
##############################################################################
# Signal Handler
##############################################################################

View File

@@ -1,5 +1,5 @@
#!/usr/bin/python3 -OO
# Copyright 2007-2022 The SABnzbd-Team <team@sabnzbd.org>
# Copyright 2007-2023 The SABnzbd-Team <team@sabnzbd.org>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -590,7 +590,7 @@ def _api_addurl(name, kwargs):
# Reporting a list of NZO's, for compatibility with other add-methods
return report(keyword="", data={"status": True, "nzo_ids": [nzo_id]})
else:
logging.info("API-call addurl: no URLs recieved")
logging.info("API-call addurl: no URLs received")
return report(_MSG_NO_VALUE)

View File

@@ -1,5 +1,5 @@
#!/usr/bin/python3 -OO
# Copyright 2007-2022 The SABnzbd-Team <team@sabnzbd.org>
# Copyright 2007-2023 The SABnzbd-Team <team@sabnzbd.org>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License

View File

@@ -1,5 +1,5 @@
#!/usr/bin/python3 -OO
# Copyright 2007-2022 The SABnzbd-Team <team@sabnzbd.org>
# Copyright 2007-2023 The SABnzbd-Team <team@sabnzbd.org>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License

View File

@@ -1,5 +1,5 @@
#!/usr/bin/python3 -OO
# Copyright 2007-2022 The SABnzbd-Team <team@sabnzbd.org>
# Copyright 2007-2023 The SABnzbd-Team <team@sabnzbd.org>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License

View File

@@ -1,5 +1,5 @@
#!/usr/bin/python3 -OO
# Copyright 2007-2022 The SABnzbd-Team <team@sabnzbd.org>
# Copyright 2007-2023 The SABnzbd-Team <team@sabnzbd.org>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License

View File

@@ -1,5 +1,5 @@
#!/usr/bin/python3 -OO
# Copyright 2007-2022 The SABnzbd-Team <team@sabnzbd.org>
# Copyright 2007-2023 The SABnzbd-Team <team@sabnzbd.org>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -394,7 +394,6 @@ class ConfigServer:
"""Class defining a single server"""
def __init__(self, name, values):
self.__name = clean_section_name(name)
name = "servers," + self.__name
@@ -713,7 +712,9 @@ def get_dconfig(section, keyword, nested=False):
sect = CFG_DATABASE[section]
except KeyError:
return False, {}
if section in ("servers", "categories", "rss"):
if section == "categories":
data[section] = get_ordered_categories()
elif section in ("servers", "rss"):
data[section] = []
for keyword in sect.keys():
res, conf = get_dconfig(section, keyword, True)

View File

@@ -1,5 +1,5 @@
#!/usr/bin/python3 -OO
# Copyright 2007-2022 The SABnzbd-Team <team@sabnzbd.org>
# Copyright 2007-2023 The SABnzbd-Team <team@sabnzbd.org>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License

View File

@@ -1,5 +1,5 @@
#!/usr/bin/python3 -OO
# Copyright 2007-2022 The SABnzbd-Team <team@sabnzbd.org>
# Copyright 2007-2023 The SABnzbd-Team <team@sabnzbd.org>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -76,7 +76,7 @@ class HistoryDB:
@synchronized(DB_LOCK)
def __init__(self):
"""Determine databse path and create connection"""
"""Determine database path and create connection"""
self.connection: Optional[Connection] = None
self.cursor: Optional[Cursor] = None
if not HistoryDB.db_path:
@@ -543,6 +543,8 @@ def unpack_history_info(item: Union[Dict, sqlite3.Row]):
# Sort it so it is more logical
parsed_stage_log.sort(key=lambda stage_log: STAGES.get(stage_log["name"], 100))
item["stage_log"] = parsed_stage_log
else:
item["stage_log"] = []
if item["script_log"]:
item["script_log"] = ""
@@ -552,7 +554,7 @@ def unpack_history_info(item: Union[Dict, sqlite3.Row]):
return item
def midnight_history_purge():
def scheduled_history_purge():
logging.info("Scheduled history purge")
with HistoryDB() as history_db:
history_db.auto_history_purge()

View File

@@ -1,5 +1,5 @@
#!/usr/bin/python3 -OO
# Copyright 2007-2022 The SABnzbd-Team <team@sabnzbd.org>
# Copyright 2007-2023 The SABnzbd-Team <team@sabnzbd.org>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -68,7 +68,6 @@ class Decoder:
"""Implement thread-like coordinator for the decoders"""
def __init__(self):
# Initialize queue and servers
self.decoder_queue = queue.Queue()
@@ -93,7 +92,7 @@ class Decoder:
def stop(self):
# Put multiple to stop all decoders
for _ in self.decoder_workers:
self.decoder_queue.put((None, None))
self.decoder_queue.put((None, None, None))
def join(self):
# Wait for all decoders to finish
@@ -103,10 +102,9 @@ class Decoder:
except:
pass
def process(self, article: Article, raw_data: List[bytes]):
# We use reported article-size, just like sabyenc does
sabnzbd.ArticleCache.reserve_space(article.bytes)
self.decoder_queue.put((article, raw_data))
def process(self, article: Article, raw_data: List[bytes], data_size: int):
sabnzbd.ArticleCache.reserve_space(data_size)
self.decoder_queue.put((article, raw_data, data_size))
def queue_full(self) -> bool:
# Check if the queue size exceeds the limits
@@ -119,14 +117,14 @@ class DecoderWorker(Thread):
def __init__(self, decoder_queue):
super().__init__()
logging.debug("Initializing decoder %s", self.name)
self.decoder_queue: queue.Queue[Tuple[Optional[Article], Optional[List[bytes]]]] = decoder_queue
self.decoder_queue: queue.Queue[Tuple[Optional[Article], Optional[List[bytes]], Optional[int]]] = decoder_queue
def run(self):
while 1:
# Set Article and NzbObject objects to None so references from this
# thread do not keep the parent objects alive (see #1628)
decoded_data = raw_data = article = nzo = None
article, raw_data = self.decoder_queue.get()
article, raw_data, data_size = self.decoder_queue.get()
if not article:
logging.debug("Shutting down decoder %s", self.name)
break
@@ -135,7 +133,7 @@ class DecoderWorker(Thread):
art_id = article.article
# Free space in the decoder-queue
sabnzbd.ArticleCache.free_reserved_space(article.bytes)
sabnzbd.ArticleCache.free_reserved_space(data_size)
# Keeping track
article_success = False
@@ -234,6 +232,10 @@ class DecoderWorker(Thread):
# If the data needs to be written to disk due to full cache, this will be slow
# Causing the decoder-queue to fill up and delay the downloader
sabnzbd.ArticleCache.save_article(article, decoded_data)
article.decoded = True
elif not nzo.precheck:
# Nothing to save
article.on_disk = True
sabnzbd.NzbQueue.register_article(article, article_success)
@@ -242,9 +244,6 @@ def decode_yenc(article: Article, raw_data: List[bytes]) -> bytes:
# Let SABYenc do all the heavy lifting
decoded_data, yenc_filename, crc_correct = sabyenc3.decode_usenet_chunks(raw_data)
# Mark as decoded
article.decoded = True
# Assume it is yenc
article.nzf.type = "yenc"
@@ -374,9 +373,8 @@ def decode_uu(article: Article, raw_data: List[bytes]) -> bytes:
# Store the decoded data
decoded_data.write(decoded_line)
# Mark as decoded and set the type to uu; the latter is still needed in
# Set the type to uu; the latter is still needed in
# case the lowest_partnum article was damaged or slow to download.
article.decoded = True
article.nzf.type = "uu"
if article.lowest_partnum:
@@ -395,6 +393,5 @@ def search_new_server(article: Article) -> bool:
if not article.search_new_server():
# Increase bad articles if no new server was found
article.nzf.nzo.increase_bad_articles_counter("bad_articles")
article.nzf.has_bad_articles = True
return False
return True

View File

@@ -1,5 +1,5 @@
#!/usr/bin/python3 -OO
# Copyright 2007-2022 The SABnzbd-Team <team@sabnzbd.org>
# Copyright 2007-2023 The SABnzbd-Team <team@sabnzbd.org>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -18,7 +18,8 @@
##############################################################################
# Decorators
##############################################################################
from threading import RLock, Condition
from typing import Union, Callable
from threading import Lock, RLock, Condition
# All operations that modify the queue need to happen in a lock
@@ -29,18 +30,22 @@ NZBQUEUE_LOCK = RLock()
DOWNLOADER_CV = Condition(NZBQUEUE_LOCK)
def synchronized(lock):
def wrap(f):
def synchronized(lock: Union[Lock, RLock]):
def wrap(func: Callable):
def call_func(*args, **kw):
with lock:
return f(*args, **kw)
# Using the try/finally approach is 25% faster compared to using "with lock"
try:
lock.acquire()
return func(*args, **kw)
finally:
lock.release()
return call_func
return wrap
def NzbQueueLocker(func):
def NzbQueueLocker(func: Callable):
global DOWNLOADER_CV
def call_func(*params, **kparams):

View File

@@ -1,5 +1,5 @@
#!/usr/bin/python3 -OO
# Copyright 2007-2022 The SABnzbd-Team <team@sabnzbd.org>
# Copyright 2007-2023 The SABnzbd-Team <team@sabnzbd.org>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -46,7 +46,7 @@ MIN_FILE_SIZE = 10 * 1024 * 1024
def decode_par2(parfile: str) -> List[str]:
"""Parse a par2 file and rename files listed in the par2 to their real name. Resturn list of generated files"""
"""Parse a par2 file and rename files listed in the par2 to their real name. Return list of generated files"""
# Check if really a par2 file
if not is_parfile(parfile):
logging.info("Par2 file %s was not really a par2 file")

View File

@@ -1,5 +1,5 @@
#!/usr/bin/python3 -OO
# Copyright 2007-2022 The SABnzbd-Team <team@sabnzbd.org>
# Copyright 2007-2023 The SABnzbd-Team <team@sabnzbd.org>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -414,7 +414,6 @@ class DirectUnpacker(threading.Thread):
"%s\\" % long_path(extraction_path),
]
else:
# Don't use "-ai" (not needed for non-Windows)
# The -scf forces the output to be UTF8
command = [
sabnzbd.newsunpack.RAR_COMMAND,
@@ -423,6 +422,7 @@ class DirectUnpacker(threading.Thread):
"-idp",
"-scf",
"-o+",
"-ai",
password_command,
rarfile_path,
"%s/" % extraction_path,

View File

@@ -1,5 +1,5 @@
#!/usr/bin/python3 -OO
# Copyright 2007-2022 The SABnzbd-Team <team@sabnzbd.org>
# Copyright 2007-2023 The SABnzbd-Team <team@sabnzbd.org>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License

View File

@@ -1,5 +1,5 @@
#!/usr/bin/python3 -OO
# Copyright 2007-2022 The SABnzbd-Team <team@sabnzbd.org>
# Copyright 2007-2023 The SABnzbd-Team <team@sabnzbd.org>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -53,6 +53,8 @@ _PENALTY_VERYSHORT = 0.1 # Error 400 without cause clues
_SERVER_CHECK_DELAY = 0.5
# Wait this many seconds between updates of the BPSMeter
_BPSMETER_UPDATE_DELAY = 0.05
# How many articles should be prefetched when checking the next articles?
_ARTICLE_PREFETCH = 20
TIMER_LOCK = RLock()
@@ -114,7 +116,6 @@ class Server:
optional=False,
retention=0,
):
self.id: str = server_id
self.newid: Optional[str] = None
self.restart: bool = False
@@ -151,12 +152,14 @@ class Server:
self.have_stat: bool = True # Assume server has "STAT", until proven otherwise
self.article_queue: List[sabnzbd.nzbstuff.Article] = []
# Initialize threads
for i in range(threads):
self.idle_threads.append(NewsWrapper(self, i + 1))
# Skip during server testing
if threads:
# Initialize threads
for i in range(threads):
self.idle_threads.append(NewsWrapper(self, i + 1))
# Tell the BPSMeter about this server
sabnzbd.BPSMeter.init_server_stats(self.id)
# Tell the BPSMeter about this server
sabnzbd.BPSMeter.init_server_stats(self.id)
@property
def hostip(self) -> str:
@@ -176,27 +179,25 @@ class Server:
# Determine IP
ip = self.host
if self.info:
if cfg.load_balancing() == 0 or len(self.info) == 1:
# Check this first so we can fall back to default method if it returns None.
if len(self.info) > 1 and cfg.load_balancing() == 2:
# RFC6555 / Happy Eyeballs:
ip = happyeyeballs(self.host, port=self.port)
if not ip:
# nothing returned, so there was a connection problem
logging.debug("%s: No successful IP connection was possible using happyeyeballs", self.host)
if not ip or cfg.load_balancing() == 0 or len(self.info) == 1:
# Just return the first one, so all next threads use the same IP
ip = self.info[0][4][0]
logging.debug("%s: Connecting to address %s", self.host, ip)
elif cfg.load_balancing() == 1:
# Return a random entry from the possible IPs
rnd = random.randint(0, len(self.info) - 1)
ip = self.info[rnd][4][0]
logging.debug("%s: Connecting to address %s", self.host, ip)
elif cfg.load_balancing() == 2:
# RFC6555 / Happy Eyeballs:
ip = happyeyeballs(self.host, port=self.port)
if ip:
logging.debug("%s: Connecting to address %s", self.host, ip)
else:
# nothing returned, so there was a connection problem
logging.debug("%s: No successful IP connection was possible", self.host)
logging.debug("%s: Connecting to address %s", self.host, ip)
return ip
def deactivate(self):
"""Deactive server and reset queued articles"""
"""Deactivate server and reset queued articles"""
self.active = False
self.reset_article_queue()
@@ -228,6 +229,7 @@ class Server:
self.info = get_server_addrinfo(self.host, self.port)
if not self.info:
self.bad_cons += self.threads
self.info = False
else:
self.bad_cons = 0
self.request = False
@@ -394,7 +396,7 @@ class Downloader(Thread):
sabnzbd.notifier.send_notification("SABnzbd", T("Paused"), "pause_resume")
if cfg.preserve_paused_state():
cfg.start_paused.set(True)
if self.is_paused():
if self.no_active_jobs():
sabnzbd.BPSMeter.reset()
if cfg.autodisconnect():
self.disconnect()
@@ -415,7 +417,7 @@ class Downloader(Thread):
def limit_speed(self, value: Union[str, int]):
"""Set the actual download speed in Bytes/sec
When 'value' ends with a '%' sign or is within 1-100, it is interpreted as a pecentage of the maximum bandwidth
When 'value' ends with a '%' sign or is within 1-100, it is interpreted as a percentage of the maximum bandwidth
When no '%' is found, it is interpreted as an absolute speed (including KMGT notation).
"""
if value:
@@ -451,23 +453,19 @@ class Downloader(Thread):
self.sleep_time = cfg.downloader_sleep_time() * 0.0001
logging.debug("Sleep time: %f seconds", self.sleep_time)
def is_paused(self):
if not self.paused:
return False
else:
if sabnzbd.NzbQueue.has_forced_items():
return False
else:
return True
def no_active_jobs(self) -> bool:
"""Is the queue paused or is it paused but are there still forced items?"""
return self.paused and not sabnzbd.NzbQueue.has_forced_jobs()
def highest_server(self, me: Server):
"""Return True when this server has the highest priority of the active ones
0 is the highest priority
0 is the highest priority, servers are sorted by priority.
"""
for server in self.servers:
if server is not me and server.active and server.priority < me.priority:
if server.priority == me.priority:
return True
if server.active:
return False
return True
def maybe_block_server(self, server: Server):
# Was it resolving problem?
@@ -504,7 +502,7 @@ class Downloader(Thread):
# Make sure server address resolution is refreshed
server.info = None
def decode(self, article, raw_data: Optional[List[bytes]]):
def decode(self, article, raw_data: Optional[List[bytes]] = None, data_size: Optional[int] = None):
"""Decode article and check the status of
the decoder and the assembler
"""
@@ -516,11 +514,10 @@ class Downloader(Thread):
if not article.search_new_server():
sabnzbd.NzbQueue.register_article(article, success=False)
article.nzf.nzo.increase_bad_articles_counter("missing_articles")
article.nzf.has_bad_articles = True
return
# Send to decoder-queue
sabnzbd.Decoder.process(article, raw_data)
sabnzbd.Decoder.process(article, raw_data, data_size)
# See if we need to delay because the queues are full
logged_counter = 0
@@ -614,7 +611,7 @@ class Downloader(Thread):
if (
not server.idle_threads
or self.is_paused()
or self.no_active_jobs()
or self.shutdown
or self.paused_for_postproc
or not server.active
@@ -640,16 +637,14 @@ class Downloader(Thread):
article = server.article_queue.pop(0)
else:
# Pre-fetch new articles
server.article_queue = sabnzbd.NzbQueue.get_articles(
server, self.servers, max(1, server.threads // 4)
)
server.article_queue = sabnzbd.NzbQueue.get_articles(server, self.servers, _ARTICLE_PREFETCH)
if server.article_queue:
article = server.article_queue.pop(0)
# Mark expired articles as tried on this server
if server.retention and article.nzf.nzo.avg_stamp < now - server.retention:
self.decode(article, None)
self.decode(article)
while server.article_queue:
self.decode(server.article_queue.pop(), None)
self.decode(server.article_queue.pop())
# Move to the next server, allowing the next server to already start
# fetching the articles that were too old for this server
break
@@ -738,7 +733,7 @@ class Downloader(Thread):
with DOWNLOADER_CV:
while (
(sabnzbd.NzbQueue.is_empty() or self.is_paused() or self.paused_for_postproc)
(sabnzbd.NzbQueue.is_empty() or self.no_active_jobs() or self.paused_for_postproc)
and not self.shutdown
and not self.force_disconnect
and not self.server_restarts
@@ -758,131 +753,24 @@ class Downloader(Thread):
server = nw.server
try:
bytes_received, done, skip = nw.recv_chunk()
except:
bytes_received, done, skip = (0, False, False)
if skip:
bytes_received, done = nw.recv_chunk()
except ssl.SSLWantReadError:
continue
if bytes_received < 1:
except:
self.__reset_nw(nw, "server closed connection", wait=False)
continue
else:
try:
article.nzf.nzo.update_download_stats(BPSMeter.bps, server.id, bytes_received)
except AttributeError:
# In case nzf has disappeared because the file was deleted before the update could happen
pass
BPSMeter.update(server.id, bytes_received)
if self.bandwidth_limit:
if BPSMeter.bps + BPSMeter.sum_cached_amount > self.bandwidth_limit:
BPSMeter.update()
while BPSMeter.bps > self.bandwidth_limit:
time.sleep(0.01)
BPSMeter.update()
BPSMeter.update(server.id, bytes_received)
if self.bandwidth_limit and BPSMeter.bps + BPSMeter.sum_cached_amount > self.bandwidth_limit:
BPSMeter.update()
while BPSMeter.bps > self.bandwidth_limit:
time.sleep(0.01)
BPSMeter.update()
if nw.status_code != 222 and not done:
if not nw.connected or nw.status_code == 480:
try:
nw.finish_connect(nw.status_code)
if sabnzbd.LOG_ALL:
logging.debug(
"%s@%s last message -> %s", nw.thrdnum, nw.server.host, nntp_to_msg(nw.data)
)
nw.clear_data()
except NNTPPermanentError as error:
# Handle login problems
block = False
penalty = 0
display_msg = " [%s]" % error.msg
logging.debug("Server login problem: %s", error.msg)
if error.code in (502, 400, 481, 482) and clues_too_many(error.msg):
# Too many connections: remove this thread and reduce thread-setting for server
# Plan to go back to the full number after a penalty timeout
if server.active:
errormsg = T("Too many connections to server %s") % display_msg
if server.errormsg != errormsg:
server.errormsg = errormsg
logging.warning(T("Too many connections to server %s"), server.host)
# Don't count this for the tries (max_art_tries) on this server
self.__reset_nw(nw, send_quit=True)
self.plan_server(server, _PENALTY_TOOMANY)
server.threads -= 1
elif error.code in (502, 481, 482) and clues_too_many_ip(error.msg):
# Account sharing?
if server.active:
errormsg = T("Probable account sharing") + display_msg
if server.errormsg != errormsg:
server.errormsg = errormsg
name = " (%s)" % server.host
logging.warning(T("Probable account sharing") + name)
penalty = _PENALTY_SHARE
block = True
elif error.code in (452, 481, 482, 381) or (
error.code in (500, 502) and clues_login(error.msg)
):
# Cannot login, block this server
if server.active:
errormsg = T("Failed login for server %s") % display_msg
if server.errormsg != errormsg:
server.errormsg = errormsg
logging.error(T("Failed login for server %s"), server.host)
penalty = _PENALTY_PERM
block = True
elif error.code in (502, 482):
# Cannot connect (other reasons), block this server
if server.active:
errormsg = T("Cannot connect to server %s [%s]") % ("", error.msg)
if server.errormsg != errormsg:
server.errormsg = errormsg
logging.warning(T("Cannot connect to server %s [%s]"), server.host, error.msg)
if clues_pay(error.msg):
penalty = _PENALTY_PERM
else:
penalty = _PENALTY_502
block = True
elif error.code == 400:
# Temp connection problem?
if server.active:
logging.debug("Unspecified error 400 from server %s", server.host)
penalty = _PENALTY_VERYSHORT
block = True
else:
# Unknown error, just keep trying
if server.active:
errormsg = T("Cannot connect to server %s [%s]") % ("", display_msg)
if server.errormsg != errormsg:
server.errormsg = errormsg
logging.warning(T("Cannot connect to server %s [%s]"), server.host, error.msg)
penalty = _PENALTY_UNKNOWN
block = True
if block or (penalty and server.optional):
retry_article = False
if server.active:
if server.required:
sabnzbd.Scheduler.plan_required_server_resume()
retry_article = True
else:
server.deactivate()
if penalty and (block or server.optional):
self.plan_server(server, penalty)
# Note that the article is discard for this server if the server is not required
self.__reset_nw(nw, retry_article=retry_article, send_quit=True)
if not self.__finish_connect_nw(nw):
continue
except:
logging.error(
T("Connecting %s@%s failed, message=%s"),
nw.thrdnum,
nw.server.host,
nntp_to_msg(nw.data),
)
# No reset-warning needed, above logging is sufficient
self.__reset_nw(nw, retry_article=False)
if nw.connected:
logging.info("Connecting %s@%s finished", nw.thrdnum, nw.server.host)
self.__request_article(nw)
@@ -924,9 +812,13 @@ class Downloader(Thread):
# Successful data, clear "bad" counter
server.bad_cons = 0
server.errormsg = server.warning = ""
# Update statistics and decode
article.nzf.nzo.update_download_stats(BPSMeter.bps, server.id, nw.data_size)
self.decode(article, nw.data, nw.data_size)
if sabnzbd.LOG_ALL:
logging.debug("Thread %s@%s: %s done", nw.thrdnum, server.host, article.article)
self.decode(article, nw.data)
# Reset connection for new activity
nw.soft_reset()
@@ -934,6 +826,87 @@ class Downloader(Thread):
server.idle_threads.append(nw)
self.remove_socket(nw)
def __finish_connect_nw(self, nw: NewsWrapper) -> bool:
server = nw.server
try:
nw.finish_connect(nw.status_code)
if sabnzbd.LOG_ALL:
logging.debug("%s@%s last message -> %s", nw.thrdnum, server.host, nntp_to_msg(nw.data))
nw.clear_data()
except NNTPPermanentError as error:
# Handle login problems
block = False
penalty = 0
errormsg = None
logging.debug("Server login problem: %s", error.msg)
if error.code in (502, 400, 481, 482) and clues_too_many(error.msg):
# Too many connections: remove this thread and reduce thread-setting for server
# Plan to go back to the full number after a penalty timeout
errormsg = T("Too many connections to server %s [%s]") % (server.host, error.msg)
if server.active:
# Don't count this for the tries (max_art_tries) on this server
self.__reset_nw(nw, send_quit=True)
self.plan_server(server, _PENALTY_TOOMANY)
server.threads -= 1
elif error.code in (502, 481, 482) and clues_too_many_ip(error.msg):
# Login from (too many) different IP addresses
errormsg = T(
"Login from too many different IP addresses to server %s [%s] - https://sabnzbd.org/multiple-adresses"
) % (server.host, error.msg)
penalty = _PENALTY_SHARE
block = True
elif error.code in (452, 481, 482, 381) or (error.code in (500, 502) and clues_login(error.msg)):
# Cannot login, block this server
errormsg = T("Failed login for server %s [%s]") % (server.host, error.msg)
penalty = _PENALTY_PERM
block = True
elif error.code in (502, 482):
# Cannot connect (other reasons), block this server
errormsg = T("Cannot connect to server %s [%s]") % (server.host, error.msg)
if clues_pay(error.msg):
penalty = _PENALTY_PERM
else:
penalty = _PENALTY_502
block = True
elif error.code == 400:
# Temp connection problem?
logging.debug("Unspecified error 400 from server %s", server.host)
penalty = _PENALTY_VERYSHORT
block = True
else:
# Unknown error, just keep trying
errormsg = T("Cannot connect to server %s [%s]") % (server.host, error.msg)
penalty = _PENALTY_UNKNOWN
block = True
if block or (penalty and server.optional):
retry_article = False
if server.active:
if server.required:
sabnzbd.Scheduler.plan_required_server_resume()
retry_article = True
else:
server.deactivate()
if penalty and (block or server.optional):
self.plan_server(server, penalty)
# Note that the article is discard for this server if the server is not required
self.__reset_nw(nw, retry_article=retry_article, send_quit=True)
# Set error for server and warn user if it was first time thrown
if errormsg and server.active and server.errormsg != errormsg:
server.errormsg = errormsg
logging.warning(errormsg)
return False
except:
logging.error(
T("Connecting %s@%s failed, message=%s"),
nw.thrdnum,
nw.server.host,
nntp_to_msg(nw.data),
)
# No reset-warning needed, above logging is sufficient
self.__reset_nw(nw, retry_article=False)
return True
def __reset_nw(
self,
nw: NewsWrapper,
@@ -966,9 +939,9 @@ class Downloader(Thread):
nw.article.tries += 1
# Do we discard, or try again for this server
if not retry_article or nw.article.tries > cfg.max_art_tries():
if not retry_article or (not nw.server.required and nw.article.tries > cfg.max_art_tries()):
# Too many tries on this server, consider article missing
self.decode(nw.article, None)
self.decode(nw.article)
nw.article.tries = 0
else:
# Retry again with the same server

View File

@@ -1,5 +1,5 @@
#!/usr/bin/python3 -OO
# Copyright 2007-2022 The SABnzbd-Team <team@sabnzbd.org>
# Copyright 2007-2023 The SABnzbd-Team <team@sabnzbd.org>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License

View File

@@ -1,5 +1,5 @@
#!/usr/bin/python3 -OO
# Copyright 2007-2022 The SABnzbd-Team <team@sabnzbd.org>
# Copyright 2007-2023 The SABnzbd-Team <team@sabnzbd.org>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -78,7 +78,7 @@ def correct_unknown_encoding(str_or_bytes_in: AnyStr) -> str:
def correct_cherrypy_encoding(inputstring: str) -> str:
"""convert inputstring with seperate, individual chars (1-255) to valid string (with UTF8 encoding)"""
"""convert inputstring with separate, individual chars (1-255) to valid string (with UTF8 encoding)"""
try:
return inputstring.encode("raw_unicode_escape").decode("utf8")
except:

View File

@@ -64,7 +64,7 @@ def get_ext(filename: str) -> str:
def is_listed_ext(ext: str, ext_list: list) -> bool:
"""Check if the extension is listed. In case of a regexp the entire extension must be matched;
partial matches aren't accepted (e.g. 'r[0-9]{2}' will be treated the same as '^r[0-9]{2}$' and
thus return false for extentions such as 'r007' despite the substring match on 'r00').
thus return false for extensions such as 'r007' despite the substring match on 'r00').
"""
for item in ext_list:
RE_EXT = sabnzbd.misc.convert_filter(item)
@@ -840,7 +840,7 @@ def cleanup_empty_directories(path: str):
@synchronized(DIR_LOCK)
def renamer(old: str, new: str, create_local_directories: bool = False) -> str:
"""Rename file/folder with retries for Win32
Optionally alows the creation of local directories if they don't exist yet
Optionally allows the creation of local directories if they don't exist yet
Returns new filename (which could be changed due to sanitize_filename) on success"""
# Sanitize last part of new name
path, name = os.path.split(new)

View File

@@ -1,5 +1,5 @@
#!/usr/bin/python3 -OO
# Copyright 2007-2022 The SABnzbd-Team <team@sabnzbd.org>
# Copyright 2007-2023 The SABnzbd-Team <team@sabnzbd.org>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License

Some files were not shown because too many files have changed in this diff Show More