addVideoToYouTubePlaylist

Adds a video to the YouTube playlist whose ID is stored in the passed Credentials.

Note: Must be called from inside a Fiber.

version(TwitchSupport && WithTwitchPlugin)
addVideoToYouTubePlaylist
(,,
const string videoID
,
const bool recursing = false
)

Parameters

plugin TwitchPlugin

The current TwitchPlugin.

creds Credentials

Credentials aggregate.

videoID string

YouTube video ID of the video to add.

recursing bool

Whether or not the function is recursing into itself.

Return Value

Type: auto

A JSONValue of the response.

Throws

UnexpectedJSONException

on unexpected JSON.

ErrorJSONException

if the returned JSON has an "error" field.