summaryrefslogtreecommitdiff
path: root/tidal_dl_ng/__init__.py
diff options
context:
space:
mode:
authorMathéo Gevraise <82399666+FunWarry@users.noreply.github.com>2026-01-23 11:33:03 +0100
committerGitHub <noreply@github.com>2026-01-23 11:33:03 +0100
commit651daa9ca9cae9a3809837bbed41cb6fb9002d70 (patch)
tree9704bdb8c2c14bf4042ff45557459e17d63bb0fa /tidal_dl_ng/__init__.py
parent81f3995aff1336ac7a3b84de43c8c2eafa65047d (diff)
parent173b40bef20ae4d0d9b2b06b8c06701c892b298e (diff)
downloadtidal-dl-ng-651daa9ca9cae9a3809837bbed41cb6fb9002d70.tar.gz
Merge pull request #17 from musicalmusicalmusical/master
fix: Handle non-integer AdaptationSet id/group in TIDAL manifests
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..17739c7 100644
--- a/tidal_dl_ng/__init__.py
+++ b/tidal_dl_ng/__init__.py
@@ -1,4 +1,10 @@
#!/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