API/Playlist Management Protocol/removeTracks

From ickStream Wiki
Jump to: navigation, search

Remove the specified tracks from a previously existing playlist

Request:

{
    "jsonrpc": 2.0,
    "id": < A unique number used to correlate requests with responses, see JSON-RPC specification for more information >,
    "method": "removeTracks",
    "params": {
        "playlistId": < Globally unique identity of the playlist to change >,
        "items": [
            {
                "id": < Globally unique track identity, for example soundcloud:track:somenicetrack >,
                "playlistPos": < Optional, playlist position to remove the track from >
            },
            ...
        ]
    }
}

Specific Information

  • If playlistPos is not specified, all occurrences of the track in the playlist will be removed

Response:

{
    "jsonrpc": 2.0,
    "id": < The request identity >,
    "result": {
        "result": <true if tracks were successfully removed >
        "playlistId": < Globally unique identity of the playlist itself >,
    }
}
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox