summaryrefslogtreecommitdiff
path: root/tidal_dl_ng/model/tidal.py
diff options
context:
space:
mode:
authorRobert Honz <exislow+github@gmail.com>2024-01-13 11:57:11 +0100
committerRobert Honz <exislow+github@gmail.com>2024-01-13 11:57:11 +0100
commit14483a162949dcdffc1fe36b5c4962f1926beaa3 (patch)
tree7902058e3218d5b05eb1a5c14f8ae726bd429edf /tidal_dl_ng/model/tidal.py
parent0cba5d83b1bfa212d3bdb7719f90740f513f01c2 (diff)
downloadtidal-dl-ng-14483a162949dcdffc1fe36b5c4962f1926beaa3.tar.gz
♻️ Some refactoring started within download.py.
✨ Track extension can be ignored while skipping files. Closes #11. ✨ Started to implement MPEG DASH download support.
Diffstat (limited to 'tidal_dl_ng/model/tidal.py')
-rw-r--r--tidal_dl_ng/model/tidal.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/tidal_dl_ng/model/tidal.py b/tidal_dl_ng/model/tidal.py
new file mode 100644
index 0000000..a5fbae9
--- /dev/null
+++ b/tidal_dl_ng/model/tidal.py
@@ -0,0 +1,11 @@
+from dataclasses import dataclass
+
+
+@dataclass
+class StreamManifest:
+ stream_url: str
+ codecs: str
+ mime_type: str
+ file_extension: str
+ encryption_type: str | None = None
+ encryption_key: str | None = None