🛠️ Deptry warnings fixed.
This commit is contained in:
+1
-1
@@ -61,7 +61,7 @@ __ERROR_KEY__ = (
|
||||
},
|
||||
)
|
||||
|
||||
from constants import REQUESTS_TIMEOUT_SEC
|
||||
from tidal_dl_ng.constants import REQUESTS_TIMEOUT_SEC
|
||||
|
||||
|
||||
def getNum():
|
||||
|
||||
+1
-1
@@ -3,7 +3,6 @@ from pathlib import Path
|
||||
from typing import Annotated, Optional
|
||||
|
||||
import typer
|
||||
from helper.tidal import get_tidal_media_id, get_tidal_media_type
|
||||
from rich.live import Live
|
||||
from rich.panel import Panel
|
||||
from rich.progress import BarColumn, Console, Progress, SpinnerColumn, TextColumn
|
||||
@@ -14,6 +13,7 @@ from tidal_dl_ng.config import Settings, Tidal
|
||||
from tidal_dl_ng.constants import CTX_TIDAL, MediaType
|
||||
from tidal_dl_ng.download import Download
|
||||
from tidal_dl_ng.helper.path import get_format_template, path_file_settings
|
||||
from tidal_dl_ng.helper.tidal import get_tidal_media_id, get_tidal_media_type
|
||||
from tidal_dl_ng.helper.wrapper import WrapperLogger
|
||||
from tidal_dl_ng.model.cfg import HelpSettings
|
||||
|
||||
|
||||
@@ -12,8 +12,6 @@ from uuid import uuid4
|
||||
import ffmpeg
|
||||
import m3u8
|
||||
import requests
|
||||
from helper.tidal import name_builder_item
|
||||
from model.tidal import StreamManifest
|
||||
from mpegdash.parser import MPEGDASHParser
|
||||
from requests.exceptions import HTTPError
|
||||
from rich.progress import Progress, TaskID
|
||||
@@ -24,9 +22,11 @@ from tidal_dl_ng.constants import REQUESTS_TIMEOUT_SEC, CoverDimensions, MediaTy
|
||||
from tidal_dl_ng.helper.decryption import decrypt_file, decrypt_security_token
|
||||
from tidal_dl_ng.helper.exceptions import MediaMissing, MediaUnknown, UnknownManifestFormat
|
||||
from tidal_dl_ng.helper.path import check_file_exists, format_path_media, path_file_sanitize
|
||||
from tidal_dl_ng.helper.tidal import name_builder_item
|
||||
from tidal_dl_ng.helper.wrapper import WrapperLogger
|
||||
from tidal_dl_ng.metadata import Metadata
|
||||
from tidal_dl_ng.model.gui_data import ProgressBars
|
||||
from tidal_dl_ng.model.tidal import StreamManifest
|
||||
|
||||
|
||||
# TODO: Set appropriate client string and use it for video download.
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@ import math
|
||||
import sys
|
||||
from collections.abc import Callable
|
||||
|
||||
from helper.path import get_format_template
|
||||
from tidal_dl_ng.helper.path import get_format_template
|
||||
|
||||
try:
|
||||
import qdarktheme
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import mutagen
|
||||
import requests
|
||||
from constants import REQUESTS_TIMEOUT_SEC
|
||||
from mutagen import flac, id3, mp4
|
||||
from mutagen.id3 import APIC, TALB, TCOM, TCOP, TDRC, TIT2, TOPE, TPE1, TRCK, TSRC, USLT
|
||||
|
||||
from tidal_dl_ng.constants import REQUESTS_TIMEOUT_SEC
|
||||
|
||||
|
||||
class Metadata:
|
||||
path_file: str = None
|
||||
|
||||
Reference in New Issue
Block a user