Skip to content

Nugs.net: NotImplementedError when clicking track to play (get_track fails) #5126

@booles04

Description

@booles04

The problem

When using the Nugs.net music provider, any action that calls `get_track` fails with a `NotImplementedError`. This affects:

  1. Clicking a track to play — error shown in UI, track doesn't play
  2. Favoriting a track — error shown, favorite not saved
  3. Viewing a playlist containing Nugs tracks — playlist can be created and tracks added (via 3-dot menu), but opening the playlist to view its contents triggers the error since it calls `get_track` for each item

Using the 3-dot context menu → "Add to queue" works correctly for the same tracks, as does adding to a playlist — but the playlist cannot be viewed afterward.

The server log shows:
```
ERROR (MainThread) [music_assistant.webserver] Error handling message: music/tracks/get_track:
```

How to reproduce

  1. Browse to any Nugs.net album in Music Assistant
  2. Click directly on a track to play it → NotImplementedError
  3. Or click the favorite/heart icon on a Nugs.net track → same error
  4. Or add a Nugs track to a playlist via 3-dot menu (succeeds), then try to open/view that playlist → same error
  5. Try the same track via 3-dot menu → Add to queue — it works (playback is fine)

Music Providers

  • Nugs.net — PROBLEM: `get_track` fails with NotImplementedError on click, favorite, and playlist view
  • Spotify — WORKS: all actions work correctly

Player Providers

  • SONOS (S2 native) — tested, not player-specific since the error occurs at the music provider level before reaching the player

Full log output

Full sanitized log attached in comments. Key error lines:

```
ERROR (MainThread) [music_assistant.webserver] Error handling message: music/tracks/get_track:
```

Additional information

  • MA Version: 2.8.0 Beta 22
  • Installation: Docker Container on Synology NAS (Linux x86-64)
  • Workaround: Use the 3-dot context menu to add tracks to queue. No workaround for favoriting or viewing playlists with Nugs tracks.
  • Playback initiated via the MA web UI
  • The issue is purely at the music provider API level — once a track is added to the queue (via context menu), it streams and plays correctly on all tested players

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-attentionIssue needs maintainer/collaborator response

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions