2022-03-21, 08:41
Hi,
during testing of a release candidate for the iOS Remote App a bug was reported which seems to be caused inside Kodi. Following details were seen with Kodi 19.4 on Linux.
When a new playlist is announced via notification, the Remote App requests the details for the new playlist via Playlist.GetItems. This content is used to visualize the content in the App's UI.
JSON request:
{"jsonrpc":"2.0","method":"Playlist.GetItems","params":{"playlistid":1,"properties": ["thumbnail", "duration", "artist", "album", "runtime", "showtitle", "season", "episode", "artistid", "albumid", "genre", "tvshowid", "channel", "file", "title", "art"]}, "id":2}
Good case:
When starting playback (music, movie, TV show episode, music video) from a UI-list in Kodi, the JSON command response has all contents expected (e.g. title, thumbnail, art, ...). For movies and music videos such UI-list can be entered via "Recently added" or "Genre".
Example response (movie "Vampires"):
{
items = (
{
album = "";
art = {
banner = "image://https%3a%2f%2fassets.fanart.tv%2ffanart%2fmovies%2f9945%2fmoviebanner%2fvampires-521437922da5c.jpg/";
clearart = "image://https%3a%2f%2fassets.fanart.tv%2ffanart%2fmovies%2f9945%2fhdmovieclearart%2fvampires-52143771b367a.png/";
clearlogo = "image://https%3a%2f%2fassets.fanart.tv%2ffanart%2fmovies%2f9945%2fhdmovielogo%2fvampires-5174b64aa57c1.png/";
discart = "image://https%3a%2f%2fassets.fanart.tv%2ffanart%2fmovies%2f9945%2fmoviedisc%2fvampires-53a3cb6e47315.png/";
fanart = "image://https%3a%2f%2fassets.fanart.tv%2ffanart%2fmovies%2f9945%2fmoviebackground%2fvampires-521437ad5a406.jpg/";
icon = "image://DefaultVideo.png/";
keyart = "image://https%3a%2f%2fassets.fanart.tv%2ffanart%2fmovies%2f9945%2fmovieposter%2fvampires-5f17fe9db9375.jpg/";
landscape = "image://https%3a%2f%2fassets.fanart.tv%2ffanart%2fmovies%2f9945%2fmoviethumb%2fvampires-521437da92430.jpg/";
poster = "image://https%3a%2f%2fassets.fanart.tv%2ffanart%2fmovies%2f9945%2fmovieposter%2fvampires-5f19d1967b646.jpg/";
"set.fanart" = "image://https%3a%2f%2fimage.tmdb.org%2ft%2fp%2foriginal%2fgbzoe6GXgEP9c0RkSIPy0Oh6EIs.jpg/";
"set.poster" = "image://https%3a%2f%2fimage.tmdb.org%2ft%2fp%2foriginal%2fgTxg3CMZXZBpGODWG5LOlxhXtDr.jpg/";
thumb = "image://video@%2fhome%2fbuschel%2fVideos%2fMovies%2fVampires%2fVampires.mkv/";
};
artist = (
);
episode = "-1";
file = "/home/buschel/Videos/Movies/Vampires/Vampires.mkv";
genre = (
Action,
Fantasy,
Horror
);
id = 39;
label = Vampires;
runtime = 46;
season = "-1";
showtitle = "";
thumbnail = "image://video@%2fhome%2fbuschel%2fVideos%2fMovies%2fVampires%2fVampires.mkv/";
title = Vampires;
tvshowid = "-1";
type = movie;
}
);
limits = {
end = 1;
start = 0;
total = 1;
};
}
Bad case:
When starting playback of movies or music videos directly via the widgets (the movie or music video covers) the JSON command response is incomplete and the relevant content is missing. This results in a non-usable playlist entry visualization.
Example response (movie "Vampires"):
{
items = (
art = {
};
file = "/home/buschel/Videos/Movies/Vampires/Vampires.mkv";
label = "";
thumbnail = "";
title = "";
type = unknown;
}
);
limits = {
end = 1;
start = 0;
total = 1;
};
@howie-f, is this something you might be able to help with?
during testing of a release candidate for the iOS Remote App a bug was reported which seems to be caused inside Kodi. Following details were seen with Kodi 19.4 on Linux.
When a new playlist is announced via notification, the Remote App requests the details for the new playlist via Playlist.GetItems. This content is used to visualize the content in the App's UI.
JSON request:
{"jsonrpc":"2.0","method":"Playlist.GetItems","params":{"playlistid":1,"properties": ["thumbnail", "duration", "artist", "album", "runtime", "showtitle", "season", "episode", "artistid", "albumid", "genre", "tvshowid", "channel", "file", "title", "art"]}, "id":2}
Good case:
When starting playback (music, movie, TV show episode, music video) from a UI-list in Kodi, the JSON command response has all contents expected (e.g. title, thumbnail, art, ...). For movies and music videos such UI-list can be entered via "Recently added" or "Genre".
Example response (movie "Vampires"):
{
items = (
{
album = "";
art = {
banner = "image://https%3a%2f%2fassets.fanart.tv%2ffanart%2fmovies%2f9945%2fmoviebanner%2fvampires-521437922da5c.jpg/";
clearart = "image://https%3a%2f%2fassets.fanart.tv%2ffanart%2fmovies%2f9945%2fhdmovieclearart%2fvampires-52143771b367a.png/";
clearlogo = "image://https%3a%2f%2fassets.fanart.tv%2ffanart%2fmovies%2f9945%2fhdmovielogo%2fvampires-5174b64aa57c1.png/";
discart = "image://https%3a%2f%2fassets.fanart.tv%2ffanart%2fmovies%2f9945%2fmoviedisc%2fvampires-53a3cb6e47315.png/";
fanart = "image://https%3a%2f%2fassets.fanart.tv%2ffanart%2fmovies%2f9945%2fmoviebackground%2fvampires-521437ad5a406.jpg/";
icon = "image://DefaultVideo.png/";
keyart = "image://https%3a%2f%2fassets.fanart.tv%2ffanart%2fmovies%2f9945%2fmovieposter%2fvampires-5f17fe9db9375.jpg/";
landscape = "image://https%3a%2f%2fassets.fanart.tv%2ffanart%2fmovies%2f9945%2fmoviethumb%2fvampires-521437da92430.jpg/";
poster = "image://https%3a%2f%2fassets.fanart.tv%2ffanart%2fmovies%2f9945%2fmovieposter%2fvampires-5f19d1967b646.jpg/";
"set.fanart" = "image://https%3a%2f%2fimage.tmdb.org%2ft%2fp%2foriginal%2fgbzoe6GXgEP9c0RkSIPy0Oh6EIs.jpg/";
"set.poster" = "image://https%3a%2f%2fimage.tmdb.org%2ft%2fp%2foriginal%2fgTxg3CMZXZBpGODWG5LOlxhXtDr.jpg/";
thumb = "image://video@%2fhome%2fbuschel%2fVideos%2fMovies%2fVampires%2fVampires.mkv/";
};
artist = (
);
episode = "-1";
file = "/home/buschel/Videos/Movies/Vampires/Vampires.mkv";
genre = (
Action,
Fantasy,
Horror
);
id = 39;
label = Vampires;
runtime = 46;
season = "-1";
showtitle = "";
thumbnail = "image://video@%2fhome%2fbuschel%2fVideos%2fMovies%2fVampires%2fVampires.mkv/";
title = Vampires;
tvshowid = "-1";
type = movie;
}
);
limits = {
end = 1;
start = 0;
total = 1;
};
}
Bad case:
When starting playback of movies or music videos directly via the widgets (the movie or music video covers) the JSON command response is incomplete and the relevant content is missing. This results in a non-usable playlist entry visualization.
Example response (movie "Vampires"):
{
items = (
art = {
};
file = "/home/buschel/Videos/Movies/Vampires/Vampires.mkv";
label = "";
thumbnail = "";
title = "";
type = unknown;
}
);
limits = {
end = 1;
start = 0;
total = 1;
};
@howie-f, is this something you might be able to help with?