Playlist editor

Read a source's list to pick from

POST/editor/playlists/{pid}/manual-updater/{kind}/scan/

write Change: creates or edits. Scopes

Reads the channels, movies or TV shows (by kind) a source lists, in a background task. The finished task lists them by category, each marked exists when the playlist has it already; add the ones you pick with POST …/manual-updater/{kind}/import/.

Path parameters

  • kindstringrequired

    live (channels), movie (movies) or series (TV shows).

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

  • pidstring (uuid)required

Body

  • sourceobjectrequired
    • typestring

      Where the list comes from. Leave it out to name a provider instead.

      • xtream - A provider login: url (the server), username and password
      • m3u - An M3U address: url
      • file - An M3U file sent with POST /editor/uploads/: upload
    • urlstring

      The server (xtream) or the M3U address (m3u).

    • usernamestring
    • passwordstring
    • formatstring

      How channel links are written (xtream): ts (the default), live_ts or live_hls.

    • uploadstring

      The id POST /editor/uploads/ answered (file).

    • providerinteger

      One of the playlist's providers, by id, instead of the above.

Response

202 OK

  • jobstring (uuid)required

    The background task: follow it with GET /editor/jobs/{id}/ (/editor/api/v1/jobs/{id}/ with a token).

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