Skip to content

Manifest decoding has suddenly broken #396

@blacklight

Description

@blacklight

This is something that literally happened in the past couple of hours - playback was working fine until 2-3 hours ago:

INFO     2026-01-15 17:06:26,971 [1036280:TidalBackend-12] mopidy_tidal.playback
  TIDAL uri: tidal:track:3509189:1381853:1381859
ERROR    2026-01-15 17:06:27,274 [1036280:Core-14] mopidy.core.playback
  TidalBackend backend caused an exception.
Traceback (most recent call last):
  File "/home/blacklight/.local/lib/python3.14/site-packages/tidalapi/media.py", line 770, in from_mpd
    return DashInfo(mpd_manifest)
  File "/home/blacklight/.local/lib/python3.14/site-packages/tidalapi/media.py", line 775, in __init__
    mpd = MPEGDASHParser.parse(
        mpd_xml.split("<?xml version='1.0' encoding='UTF-8'?>")[1]
    )
  File "/home/blacklight/.local/lib/python3.14/site-packages/mpegdash/parser.py", line 26, in parse
    return parse_child_nodes(xml_root_node, 'MPD', MPEGDASH)[0]
           ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/blacklight/.local/lib/python3.14/site-packages/mpegdash/utils.py", line 25, in parse_child_nodes
    node.parse(elem)
    ~~~~~~~~~~^^^^^^
  File "/home/blacklight/.local/lib/python3.14/site-packages/mpegdash/nodes.py", line 782, in parse
    self.periods = parse_child_nodes(xmlnode, 'Period', Period)
                   ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/blacklight/.local/lib/python3.14/site-packages/mpegdash/utils.py", line 25, in parse_child_nodes
    node.parse(elem)
    ~~~~~~~~~~^^^^^^
  File "/home/blacklight/.local/lib/python3.14/site-packages/mpegdash/nodes.py", line 718, in parse
    self.adaptation_sets = parse_child_nodes(xmlnode, 'AdaptationSet', AdaptationSet)
                           ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/blacklight/.local/lib/python3.14/site-packages/mpegdash/utils.py", line 25, in parse_child_nodes
    node.parse(elem)
    ~~~~~~~~~~^^^^^^
  File "/home/blacklight/.local/lib/python3.14/site-packages/mpegdash/nodes.py", line 602, in parse
    self.group = parse_attr_value(xmlnode, 'group', int)
                 ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/blacklight/.local/lib/python3.14/site-packages/mpegdash/utils.py", line 47, in parse_attr_value
    return value_type(attr_val)
ValueError: invalid literal for int() with base 10: 'main'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/home/blacklight/.local/lib/python3.14/site-packages/mopidy/core/playback.py", line 352, in _change
    if not backend.playback.change_track(pending_tl_track.track).get():
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/home/blacklight/.local/lib/python3.14/site-packages/pykka/_threading.py", line 80, in get
    raise exc_value
  File "/home/blacklight/.local/lib/python3.14/site-packages/pykka/_actor.py", line 260, in _actor_loop_running
    response = self._handle_receive(envelope.message)
  File "/home/blacklight/.local/lib/python3.14/site-packages/pykka/_actor.py", line 377, in _handle_receive
    return callee(*message.args, **message.kwargs)
  File "/home/blacklight/.local/lib/python3.14/site-packages/mopidy/backend.py", line 331, in change_track
    uri = self.translate_uri(track.uri)
  File "/home/blacklight/.local/lib/python3.14/site-packages/mopidy_tidal/login_hack.py", line 306, in wrapper
    return fn(obj, *args, **kwargs)
  File "/home/blacklight/.local/lib/python3.14/site-packages/mopidy_tidal/playback.py", line 41, in translate_uri
    manifest = stream.get_stream_manifest()
  File "/home/blacklight/.local/lib/python3.14/site-packages/tidalapi/media.py", line 606, in get_stream_manifest
    return StreamManifest(self)
  File "/home/blacklight/.local/lib/python3.14/site-packages/tidalapi/media.py", line 644, in __init__
    self.dash_info = DashInfo.from_mpd(stream.get_manifest_data())
                     ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/blacklight/.local/lib/python3.14/site-packages/tidalapi/media.py", line 772, in from_mpd
    raise ManifestDecodeError
tidalapi.exceptions.ManifestDecodeError
WARNING  2026-01-15 17:06:27,277 [1036280:Core-14] mopidy.core.tracklist
  Track is not playable: tidal:track:3509189:1381853:1381859

I can start taking a look if it's something new - just wanted to double check if this is also broken for other users.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions