Skip to content

Playlist play or shuffle button does not work #217

@juehang

Description

@juehang

Describe the bug
Clicking the play or shuffle buttons in a playlist does nothing. Opening the app in the terminal gives the following error:

Traceback (most recent call last):
  File "/usr/share/high-tide/high_tide/pages/page.py", line 162, in on_play_button_clicked
    utils.player_object.play_this(self.item)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
  File "/usr/share/high-tide/high_tide/lib/player_object.py", line 337, in play_this
    tracks: List[Track] = self.get_track_list(thing)
                          ~~~~~~~~~~~~~~~~~~~^^^^^^^
  File "/usr/share/high-tide/high_tide/lib/player_object.py", line 388, in get_track_list
    tracks_list = thing.tracks()
  File "/usr/lib/python3.13/site-packages/tidalapi/playlist.py", line 230, in tracks
    self.request.map_json(
    ~~~~~~~~~~~~~~~~~~~~~^
        json_obj=request.json(), parse=self.session.parse_track
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/lib/python3.13/site-packages/tidalapi/request.py", line 247, in map_json
    return list(map(parse, items))
  File "/usr/lib/python3.13/site-packages/tidalapi/session.py", line 281, in parse_track
    return self.track().parse_track(obj, album)
           ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/tidalapi/media.py", line 307, in parse_track
    self.media_metadata_tags = json_obj["mediaMetadata"]["tags"]
                               ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^
TypeError: 'NoneType' object is not subscriptable

** Steps To Reproduce**

  1. Open high tide
  2. Navigate to a playlist
  3. Click the playlist play button

Expected behavior
Playlist begins playing

Screenshots (if applicable)
N/A, no visible error in the app.

System:

  • OS: CachyOS
  • Package: AUR
  • Version: high-tide 1.1.0-1

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions