dfdsf
This commit is contained in:
@@ -18,7 +18,7 @@ from typing import Optional, Callable, Any
|
||||
from pathlib import Path
|
||||
import sys
|
||||
|
||||
from helper.logger import log
|
||||
from SYS.logger import log
|
||||
import json
|
||||
|
||||
# Add parent directory to path for imports
|
||||
@@ -327,7 +327,7 @@ class DownloadModal(ModalScreen):
|
||||
else:
|
||||
# Fallback if helper not available
|
||||
import uuid
|
||||
from helper.worker_manager import Worker
|
||||
from SYS.worker_manager import Worker
|
||||
worker_id = f"dl_{uuid.uuid4().hex[:8]}"
|
||||
worker = Worker(worker_id, "download", f"Download: {url[:50]}",
|
||||
f"Tags: {', '.join(tags) if tags else 'None'}", None)
|
||||
@@ -688,7 +688,6 @@ class DownloadModal(ModalScreen):
|
||||
'target': str(filepath),
|
||||
'path': str(filepath),
|
||||
'media_kind': 'audio',
|
||||
'hash_hex': None,
|
||||
'hash': None,
|
||||
'url': [],
|
||||
'title': filepath_obj.stem
|
||||
|
||||
Reference in New Issue
Block a user