← 输入框|github.com|刷新
Skip to content

removePlaylistItems endpoint seems to be broken #478

Closed

Description

@Selbi182

Something is busted with the removePlaylistItems endpoint, claiming that no URIs are specified when they clearly are:

Image

I'm not sure if this has been the case since the 10.0.0 migration or if this only started recently. According to the specification, the entire JsonArray needs to be wrapped inside "items" beforehand, but looking at the internal code, that does seem to already happen:

Image

I don't know what's going on. This endpoint and the way I coded it with the JsonArray stuff 100% worked a couple months ago. Please look into the problem.

On a related note, it has always bothered me that this endpoint needs messing around with JsonArray in the first place. It would be so much cleaner if the JSON wrapping was all done internally, and all I need to worry about for the Java Wrapper API is to provide a regular Collection of track IDs to delete.

Activity

  1. dargmuesli commented on Nov 3, 2026

    @dargmuesli
    Member

    On a related note, it has always bothered me that this endpoint needs messing around with JsonArray in the first place. It would be so much cleaner if the JSON wrapping was all done internally, and all I need to worry about for the Java Wrapper API is to provide a regular Collection of track IDs to delete.

    See #483

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions