declaration_list
{ "{"
field_declaration
modifier
private "private"
modifier
readonly "readonly"
variable_declaration
identifier "ILiveTvManager"
variable_declarator
identifier "_liveTvManager"
; ";"
field_declaration
modifier
private "private"
modifier
readonly "readonly"
variable_declaration
identifier "IGuideManager"
variable_declarator
identifier "_guideManager"
; ";"
field_declaration
modifier
private "private"
modifier
readonly "readonly"
variable_declaration
identifier "ITunerHostManager"
variable_declarator
identifier "_tunerHostManager"
; ";"
field_declaration
modifier
private "private"
modifier
readonly "readonly"
variable_declaration
identifier "IListingsManager"
variable_declarator
identifier "_listingsManager"
; ";"
field_declaration
modifier
private "private"
modifier
readonly "readonly"
variable_declaration
identifier "IRecordingsManager"
variable_declarator
identifier "_recordingsManager"
; ";"
field_declaration
modifier
private "private"
modifier
readonly "readonly"
variable_declaration
identifier "IUserManager"
variable_declarator
identifier "_userManager"
; ";"
field_declaration
modifier
private "private"
modifier
readonly "readonly"
variable_declaration
identifier "IHttpClientFactory"
variable_declarator
identifier "_httpClientFactory"
; ";"
field_declaration
modifier
private "private"
modifier
readonly "readonly"
variable_declaration
identifier "ILibraryManager"
variable_declarator
identifier "_libraryManager"
; ";"
field_declaration
modifier
private "private"
modifier
readonly "readonly"
variable_declaration
identifier "IDtoService"
variable_declarator
identifier "_dtoService"
; ";"
field_declaration
modifier
private "private"
modifier
readonly "readonly"
variable_declaration
identifier "IMediaSourceManager"
variable_declarator
identifier "_mediaSourceManager"
; ";"
field_declaration
modifier
private "private"
modifier
readonly "readonly"
variable_declaration
identifier "IConfigurationManager"
variable_declarator
identifier "_configurationManager"
; ";"
field_declaration
modifier
private "private"
modifier
readonly "readonly"
variable_declaration
identifier "ITranscodeManager"
variable_declarator
identifier "_transcodeManager"
; ";"
comment "/// <summary>"
comment "/// Initializes a new instance of the <see cref=\"LiveTvContr"...
comment "/// </summary>"
comment "/// <param name=\"liveTvManager\">Instance of the <see cref=\"I"...
comment "/// <param name=\"guideManager\">Instance of the <see cref=\"IG"...
comment "/// <param name=\"tunerHostManager\">Instance of the <see cref"...
comment "/// <param name=\"listingsManager\">Instance of the <see cref="...
comment "/// <param name=\"recordingsManager\">Instance of the <see cre"...
comment "/// <param name=\"userManager\">Instance of the <see cref=\"IUs"...
comment "/// <param name=\"httpClientFactory\">Instance of the <see cre"...
comment "/// <param name=\"libraryManager\">Instance of the <see cref=\""...
comment "/// <param name=\"dtoService\">Instance of the <see cref=\"IDto"...
comment "/// <param name=\"mediaSourceManager\">Instance of the <see cr"...
comment "/// <param name=\"configurationManager\">Instance of the <see "...
comment "/// <param name=\"transcodeManager\">Instance of the <see cref"...
constructor_declaration (+129 nodes collapsed)
comment "/// <summary>"
comment "/// Gets available live tv services."
comment "/// </summary>"
comment "/// <response code=\"200\">Available live tv services returned"...
comment "/// <returns>"
comment "/// An <see cref=\"OkResult\"/> containing the available live "...
comment "/// </returns>"
method_declaration (+73 nodes collapsed)
comment "/// <summary>"
comment "/// Gets available live tv channels."
comment "/// </summary>"
comment "/// <param name=\"type\">Optional. Filter by channel type.</pa"...
comment "/// <param name=\"userId\">Optional. Filter by user and attach"...
comment "/// <param name=\"startIndex\">Optional. The record index to s"...
comment "/// <param name=\"isMovie\">Optional. Filter for movies.</para"...
comment "/// <param name=\"isSeries\">Optional. Filter for series.</par"...
comment "/// <param name=\"isNews\">Optional. Filter for news.</param>"
comment "/// <param name=\"isKids\">Optional. Filter for kids.</param>"
comment "/// <param name=\"isSports\">Optional. Filter for sports.</par"...
comment "/// <param name=\"limit\">Optional. The maximum number of reco"...
comment "/// <param name=\"isFavorite\">Optional. Filter by channels th"...
comment "/// <param name=\"isLiked\">Optional. Filter by channels that "...
comment "/// <param name=\"isDisliked\">Optional. Filter by channels th"...
comment "/// <param name=\"enableImages\">Optional. Include image infor"...
comment "/// <param name=\"imageTypeLimit\">Optional. The max number of"...
comment "/// <param name=\"enableImageTypes\">\"Optional. The image type"...
comment "/// <param name=\"fields\">Optional. Specify additional fields"...
comment "/// <param name=\"enableUserData\">Optional. Include user data"...
comment "/// <param name=\"sortBy\">Optional. Key to sort by.</param>"
comment "/// <param name=\"sortOrder\">Optional. Sort order.</param>"
comment "/// <param name=\"enableFavoriteSorting\">Optional. Incorporat"...
comment "/// <param name=\"addCurrentProgram\">Optional. Adds current p"...
comment "/// <response code=\"200\">Available live tv channels returned"...
comment "/// <returns>"
comment "/// An <see cref=\"OkResult\"/> containing the resulting avail"...
comment "/// </returns>"
method_declaration
attribute_list
[ "["
attribute
identifier "HttpGet"
attribute_argument_list
( "("
attribute_argument
string_literal
" "\""
string_literal_content "Channels"
" "\""
) ")"
] "]"
attribute_list
[ "["
attribute
identifier "ProducesResponseType"
attribute_argument_list
( "("
attribute_argument
member_access_expression
identifier "StatusCodes"
. "."
identifier "Status200OK"
) ")"
] "]"
attribute_list
[ "["
attribute
identifier "Authorize"
attribute_argument_list
( "("
attribute_argument
identifier "Policy"
= "="
member_access_expression
identifier "Policies"
. "."
identifier "LiveTvAccess"
) ")"
] "]"
modifier
public "public"
generic_name
identifier "ActionResult"
type_argument_list
< "<"
generic_name
identifier "QueryResult"
type_argument_list
< "<"
identifier "BaseItemDto"
> ">"
> ">"
identifier "GetLiveTvChannels"
parameter_list (+277 nodes collapsed)
block
{ "{"
expression_statement
assignment_expression
identifier "userId"
= "="
invocation_expression
member_access_expression
identifier "RequestHelpers"
. "."
identifier "GetUserId"
argument_list
( "("
argument
identifier "User"
, ","
argument
identifier "userId"
) ")"
; ";"
local_declaration_statement
variable_declaration
implicit_type
var "var"
variable_declarator
identifier "dtoOptions"
= "="
invocation_expression any 2:1
member_access_expression any 2:1
invocation_expression any 2:1
member_access_expression any 2:1
object_creation_expression
new "new"
identifier "DtoOptions"
initializer_expression
{ "{"
assignment_expression
identifier "Fields"
= "="
identifier "fields"
} "}"
. "."
identifier "AddClientFields"
argument_list
( "("
argument
identifier "User"
) ")"
. "."
identifier "AddAdditionalDtoOptions"
argument_list
( "("
argument
identifier "enableImages"
, ","
argument
identifier "enableUserData"
, ","
argument
identifier "imageTypeLimit"
, ","
argument
identifier "enableImageTypes"
) ")"
; ";"
local_declaration_statement (+120 nodes collapsed)
local_declaration_statement (+33 nodes collapsed)
local_declaration_statement
variable_declaration
implicit_type
var "var"
variable_declarator
identifier "fieldsList"
= "="
invocation_expression
member_access_expression
member_access_expression
identifier "dtoOptions"
. "."
identifier "Fields"
. "."
identifier "ToList"
argument_list
( "("
) ")"
; ";"
expression_statement
invocation_expression
member_access_expression
identifier "fieldsList"
. "."
identifier "Remove"
argument_list
( "("
argument
member_access_expression
identifier "ItemFields"
. "."
identifier "CanDelete"
) ")"
; ";"
expression_statement
invocation_expression
member_access_expression
identifier "fieldsList"
. "."
identifier "Remove"
argument_list
( "("
argument
member_access_expression
identifier "ItemFields"
. "."
identifier "CanDownload"
) ")"
; ";"
expression_statement
invocation_expression
member_access_expression
identifier "fieldsList"
. "."
identifier "Remove"
argument_list
( "("
argument
member_access_expression
identifier "ItemFields"
. "."
identifier "DisplayPreferencesId"
) ")"
; ";"
expression_statement
invocation_expression
member_access_expression
identifier "fieldsList"
. "."
identifier "Remove"
argument_list
( "("
argument
member_access_expression
identifier "ItemFields"
. "."
identifier "Etag"
) ")"
; ";"
expression_statement
assignment_expression
member_access_expression
identifier "dtoOptions"
. "."
identifier "Fields"
= "="
invocation_expression
member_access_expression
identifier "fieldsList"
. "."
identifier "ToArray"
argument_list
( "("
) ")"
; ";"
expression_statement
assignment_expression
member_access_expression
identifier "dtoOptions"
. "."
identifier "AddCurrentProgram"
= "="
identifier "addCurrentProgram"
; ";"
local_declaration_statement (+27 nodes collapsed)
return_statement (+25 nodes collapsed)
} "}"
comment "/// <summary>"
comment "/// Gets a live tv channel."
comment "/// </summary>"
comment "/// <param name=\"channelId\">Channel id.</param>"
comment "/// <param name=\"userId\">Optional. Attach user data.</param>"
comment "/// <response code=\"200\">Live tv channel returned.</response"...
comment "/// <response code=\"404\">Item not found.</response>"
comment "/// <returns>An <see cref=\"OkResult\"/> containing the live t"...
method_declaration
attribute_list
[ "["
attribute
identifier "HttpGet"
attribute_argument_list
( "("
attribute_argument
string_literal
" "\""
string_literal_content "Channels/{channelId}"
" "\""
) ")"
] "]"
attribute_list
[ "["
attribute
identifier "ProducesResponseType"
attribute_argument_list
( "("
attribute_argument
member_access_expression
identifier "StatusCodes"
. "."
identifier "Status200OK"
) ")"
] "]"
attribute_list
[ "["
attribute
identifier "ProducesResponseType"
attribute_argument_list
( "("
attribute_argument
member_access_expression
identifier "StatusCodes"
. "."
identifier "Status404NotFound"
) ")"
] "]"
attribute_list
[ "["
attribute
identifier "Authorize"
attribute_argument_list
( "("
attribute_argument
identifier "Policy"
= "="
member_access_expression
identifier "Policies"
. "."
identifier "LiveTvAccess"
) ")"
] "]"
modifier
public "public"
generic_name
identifier "ActionResult"
type_argument_list
< "<"
identifier "BaseItemDto"
> ">"
identifier "GetChannel"
parameter_list (+25 nodes collapsed)
block
{ "{"
expression_statement
assignment_expression
identifier "userId"
= "="
invocation_expression
member_access_expression
identifier "RequestHelpers"
. "."
identifier "GetUserId"
argument_list
( "("
argument
identifier "User"
, ","
argument
identifier "userId"
) ")"
; ";"
local_declaration_statement (+33 nodes collapsed)
local_declaration_statement (+45 nodes collapsed)
if_statement
if "if"
( "("
is_pattern_expression
identifier "item"
is "is"
constant_pattern
null_literal "null"
) ")"
block
{ "{"
return_statement
return "return"
invocation_expression
identifier "NotFound"
argument_list
( "("
) ")"
; ";"
} "}"
local_declaration_statement
variable_declaration
implicit_type
var "var"
variable_declarator
identifier "dtoOptions"
= "="
invocation_expression
member_access_expression
object_creation_expression
new "new"
identifier "DtoOptions"
argument_list
( "("
) ")"
. "."
identifier "AddClientFields"
argument_list
( "("
argument
identifier "User"
) ")"
; ";"
return_statement
return "return"
invocation_expression
member_access_expression
identifier "_dtoService"
. "."
identifier "GetBaseItemDto"
argument_list
( "("
argument
identifier "item"
, ","
argument
identifier "dtoOptions"
, ","
argument
identifier "user"
) ")"
; ";"
} "}"
comment "/// <summary>"
comment "/// Gets live tv recordings."
comment "/// </summary>"
comment "/// <param name=\"channelId\">Optional. Filter by channel id.<"...
comment "/// <param name=\"userId\">Optional. Filter by user and attach"...
comment "/// <param name=\"startIndex\">Optional. The record index to s"...
comment "/// <param name=\"limit\">Optional. The maximum number of reco"...
comment "/// <param name=\"status\">Optional. Filter by recording statu"...
comment "/// <param name=\"isInProgress\">Optional. Filter by recording"...
comment "/// <param name=\"seriesTimerId\">Optional. Filter by recordin"...
comment "/// <param name=\"enableImages\">Optional. Include image infor"...
comment "/// <param name=\"imageTypeLimit\">Optional. The max number of"...
comment "/// <param name=\"enableImageTypes\">Optional. The image types"...
comment "/// <param name=\"fields\">Optional. Specify additional fields"...
comment "/// <param name=\"enableUserData\">Optional. Include user data"...
comment "/// <param name=\"isMovie\">Optional. Filter for movies.</para"...
comment "/// <param name=\"isSeries\">Optional. Filter for series.</par"...
comment "/// <param name=\"isKids\">Optional. Filter for kids.</param>"
comment "/// <param name=\"isSports\">Optional. Filter for sports.</par"...
comment "/// <param name=\"isNews\">Optional. Filter for news.</param>"
comment "/// <param name=\"isLibraryItem\">Optional. Filter for is libr"...
comment "/// <param name=\"enableTotalRecordCount\">Optional. Return to"...
comment "/// <response code=\"200\">Live tv recordings returned.</respo"...
comment "/// <returns>An <see cref=\"OkResult\"/> containing the live t"...
method_declaration
attribute_list
[ "["
attribute
identifier "HttpGet"
attribute_argument_list
( "("
attribute_argument
string_literal
" "\""
string_literal_content "Recordings"
" "\""
) ")"
] "]"
attribute_list
[ "["
attribute
identifier "ProducesResponseType"
attribute_argument_list
( "("
attribute_argument
member_access_expression
identifier "StatusCodes"
. "."
identifier "Status200OK"
) ")"
] "]"
attribute_list
[ "["
attribute
identifier "Authorize"
attribute_argument_list
( "("
attribute_argument
identifier "Policy"
= "="
member_access_expression
identifier "Policies"
. "."
identifier "LiveTvAccess"
) ")"
] "]"
modifier
public "public"
modifier
async "async"
generic_name
identifier "Task"
type_argument_list
< "<"
generic_name
identifier "ActionResult"
type_argument_list
< "<"
generic_name
identifier "QueryResult"
type_argument_list
< "<"
identifier "BaseItemDto"
> ">"
> ">"
> ">"
identifier "GetRecordings"
parameter_list (+240 nodes collapsed)
block
{ "{"
expression_statement
assignment_expression
identifier "userId"
= "="
invocation_expression
member_access_expression
identifier "RequestHelpers"
. "."
identifier "GetUserId"
argument_list
( "("
argument
identifier "User"
, ","
argument
identifier "userId"
) ")"
; ";"
local_declaration_statement
variable_declaration
implicit_type
var "var"
variable_declarator
identifier "dtoOptions"
= "="
invocation_expression any 2:1
member_access_expression any 2:1
invocation_expression any 2:1
member_access_expression any 2:1
object_creation_expression
new "new"
identifier "DtoOptions"
initializer_expression
{ "{"
assignment_expression
identifier "Fields"
= "="
identifier "fields"
} "}"
. "."
identifier "AddClientFields"
argument_list
( "("
argument
identifier "User"
) ")"
. "."
identifier "AddAdditionalDtoOptions"
argument_list
( "("
argument
identifier "enableImages"
, ","
argument
identifier "enableUserData"
, ","
argument
identifier "imageTypeLimit"
, ","
argument
identifier "enableImageTypes"
) ")"
; ";"
return_statement (+120 nodes collapsed)
} "}"
comment "/// <summary>"
comment "/// Gets live tv recording series."
comment "/// </summary>"
comment "/// <param name=\"channelId\">Optional. Filter by channel id.<"...
comment "/// <param name=\"userId\">Optional. Filter by user and attach"...
comment "/// <param name=\"groupId\">Optional. Filter by recording grou"...
comment "/// <param name=\"startIndex\">Optional. The record index to s"...
comment "/// <param name=\"limit\">Optional. The maximum number of reco"...
comment "/// <param name=\"status\">Optional. Filter by recording statu"...
comment "/// <param name=\"isInProgress\">Optional. Filter by recording"...
comment "/// <param name=\"seriesTimerId\">Optional. Filter by recordin"...
comment "/// <param name=\"enableImages\">Optional. Include image infor"...
comment "/// <param name=\"imageTypeLimit\">Optional. The max number of"...
comment "/// <param name=\"enableImageTypes\">Optional. The image types"...
comment "/// <param name=\"fields\">Optional. Specify additional fields"...
comment "/// <param name=\"enableUserData\">Optional. Include user data"...
comment "/// <param name=\"enableTotalRecordCount\">Optional. Return to"...
comment "/// <response code=\"200\">Live tv recordings returned.</respo"...
comment "/// <returns>An <see cref=\"OkResult\"/> containing the live t"...
method_declaration (+761 nodes collapsed)
comment "/// <summary>"
comment "/// Gets live tv recording groups."
comment "/// </summary>"
comment "/// <param name=\"userId\">Optional. Filter by user and attach"...
comment "/// <response code=\"200\">Recording groups returned.</respons"...
comment "/// <returns>An <see cref=\"OkResult\"/> containing the record"...
method_declaration (+134 nodes collapsed)
comment "/// <summary>"
comment "/// Gets recording folders."
comment "/// </summary>"
comment "/// <param name=\"userId\">Optional. Filter by user and attach"...
comment "/// <response code=\"200\">Recording folders returned.</respon"...
comment "/// <returns>An <see cref=\"OkResult\"/> containing the record"...
method_declaration (+205 nodes collapsed)
comment "/// <summary>"
comment "/// Gets a live tv recording."
comment "/// </summary>"
comment "/// <param name=\"recordingId\">Recording id.</param>"
comment "/// <param name=\"userId\">Optional. Attach user data.</param>"
comment "/// <response code=\"200\">Recording returned.</response>"
comment "/// <response code=\"404\">Item not found.</response>"
comment "/// <returns>An <see cref=\"OkResult\"/> containing the live t"...
method_declaration
attribute_list
[ "["
attribute
identifier "HttpGet"
attribute_argument_list
( "("
attribute_argument
string_literal
" "\""
string_literal_content "Recordings/{recordingId}"
" "\""
) ")"
] "]"
attribute_list
[ "["
attribute
identifier "ProducesResponseType"
attribute_argument_list
( "("
attribute_argument
member_access_expression
identifier "StatusCodes"
. "."
identifier "Status200OK"
) ")"
] "]"
attribute_list
[ "["
attribute
identifier "ProducesResponseType"
attribute_argument_list
( "("
attribute_argument
member_access_expression
identifier "StatusCodes"
. "."
identifier "Status404NotFound"
) ")"
] "]"
attribute_list
[ "["
attribute
identifier "Authorize"
attribute_argument_list
( "("
attribute_argument
identifier "Policy"
= "="
member_access_expression
identifier "Policies"
. "."
identifier "LiveTvAccess"
) ")"
] "]"
modifier
public "public"
generic_name
identifier "ActionResult"
type_argument_list
< "<"
identifier "BaseItemDto"
> ">"
identifier "GetRecording"
parameter_list (+25 nodes collapsed)
block
{ "{"
expression_statement
assignment_expression
identifier "userId"
= "="
invocation_expression
member_access_expression
identifier "RequestHelpers"
. "."
identifier "GetUserId"
argument_list
( "("
argument
identifier "User"
, ","
argument
identifier "userId"
) ")"
; ";"
local_declaration_statement (+33 nodes collapsed)
local_declaration_statement (+45 nodes collapsed)
if_statement
if "if"
( "("
is_pattern_expression
identifier "item"
is "is"
constant_pattern
null_literal "null"
) ")"
block
{ "{"
return_statement
return "return"
invocation_expression
identifier "NotFound"
argument_list
( "("
) ")"
; ";"
} "}"
local_declaration_statement
variable_declaration
implicit_type
var "var"
variable_declarator
identifier "dtoOptions"
= "="
invocation_expression
member_access_expression
object_creation_expression
new "new"
identifier "DtoOptions"
argument_list
( "("
) ")"
. "."
identifier "AddClientFields"
argument_list
( "("
argument
identifier "User"
) ")"
; ";"
return_statement
return "return"
invocation_expression
member_access_expression
identifier "_dtoService"
. "."
identifier "GetBaseItemDto"
argument_list
( "("
argument
identifier "item"
, ","
argument
identifier "dtoOptions"
, ","
argument
identifier "user"
) ")"
; ";"
} "}"
comment "/// <summary>"
comment "/// Resets a tv tuner."
comment "/// </summary>"
comment "/// <param name=\"tunerId\">Tuner id.</param>"
comment "/// <response code=\"204\">Tuner reset.</response>"
comment "/// <returns>A <see cref=\"NoContentResult\"/>.</returns>"
method_declaration (+108 nodes collapsed)
comment "/// <summary>"
comment "/// Gets a timer."
comment "/// </summary>"
comment "/// <param name=\"timerId\">Timer id.</param>"
comment "/// <response code=\"200\">Timer returned.</response>"
comment "/// <returns>"
comment "/// A <see cref=\"Task\"/> containing an <see cref=\"OkResult\"/"...
comment "/// </returns>"
method_declaration (+106 nodes collapsed)
comment "/// <summary>"
comment "/// Gets the default values for a new timer."
comment "/// </summary>"
comment "/// <param name=\"programId\">Optional. To attach default valu"...
comment "/// <response code=\"200\">Default values returned.</response>"
comment "/// <returns>"
comment "/// A <see cref=\"Task\"/> containing an <see cref=\"OkResult\"/"...
comment "/// </returns>"
method_declaration (+143 nodes collapsed)
comment "/// <summary>"
comment "/// Gets the live tv timers."
comment "/// </summary>"
comment "/// <param name=\"channelId\">Optional. Filter by channel id.<"...
comment "/// <param name=\"seriesTimerId\">Optional. Filter by timers b"...
comment "/// <param name=\"isActive\">Optional. Filter by timers that a"...
comment "/// <param name=\"isScheduled\">Optional. Filter by timers tha"...
comment "/// <returns>"
comment "/// A <see cref=\"Task\"/> containing an <see cref=\"OkResult\"/"...
comment "/// </returns>"
method_declaration (+167 nodes collapsed)
comment "/// <summary>"
comment "/// Gets available live tv epgs."
comment "/// </summary>"
comment "/// <param name=\"channelIds\">The channels to return guide in"...
comment "/// <param name=\"userId\">Optional. Filter by user id.</param"...
comment "/// <param name=\"minStartDate\">Optional. The minimum premier"...
comment "/// <param name=\"hasAired\">Optional. Filter by programs that"...
comment "/// <param name=\"isAiring\">Optional. Filter by programs that"...
comment "/// <param name=\"maxStartDate\">Optional. The maximum premier"...
comment "/// <param name=\"minEndDate\">Optional. The minimum premiere "...
comment "/// <param name=\"maxEndDate\">Optional. The maximum premiere "...
comment "/// <param name=\"isMovie\">Optional. Filter for movies.</para"...
comment "/// <param name=\"isSeries\">Optional. Filter for series.</par"...
comment "/// <param name=\"isNews\">Optional. Filter for news.</param>"
comment "/// <param name=\"isKids\">Optional. Filter for kids.</param>"
comment "/// <param name=\"isSports\">Optional. Filter for sports.</par"...
comment "/// <param name=\"startIndex\">Optional. The record index to s"...
comment "/// <param name=\"limit\">Optional. The maximum number of reco"...
comment "/// <param name=\"sortBy\">Optional. Specify one or more sort "...
comment "/// <param name=\"sortOrder\">Sort Order - Ascending,Descendin"...
comment "/// <param name=\"genres\">The genres to return guide informat"...
comment "/// <param name=\"genreIds\">The genre ids to return guide inf"...
comment "/// <param name=\"enableImages\">Optional. Include image infor"...
comment "/// <param name=\"imageTypeLimit\">Optional. The max number of"...
comment "/// <param name=\"enableImageTypes\">Optional. The image types"...
comment "/// <param name=\"enableUserData\">Optional. Include user data"...
comment "/// <param name=\"seriesTimerId\">Optional. Filter by series t"...
comment "/// <param name=\"librarySeriesId\">Optional. Filter by librar"...
comment "/// <param name=\"fields\">Optional. Specify additional fields"...
comment "/// <param name=\"enableTotalRecordCount\">Retrieve total reco"...
comment "/// <response code=\"200\">Live tv epgs returned.</response>"
comment "/// <returns>"
comment "/// A <see cref=\"Task\"/> containing a <see cref=\"OkResult\"/>"...
comment "/// </returns>"
method_declaration
attribute_list
[ "["
attribute
identifier "HttpGet"
attribute_argument_list
( "("
attribute_argument
string_literal
" "\""
string_literal_content "Programs"
" "\""
) ")"
] "]"
attribute_list
[ "["
attribute
identifier "ProducesResponseType"
attribute_argument_list
( "("
attribute_argument
member_access_expression
identifier "StatusCodes"
. "."
identifier "Status200OK"
) ")"
] "]"
attribute_list
[ "["
attribute
identifier "Authorize"
attribute_argument_list
( "("
attribute_argument
identifier "Policy"
= "="
member_access_expression
identifier "Policies"
. "."
identifier "LiveTvAccess"
) ")"
] "]"
modifier
public "public"
modifier
async "async"
generic_name
identifier "Task"
type_argument_list
< "<"
generic_name
identifier "ActionResult"
type_argument_list
< "<"
generic_name
identifier "QueryResult"
type_argument_list
< "<"
identifier "BaseItemDto"
> ">"
> ">"
> ">"
identifier "GetLiveTvPrograms"
parameter_list (+398 nodes collapsed)
block
{ "{"
expression_statement
assignment_expression
identifier "userId"
= "="
invocation_expression
member_access_expression
identifier "RequestHelpers"
. "."
identifier "GetUserId"
argument_list
( "("
argument
identifier "User"
, ","
argument
identifier "userId"
) ")"
; ";"
local_declaration_statement (+33 nodes collapsed)
local_declaration_statement (+125 nodes collapsed)
if_statement (+79 nodes collapsed)
local_declaration_statement
variable_declaration
implicit_type
var "var"
variable_declarator
identifier "dtoOptions"
= "="
invocation_expression any 2:1
member_access_expression any 2:1
invocation_expression any 2:1
member_access_expression any 2:1
object_creation_expression
new "new"
identifier "DtoOptions"
initializer_expression
{ "{"
assignment_expression
identifier "Fields"
= "="
identifier "fields"
} "}"
. "."
identifier "AddClientFields"
argument_list
( "("
argument
identifier "User"
) ")"
. "."
identifier "AddAdditionalDtoOptions"
argument_list
( "("
argument
identifier "enableImages"
, ","
argument
identifier "enableUserData"
, ","
argument
identifier "imageTypeLimit"
, ","
argument
identifier "enableImageTypes"
) ")"
; ";"
return_statement (+34 nodes collapsed)
} "}"
comment "/// <summary>"
comment "/// Gets available live tv epgs."
comment "/// </summary>"
comment "/// <param name=\"body\">Request body.</param>"
comment "/// <response code=\"200\">Live tv epgs returned.</response>"
comment "/// <returns>"
comment "/// A <see cref=\"Task\"/> containing a <see cref=\"OkResult\"/>"...
comment "/// </returns>"
method_declaration
attribute_list
[ "["
attribute
identifier "HttpPost"
attribute_argument_list
( "("
attribute_argument
string_literal
" "\""
string_literal_content "Programs"
" "\""
) ")"
] "]"
attribute_list
[ "["
attribute
identifier "ProducesResponseType"
attribute_argument_list
( "("
attribute_argument
member_access_expression
identifier "StatusCodes"
. "."
identifier "Status200OK"
) ")"
] "]"
attribute_list
[ "["
attribute
identifier "Authorize"
attribute_argument_list
( "("
attribute_argument
identifier "Policy"
= "="
member_access_expression
identifier "Policies"
. "."
identifier "LiveTvAccess"
) ")"
] "]"
modifier
public "public"
modifier
async "async"
generic_name
identifier "Task"
type_argument_list
< "<"
generic_name
identifier "ActionResult"
type_argument_list
< "<"
generic_name
identifier "QueryResult"
type_argument_list
< "<"
identifier "BaseItemDto"
> ">"
> ">"
> ">"
identifier "GetPrograms"
parameter_list
( "("
parameter
attribute_list
[ "["
attribute
identifier "FromBody"
] "]"
identifier "GetProgramsDto"
identifier "body"
) ")"
block
{ "{"
local_declaration_statement (+39 nodes collapsed)
local_declaration_statement (+210 nodes collapsed)
if_statement (+85 nodes collapsed)
local_declaration_statement
variable_declaration
implicit_type
var "var"
variable_declarator
identifier "dtoOptions"
= "="
invocation_expression any 2:1
member_access_expression any 2:1
invocation_expression any 2:1
member_access_expression any 2:1
object_creation_expression
new "new"
identifier "DtoOptions"
initializer_expression
{ "{"
assignment_expression
identifier "Fields"
= "="
binary_expression
member_access_expression
identifier "body"
. "."
identifier "Fields"
?? "??"
collection_expression
[ "["
] "]"
} "}"
. "."
identifier "AddClientFields"
argument_list
( "("
argument
identifier "User"
) ")"
. "."
identifier "AddAdditionalDtoOptions"
argument_list (+31 nodes collapsed)
; ";"
return_statement (+34 nodes collapsed)
} "}"
comment "/// <summary>"
comment "/// Gets recommended live tv epgs."
comment "/// </summary>"
comment "/// <param name=\"userId\">Optional. filter by user id.</param"...
comment "/// <param name=\"startIndex\">Optional. The record index to s"...
comment "/// <param name=\"limit\">Optional. The maximum number of reco"...
comment "/// <param name=\"isAiring\">Optional. Filter by programs that"...
comment "/// <param name=\"hasAired\">Optional. Filter by programs that"...
comment "/// <param name=\"isSeries\">Optional. Filter for series.</par"...
comment "/// <param name=\"isMovie\">Optional. Filter for movies.</para"...
comment "/// <param name=\"isNews\">Optional. Filter for news.</param>"
comment "/// <param name=\"isKids\">Optional. Filter for kids.</param>"
comment "/// <param name=\"isSports\">Optional. Filter for sports.</par"...
comment "/// <param name=\"enableImages\">Optional. Include image infor"...
comment "/// <param name=\"imageTypeLimit\">Optional. The max number of"...
comment "/// <param name=\"enableImageTypes\">Optional. The image types"...
comment "/// <param name=\"genreIds\">The genres to return guide inform"...
comment "/// <param name=\"fields\">Optional. Specify additional fields"...
comment "/// <param name=\"enableUserData\">Optional. include user data"...
comment "/// <param name=\"enableTotalRecordCount\">Retrieve total reco"...
comment "/// <response code=\"200\">Recommended epgs returned.</respons"...
comment "/// <returns>A <see cref=\"OkResult\"/> containing the queryre"...
method_declaration
attribute_list
[ "["
attribute
identifier "HttpGet"
attribute_argument_list
( "("
attribute_argument
string_literal
" "\""
string_literal_content "Programs/Recommended"
" "\""
) ")"
] "]"
attribute_list
[ "["
attribute
identifier "Authorize"
attribute_argument_list
( "("
attribute_argument
identifier "Policy"
= "="
member_access_expression
identifier "Policies"
. "."
identifier "LiveTvAccess"
) ")"
] "]"
attribute_list
[ "["
attribute
identifier "ProducesResponseType"
attribute_argument_list
( "("
attribute_argument
member_access_expression
identifier "StatusCodes"
. "."
identifier "Status200OK"
) ")"
] "]"
modifier
public "public"
modifier
async "async"
generic_name
identifier "Task"
type_argument_list
< "<"
generic_name
identifier "ActionResult"
type_argument_list
< "<"
generic_name
identifier "QueryResult"
type_argument_list
< "<"
identifier "BaseItemDto"
> ">"
> ">"
> ">"
identifier "GetRecommendedPrograms"
parameter_list (+232 nodes collapsed)
block
{ "{"
expression_statement
assignment_expression
identifier "userId"
= "="
invocation_expression
member_access_expression
identifier "RequestHelpers"
. "."
identifier "GetUserId"
argument_list
( "("
argument
identifier "User"
, ","
argument
identifier "userId"
) ")"
; ";"
local_declaration_statement (+33 nodes collapsed)
local_declaration_statement (+73 nodes collapsed)
local_declaration_statement
variable_declaration
implicit_type
var "var"
variable_declarator
identifier "dtoOptions"
= "="
invocation_expression any 2:1
member_access_expression any 2:1
invocation_expression any 2:1
member_access_expression any 2:1
object_creation_expression
new "new"
identifier "DtoOptions"
initializer_expression
{ "{"
assignment_expression
identifier "Fields"
= "="
identifier "fields"
} "}"
. "."
identifier "AddClientFields"
argument_list
( "("
argument
identifier "User"
) ")"
. "."
identifier "AddAdditionalDtoOptions"
argument_list
( "("
argument
identifier "enableImages"
, ","
argument
identifier "enableUserData"
, ","
argument
identifier "imageTypeLimit"
, ","
argument
identifier "enableImageTypes"
) ")"
; ";"
return_statement (+34 nodes collapsed)
} "}"
comment "/// <summary>"
comment "/// Gets a live tv program."
comment "/// </summary>"
comment "/// <param name=\"programId\">Program id.</param>"
comment "/// <param name=\"userId\">Optional. Attach user data.</param>"
comment "/// <response code=\"200\">Program returned.</response>"
comment "/// <returns>An <see cref=\"OkResult\"/> containing the livetv"...
method_declaration (+171 nodes collapsed)
comment "/// <summary>"
comment "/// Deletes a live tv recording."
comment "/// </summary>"
comment "/// <param name=\"recordingId\">Recording id.</param>"
comment "/// <response code=\"204\">Recording deleted.</response>"
comment "/// <response code=\"404\">Item not found.</response>"
comment "/// <returns>A <see cref=\"NoContentResult\"/> on success, or "...
method_declaration (+162 nodes collapsed)
comment "/// <summary>"
comment "/// Cancels a live tv timer."
comment "/// </summary>"
comment "/// <param name=\"timerId\">Timer id.</param>"
comment "/// <response code=\"204\">Timer deleted.</response>"
comment "/// <returns>A <see cref=\"NoContentResult\"/>.</returns>"
method_declaration (+102 nodes collapsed)
comment "/// <summary>"
comment "/// Updates a live tv timer."
comment "/// </summary>"
comment "/// <param name=\"timerId\">Timer id.</param>"
comment "/// <param name=\"timerInfo\">New timer info.</param>"
comment "/// <response code=\"204\">Timer updated.</response>"
comment "/// <returns>A <see cref=\"NoContentResult\"/>.</returns>"
method_declaration (+152 nodes collapsed)
comment "/// <summary>"
comment "/// Creates a live tv timer."
comment "/// </summary>"
comment "/// <param name=\"timerInfo\">New timer info.</param>"
comment "/// <response code=\"204\">Timer created.</response>"
comment "/// <returns>A <see cref=\"NoContentResult\"/>.</returns>"
method_declaration (+105 nodes collapsed)
comment "/// <summary>"
comment "/// Gets a live tv series timer."
comment "/// </summary>"
comment "/// <param name=\"timerId\">Timer id.</param>"
comment "/// <response code=\"200\">Series timer returned.</response>"
comment "/// <response code=\"404\">Series timer not found.</response>"
comment "/// <returns>A <see cref=\"OkResult\"/> on success, or a <see "...
method_declaration (+148 nodes collapsed)
comment "/// <summary>"
comment "/// Gets live tv series timers."
comment "/// </summary>"
comment "/// <param name=\"sortBy\">Optional. Sort by SortName or Prior"...
comment "/// <param name=\"sortOrder\">Optional. Sort in Ascending or D"...
comment "/// <response code=\"200\">Timers returned.</response>"
comment "/// <returns>An <see cref=\"OkResult\"/> of live tv series tim"...
method_declaration (+141 nodes collapsed)
comment "/// <summary>"
comment "/// Cancels a live tv series timer."
comment "/// </summary>"
comment "/// <param name=\"timerId\">Timer id.</param>"
comment "/// <response code=\"204\">Timer cancelled.</response>"
comment "/// <returns>A <see cref=\"NoContentResult\"/>.</returns>"
method_declaration (+102 nodes collapsed)
comment "/// <summary>"
comment "/// Updates a live tv series timer."
comment "/// </summary>"
comment "/// <param name=\"timerId\">Timer id.</param>"
comment "/// <param name=\"seriesTimerInfo\">New series timer info.</pa"...
comment "/// <response code=\"204\">Series timer updated.</response>"
comment "/// <returns>A <see cref=\"NoContentResult\"/>.</returns>"
method_declaration (+152 nodes collapsed)
comment "/// <summary>"
comment "/// Creates a live tv series timer."
comment "/// </summary>"
comment "/// <param name=\"seriesTimerInfo\">New series timer info.</pa"...
comment "/// <response code=\"204\">Series timer info created.</respons"...
comment "/// <returns>A <see cref=\"NoContentResult\"/>.</returns>"
method_declaration (+105 nodes collapsed)
comment "/// <summary>"
comment "/// Get recording group."
comment "/// </summary>"
comment "/// <param name=\"groupId\">Group id.</param>"
comment "/// <returns>A <see cref=\"NotFoundResult\"/>.</returns>"
method_declaration (+89 nodes collapsed)
comment "/// <summary>"
comment "/// Get guide info."
comment "/// </summary>"
comment "/// <response code=\"200\">Guide info returned.</response>"
comment "/// <returns>An <see cref=\"OkResult\"/> containing the guide "...
method_declaration (+65 nodes collapsed)
comment "/// <summary>"
comment "/// Adds a tuner host."
comment "/// </summary>"
comment "/// <param name=\"tunerHostInfo\">New tuner host.</param>"
comment "/// <response code=\"200\">Created tuner host returned.</respo"...
comment "/// <returns>A <see cref=\"OkResult\"/> containing the created"...
method_declaration (+94 nodes collapsed)
comment "/// <summary>"
comment "/// Deletes a tuner host."
comment "/// </summary>"
comment "/// <param name=\"id\">Tuner host id.</param>"
comment "/// <response code=\"204\">Tuner host deleted.</response>"
comment "/// <returns>A <see cref=\"NoContentResult\"/>.</returns>"
method_declaration (+168 nodes collapsed)
comment "/// <summary>"
comment "/// Gets default listings provider info."
comment "/// </summary>"
comment "/// <response code=\"200\">Default listings provider info retu"...
comment "/// <returns>An <see cref=\"OkResult\"/> containing the defaul"...
method_declaration (+66 nodes collapsed)
comment "/// <summary>"
comment "/// Adds a listings provider."
comment "/// </summary>"
comment "/// <param name=\"pw\">Password.</param>"
comment "/// <param name=\"listingsProviderInfo\">New listings info.</p"...
comment "/// <param name=\"validateListings\">Validate listings.</param"...
comment "/// <param name=\"validateLogin\">Validate login.</param>"
comment "/// <response code=\"200\">Created listings provider returned."...
comment "/// <returns>A <see cref=\"OkResult\"/> containing the created"...
method_declaration (+240 nodes collapsed)
comment "/// <summary>"
comment "/// Delete listing provider."
comment "/// </summary>"
comment "/// <param name=\"id\">Listing provider id.</param>"
comment "/// <response code=\"204\">Listing provider deleted.</response"...
comment "/// <returns>A <see cref=\"NoContentResult\"/>.</returns>"
method_declaration (+82 nodes collapsed)
comment "/// <summary>"
comment "/// Gets available lineups."
comment "/// </summary>"
comment "/// <param name=\"id\">Provider id.</param>"
comment "/// <param name=\"type\">Provider type.</param>"
comment "/// <param name=\"location\">Location.</param>"
comment "/// <param name=\"country\">Country.</param>"
comment "/// <response code=\"200\">Available lineups returned.</respon"...
comment "/// <returns>A <see cref=\"OkResult\"/> containing the availab"...
method_declaration (+143 nodes collapsed)
comment "/// <summary>"
comment "/// Gets available countries."
comment "/// </summary>"
comment "/// <response code=\"200\">Available countries returned.</resp"...
comment "/// <returns>A <see cref=\"FileResult\"/> containing the avail"...
method_declaration (+179 nodes collapsed)
comment "/// <summary>"
comment "/// Get channel mapping options."
comment "/// </summary>"
comment "/// <param name=\"providerId\">Provider id.</param>"
comment "/// <response code=\"200\">Channel mapping options returned.</"...
comment "/// <returns>An <see cref=\"OkResult\"/> containing the channe"...
method_declaration (+77 nodes collapsed)
comment "/// <summary>"
comment "/// Set channel mappings."
comment "/// </summary>"
comment "/// <param name=\"dto\">The set channel mapping dto.</param>"
comment "/// <response code=\"200\">Created channel mapping returned.</"...
comment "/// <returns>An <see cref=\"OkResult\"/> containing the create"...
method_declaration (+93 nodes collapsed)
comment "/// <summary>"
comment "/// Get tuner host types."
comment "/// </summary>"
comment "/// <response code=\"200\">Tuner host types returned.</respons"...
comment "/// <returns>An <see cref=\"OkResult\"/> containing the tuner "...
method_declaration (+65 nodes collapsed)
comment "/// <summary>"
comment "/// Discover tuners."
comment "/// </summary>"
comment "/// <param name=\"newDevicesOnly\">Only discover new tuners.</"...
comment "/// <response code=\"200\">Tuners returned.</response>"
comment "/// <returns>An <see cref=\"OkResult\"/> containing the tuners"...
method_declaration (+99 nodes collapsed)
comment "/// <summary>"
comment "/// Gets a live tv recording stream."
comment "/// </summary>"
comment "/// <param name=\"recordingId\">Recording id.</param>"
comment "/// <response code=\"200\">Recording stream returned.</respons"...
comment "/// <response code=\"404\">Recording not found.</response>"
comment "/// <returns>"
comment "/// An <see cref=\"OkResult\"/> containing the recording strea"...
comment "/// or a <see cref=\"NotFoundResult\"/> if recording not found"...
comment "/// </returns>"
method_declaration (+154 nodes collapsed)
comment "/// <summary>"
comment "/// Gets a live tv channel stream."
comment "/// </summary>"
comment "/// <param name=\"streamId\">Stream id.</param>"
comment "/// <param name=\"container\">Container type.</param>"
comment "/// <response code=\"200\">Stream returned.</response>"
comment "/// <response code=\"404\">Stream not found.</response>"
comment "/// <returns>"
comment "/// An <see cref=\"OkResult\"/> containing the channel stream "...
comment "/// or a <see cref=\"NotFoundResult\"/> if stream not found."
comment "/// </returns>"
method_declaration (+181 nodes collapsed)
} "}"