jcorporation / myMPD

myMPD is a standalone and mobile friendly web mpd client with a tiny footprint and advanced features.
https://jcorporation.github.io/myMPD/
GNU General Public License v3.0
418 stars 65 forks source link

Error when adding a playlist to the queue while listing its contents #1087

Closed mgonzalezm closed 1 year ago

mgonzalezm commented 1 year ago

myMPD version: 11.0.3

When I'm browsing the contents of a playlists and try to append/insert/replace the queue with such playlist (using the drop down menu) I get the following error:

INFO     webserver HTTP request (78): POST /api/default
INFO     webserver "default": API request (78): MYMPD_API_QUEUE_REPLACE_PLAYLISTS
WARN     mympdapi  Invalid json object type for JSON path "$.params.plists": MJSON_TOK_STRING
ERROR    mympdapi  "default": Error processing method "MYMPD_API_QUEUE_REPLACE_PLAYLISTS"

add-playlist-to-queue

But if you are one level up, browsing the list of playlists, then there is no problem and I can add the playlist ( and any other ) to the queue.

jcorporation commented 1 year ago

Regression of #1001. Is now fixed in devel and 12.0.0 branch.

mgonzalezm commented 1 year ago

Hi, Sorry to bother

The same error is happening when trying to add any of the predefined smart playlists.

smart-playlist

Do you need me to create a new issue ?

jcorporation commented 1 year ago

New error -> new issue