Playlist editor

Copy edits to another playlist

POST/editor/playlists/{pid}/entries/{kind}/copy-edits/

write Change: creates or edits. Scopes

Copies values (values: guide ids, guide shifts, numbers, logos, addresses, names) from the rows of scope onto the matching rows of another playlist, matched by match_by (name, address, stream id or TMDB id). Handy after rebuilding a playlist from a fresh source.

Path parameters

  • kindstringrequired

    Which list of the playlist: live (channels), movie (movies) or series (TV shows).

    One of: "live" "movie" "series"

  • pidstring (uuid)required

    The playlist's id.

Body

  • scopeobjectrequired

    {"ids": […]}, {"categories": […]} or {"all": true}.

    • idsinteger[]
    • categoriesinteger[]
    • allboolean
  • match_bystringrequired
    • name - name
    • url - url
    • stream_id - stream_id
    • tmdb - tmdb

    One of: "name" "url" "stream_id" "tmdb"

  • valuesstring[]required

    One of: "epg_id" "epg_shift" "number" "logo" "url" "name"

  • playliststring (uuid)required

Response

200 OK

  • matchedintegerrequired

    Rows of the other playlist that matched.

  • updatedintegerrequired

    Of those, rows that changed.

  • changeintegerrequiredcan be null

    The change made in the other playlist's history.

  • versionintegerrequired

    The other playlist's version after it.

  • playliststring (uuid)required

    The other playlist's id.

Errors

  • 400 Something sent is not valid. Each field that is wrong is named with what is wrong.
  • 401 No credential, or one that is wrong, expired or revoked.
  • 403 The account, or the key's or app's scopes, may not do this.
  • 404 Nothing with this id, or nothing the account can see.
  • 429 Slow down: wait the seconds in the Retry-After header, then try again.

What each error means