mirror of
https://github.com/chriszero/epgd-plugin-tvsp.git
synced 2025-12-26 23:26:53 +01:00
patched to compile with older libjansson versions
This commit is contained in:
3
tvsp.c
3
tvsp.c
@@ -520,7 +520,8 @@ void Tvsp::createXmlNode(json_t *jdata, const char *jkey, xmlNodePtr parent) {
|
||||
|
||||
std::ostringstream actors;
|
||||
size_t arraySize = json_array_size(value);
|
||||
json_array_foreach(value, index, arrValue) {
|
||||
|
||||
for (index = 0; index < json_array_size(value) && (arrValue = json_array_get(value, index)); index++){
|
||||
// if images or actors -> create new parent
|
||||
std::string mykey(key);
|
||||
if (mykey.find("images") != std::string::npos) {
|
||||
|
||||
Reference in New Issue
Block a user