Safihre
b6c4a48497
Py3: First fix of running external tools (unrar/par2/multipar)
Closes #1224
6 years ago
Safihre
60afb7f444
Update copyright year to 2019
6 years ago
Safihre
2341ea44ec
Py3: Fixes after merge from develop
And set the shebang to Python 3 specifc
7 years ago
Safihre
904bb9f85a
Remove unused imports
7 years ago
Safihre
2cdf284578
Update copyright to 2018
7 years ago
Safihre
c6054e622c
Py3: First 2to3 conversion
8 years ago
Safihre
494e72a996
Update to 1.2.0 and set version
8 years ago
Safihre
cbe4840ce2
Update Copyright year to 2017
9 years ago
Jonathon Saine
f75cb44a24
moved regex define before use (save memory when code branch isnt ran), calculate expire time once (save cpu cycles), reserved word (only some) & undefined & unused variables, depreciated `has_key`, more spelling and docstring cleanup
10 years ago
Jonathon Saine
cc0b15eb46
More pep8 non-agressive fixes.
10 years ago
Jonathon Saine
565f5fd762
Some pep8 cleanup (whitespace/docstring only), focus on root dir along with scripts/tools/util.
10 years ago
shypike
68b44a7310
Drop support for Python 2.5
Also for SABHelper.py
10 years ago
shypike
687ab5d4f5
Update text files and copyright year.
10 years ago
ShyPike
b9efcaa5a1
Update copyright stuff.
13 years ago
ShyPike
4bb4de11b3
Update copyrights to 2011.
15 years ago
ShyPike
d82a58799c
Drop support for Python 2.4, due to missing features in gettext modules.
15 years ago
ShyPike
ca10eb8b8a
Windows-only.
At startup store the API-url in the Registry.
In normal mode, store in key HKCU\Software\SABnzbd\api (value "url").
In Service mode, store in key HKLM\SYSTEM\CurrentControlSet\Services\SABnzbd\api (value "url").
When the program stops, the key is removed.
When SABnzbd is started with an NZB file as parameter, it will use the registry entry to get the API-url.
First the HKCU key is tried, if that does not exist, the HKLM key is used instead.
The registry entry can also be used by third-party utilities.
Fixed a bug where "net stop sabnzbd" would not notify SABHelper.
15 years ago
ShyPike
90d168cf3c
Use SABHelper also to guard the SABnzbd service.
Auto-restart when SABnzbd is no longer running and didn't sign-off properly.
15 years ago
ShyPike
9632a1eb24
Do not refer tp sabnzbd package from SABHelper.
15 years ago
ShyPike
d3c91364b2
Move mailslot.py to a seperate package. This way the SABHelper binary can be made a lot smaller.
15 years ago
ShyPike
48ea569c7e
SABHelper.py
Add missing HandleCommandLine function and remove uinneeded imports.
15 years ago
ShyPike
ae28a79b8a
Adding SABnzbdHelper service for restarting SABnzbd when it runs as a Windows Service.
MailSlot.py is used by both services.
15 years ago