2018-11-27, 14:25
Whenever I am using GetSeasons, I correctly get all the information about seasons.
However, when navigating deeper into my app, I want to call GetSeasonDetails, and somehow it does not return the watchedepisodes. According to the docs, the watched episodes should be returned.
Request:
Response:
As a workaround for now, I am using GetSeasons and filter by the seasonid.
However, when navigating deeper into my app, I want to call GetSeasonDetails, and somehow it does not return the watchedepisodes. According to the docs, the watched episodes should be returned.
Request:
javascript:
{
"jsonrpc": "2.0",
"id": "f2e667cb-dc44-4d29-b4d9-f9aac3ac9be8",
"method": "VideoLibrary.GetSeasonDetails",
"params": {
"seasonid": 549,
"properties": [
"season",
"showtitle",
"tvshowid",
"userrating",
"episode",
"watchedepisodes",
"art",
"playcount",
"fanart",
"thumbnail"
]
}
}
Response:
javascript:
{{
"id": "f2e667cb-dc44-4d29-b4d9-f9aac3ac9be8",
"jsonrpc": "2.0",
"result": {
"seasondetails": {
"art": {
"poster": "-",
"season.poster": "-",
"tvshow.banner": "-",
"tvshow.fanart": "-",
"tvshow.poster": "-"
},
"episode": 10,
"fanart": "-",
"label": "Season 1",
"playcount": 0,
"season": 1,
"seasonid": 549,
"showtitle": "-",
"thumbnail": "-",
"tvshowid": 90,
"userrating": 0
}
}
}}
As a workaround for now, I am using GetSeasons and filter by the seasonid.