diff options
Diffstat (limited to 'tidal_dl_ng/__init__.py')
| -rw-r--r-- | tidal_dl_ng/__init__.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tidal_dl_ng/__init__.py b/tidal_dl_ng/__init__.py index 17739c7..b7c4bc5 100644 --- a/tidal_dl_ng/__init__.py +++ b/tidal_dl_ng/__init__.py @@ -1,10 +1,4 @@ #!/usr/bin/env python -# Apply mpegdash patch before any tidalapi imports to fix TIDAL manifest parsing -# See: https://github.com/FunWarry/tidal-dl-ng-For-DJ/issues/15 -from tidal_dl_ng.helper.mpegdash_patch import apply_mpegdash_patch - -apply_mpegdash_patch() - import importlib.metadata from pathlib import Path from urllib.parse import urlparse @@ -13,8 +7,14 @@ import requests import toml from tidal_dl_ng.constants import REQUESTS_TIMEOUT_SEC + +# Apply mpegdash patch before any tidalapi imports to fix TIDAL manifest parsing +# See: https://github.com/FunWarry/tidal-dl-ng-For-DJ/issues/15 +from tidal_dl_ng.helper.mpegdash_patch import apply_mpegdash_patch from tidal_dl_ng.model.meta import ProjectInformation, ReleaseLatest +apply_mpegdash_patch() + def metadata_project() -> ProjectInformation: result: ProjectInformation |
