2020-08-12, 10:42
I have found what appears to be an inconsistency in the inplementation of one of the VideoLibrary calls.
GetTVShows, GetEpisodes, GetSeasons all work correctly with start and end parameters set, allowing you to select a range of shows. GetInProgressTVShows , even with correct settings for start and end set, shows all current in progress shows, not the ones specified - see examples below.
Does anyone know where this problem should be directed to get someone from the programming team to look into this with a view to fixing it?
{"jsonrpc":"2.0","method":"VideoLibrary.GetTVShows","params":{"limits":{"end":1,"start":0}},"id":2}
{
"limits": {
"end": 1,
"start": 0,
"total": 276
},
"tvshows": [
{
"label": "Lexx",
"tvshowid": 5
}
]
}
{"jsonrpc":"2.0","method":"VideoLibrary.GetInProgressTVShows","params":{"limits":{"end":1,"start":0}},"id":3}
{
"limits": {
"end": 1,
"start": 0,
"total": 4
},
"tvshows": [
{
"label": "Absentia",
"tvshowid": 676
},
{
"label": "Almost Human",
"tvshowid": 644
},
{
"label": "Eureka",
"tvshowid": 677
},
{
"label": "Krypton",
"tvshowid": 621
}
]
}
{"jsonrpc":"2.0","method":"VideoLibrary.GetEpisodes","params":{"tvshowid":5,"season":1,"limits":{"end":2,"start":0}},"id":4}
{
"episodes": [
{
"episodeid": 41,
"label": "1x01. I Worship His Shadow"
},
{
"episodeid": 42,
"label": "1x02. Super Nova"
}
],
"limits": {
"end": 2,
"start": 0,
"total": 4
}
}
{"jsonrpc":"2.0","method":"VideoLibrary.GetSeasons","params":{"tvshowid":5,"limits":{"end":1,"start":0}},"id":5}
{
"limits": {
"end": 1,
"start": 0,
"total": 4
},
"seasons": [
{
"label": "Season 1",
"seasonid": 20
}
]
}
GetTVShows, GetEpisodes, GetSeasons all work correctly with start and end parameters set, allowing you to select a range of shows. GetInProgressTVShows , even with correct settings for start and end set, shows all current in progress shows, not the ones specified - see examples below.
Does anyone know where this problem should be directed to get someone from the programming team to look into this with a view to fixing it?
{"jsonrpc":"2.0","method":"VideoLibrary.GetTVShows","params":{"limits":{"end":1,"start":0}},"id":2}
{
"limits": {
"end": 1,
"start": 0,
"total": 276
},
"tvshows": [
{
"label": "Lexx",
"tvshowid": 5
}
]
}
{"jsonrpc":"2.0","method":"VideoLibrary.GetInProgressTVShows","params":{"limits":{"end":1,"start":0}},"id":3}
{
"limits": {
"end": 1,
"start": 0,
"total": 4
},
"tvshows": [
{
"label": "Absentia",
"tvshowid": 676
},
{
"label": "Almost Human",
"tvshowid": 644
},
{
"label": "Eureka",
"tvshowid": 677
},
{
"label": "Krypton",
"tvshowid": 621
}
]
}
{"jsonrpc":"2.0","method":"VideoLibrary.GetEpisodes","params":{"tvshowid":5,"season":1,"limits":{"end":2,"start":0}},"id":4}
{
"episodes": [
{
"episodeid": 41,
"label": "1x01. I Worship His Shadow"
},
{
"episodeid": 42,
"label": "1x02. Super Nova"
}
],
"limits": {
"end": 2,
"start": 0,
"total": 4
}
}
{"jsonrpc":"2.0","method":"VideoLibrary.GetSeasons","params":{"tvshowid":5,"limits":{"end":1,"start":0}},"id":5}
{
"limits": {
"end": 1,
"start": 0,
"total": 4
},
"seasons": [
{
"label": "Season 1",
"seasonid": 20
}
]
}