summaryrefslogtreecommitdiff
path: root/tidal_dl_ng/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'tidal_dl_ng/__init__.py')
-rw-r--r--tidal_dl_ng/__init__.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tidal_dl_ng/__init__.py b/tidal_dl_ng/__init__.py
index b7a692c..b7c4bc5 100644
--- a/tidal_dl_ng/__init__.py
+++ b/tidal_dl_ng/__init__.py
@@ -7,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