Add /unsorted subtab to SMB Share Sorter with independent state, scan, and cleanup

This commit is contained in:
david
2026-08-26 10:07:37 -04:00
parent c51433e9e1
commit b2a570b11e
3 changed files with 172 additions and 22 deletions
+1 -1
View File
@@ -1259,7 +1259,7 @@ class RobustProxyHandler(http.server.SimpleHTTPRequestHandler):
if os.path.exists(target_dir) and os.path.isdir(target_dir):
try:
for entry in os.scandir(target_dir):
if entry.is_dir() and entry.name != 'videodownloader' and not entry.name.startswith('.'):
if entry.is_dir() and entry.name not in ('videodownloader', 'unsorted') and not entry.name.startswith('.'):
performers_set.add(entry.name)
except Exception as e:
print(f"Error scanning existing performer directories: {e}")