8 Commits

Author SHA1 Message Date
thezoggy
dd0122865a bump copyright year (#3034) 2025-02-17 14:06:12 +01:00
thezoggy
9f6a9f9912 normalize and update copyright year 2024-01-02 09:42:17 +01:00
Michael Nightingale
983d623d7f Fix dirscanner async tests (#2748)
* Fix dirscanner async tests

* Use root of fake filesystem to test dirscanner

* Revert minor change
2023-12-11 21:34:42 +01:00
Safihre
7cbbff727f Remove (almost) all references to unused team@sabnzbd.org 2023-07-21 11:33:51 +02:00
Safihre
3ff1d4b68c Move DirScanner Lock creation 2023-06-06 17:10:01 +02:00
Safihre
b4c3a4b19f Only initialize DirScanner Lock after starting event loop 2023-06-05 15:52:34 +02:00
Michael Nightingale
be06290f6c Addnzbfile enums and keep empty (#2554)
* Add enum result to add_nzbfile

* Do not delete invalid single file NZBs if file could not be decoded

* Move enum to constants and make it a class
2023-05-15 14:28:49 +02:00
Michael Nightingale
dbd335fd3b Improve dirscanner performance and reduce system calls (#2434)
* Improve dirscanner performance and reduce system calls

* Break up one liners

* Rename functions and add typings

* yield from instead of looping

* Fix optional typing

* Replace threads with asyncio

* Use full module path

* Replace list comprehension with for loop

* Give other coroutines a chance to run if we ignore a path

* Remove uncesserary unnecessary asyncio.sleep on skipped path

* Catch and report all exceptions within the scanner task to the user to ensure the overall scanner task cannot crash

* Log traceback
2023-02-15 22:57:09 +01:00