Closed G5dwe1 closed 8 months ago
I also have the same problem, who can solve it。
I also have the same problem, who can solve it。
Check out my PR; it solves the issue.
PR? WHAT'S IT IS?
this issue has been resolved but new version of streamrip is not published yet, so if you still can't download songs from tidal use:
pip3 uninstall streamrip
Confirm with Y
Then paste:
pip3 install git+https://github.com/nathom/streamrip.git
and you are good to go!
Thanks I closed this isssue
Describe the bug
I encountered this error several times when ripping songs such as Alan Walker, Not You, Joji Night Rider.
Command Used
Debug Traceback
Config File
Operating System
Termux
streamrip version
2.0.2
Screenshots and recordings
rip url https://tidal.com/track/205683350 ─────────────────── Downloading Not You ─────────────────── ╭─────────── Traceback (most recent call last) ───────────╮ │ /data/data/com.termux/files/usr/lib/python3.11/site-pac │ │ kages/mutagen/mp4/init.py:1053 in load │ │ │ │ 1050 │ @convert_error(IOError, MP4StreamInfoError) │ │ 1051 │ def load(self, atoms, fileobj): │ │ 1052 │ │ try: │ │ ❱ 1053 │ │ │ moov = atoms[b"moov"] │ │ 1054 │ │ except KeyError: │ │ 1055 │ │ │ raise MP4StreamInfoError("not a MP4 │ │ 1056 │ │ │ │ /data/data/com.termux/files/usr/lib/python3.11/site-pac │ │ kages/mutagen/mp4/_atom.py:188 in getitem │ │ │ │ 185 │ │ │ if child.name == names[0]: │ │ 186 │ │ │ │ return child[names[1:]] │ │ 187 │ │ else: │ │ ❱ 188 │ │ │ raise KeyError("%r not found" % names │ │ 189 │ │ │ 190 │ def repr(self): │ │ 191 │ │ return "\n".join([repr(child) for child i │ ╰─────────────────────────────────────────────────────────╯ KeyError: "b'moov' not found"
During handling of the above exception, another exception occurred:
╭─────────── Traceback (most recent call last) ───────────╮ │ /data/data/com.termux/files/usr/bin/rip:8 in │
│ │
│ 5 from streamrip.rip import rip │
│ 6 if name == 'main': │
│ 7 │ sys.argv[0] = re.sub(r'(-script.pyw|.exe)?$', │
│ ❱ 8 │ sys.exit(rip()) │
│ 9 │
│ │
│ /data/data/com.termux/files/usr/lib/python3.11/site-pac │
│ kages/click/core.py:1157 in call │
│ │
│ ... 18 frames hidden ... │
│ │
│ /data/data/com.termux/files/usr/lib/python3.11/site-pac │
│ kages/mutagen/_util.py:185 in wrapper │
│ │
│ 182 │ │ @wraps(func) │
│ 183 │ │ def wrapper(*args, *kwargs): │
│ 184 │ │ │ try: │
│ ❱ 185 │ │ │ │ return func(args, **kwargs) │
│ 186 │ │ │ except exc_dest: │
│ 187 │ │ │ │ raise │
│ 188 │ │ │ except exc_src as err: │
│ │
│ /data/data/com.termux/files/usr/lib/python3.11/site-pac │
│ kages/mutagen/mp4/init.py:1055 in load │
│ │
│ 1052 │ │ try: │
│ 1053 │ │ │ moov = atoms[b"moov"] │
│ 1054 │ │ except KeyError: │
│ ❱ 1055 │ │ │ raise MP4StreamInfoError("not a MP4 │
│ 1056 │ │ │
│ 1057 │ │ for trak in moov.findall(b"trak"): │
│ 1058 │ │ │ hdlr = trak[b"mdia", b"hdlr"] │
╰─────────────────────────────────────────────────────────╯
MP4StreamInfoError: not a MP4 file
Additional context
No response