Only import my playlists and public playlists from Navidrome

Feature description

Hi,

I’m using navidrome with my family and my account is an admin on the server. Due to how the subsonic API works, the getPlaylists endpoint returns every playlist on my server, including private playlists from other users.

It’d be great if there was a way to filter them out from the playlist import screen of Symfonium.

Problem solved

Since my account can see every playlist that exists on the server, the import list gets cluttered with playlists my family members are not sharing.

Brought benefits

It’d be easier to import the playlists I want to sync on Symfonium

Other application solutions

Navidrome confirmed that the API endpoint’s behavior is conform to the spec : [Bug]: Private playlist shows up in shared playlists of admin users · Issue #4498 · navidrome/navidrome · GitHub and they feel it’s up to the client to provide a way to filter the private playlists out (they will change their UI to reflect this as well)

Device type

All

Additional description and context

As per the Subsonic spec it should not be too hard to differentiate my playlists / shared playlist / private playlists I can see because I’m admin : getPlaylists | OpenSubsonic

I should be able to see the playlist I own (cf the owner key) and the public playlist (where "public": true) and not the ones where the owner is not my account and "public": false

{
  "subsonic-response": {
    "status": "ok",
    "version": "1.16.1",
    "playlists": {
      "playlist": [
        {
          "id": "800000003",
          "name": "random - admin - private (admin)",
          "owner": "admin",
          "public": false,
          "created": "2021-02-23T04:35:38+00:00",
          "changed": "2021-02-23T04:35:38+00:00",
          "songCount": 43,
          "duration": 17875
        },
        {
          "id": "800000002",
          "name": "random - admin - public (admin)",
          "owner": "admin",
          "public": true,
          "created": "2021-02-23T04:34:56+00:00",
          "changed": "2021-02-23T04:34:56+00:00",
          "songCount": 43,
          "duration": 17786
        }
      ]
    }
  }
}

I searched existing feature requests

on

You can play the playlists and import them, there is no logical reason to actually hide them. Specially as not all server implement those fields in the same ways.