Switch to side-by-side view
--- a/src/cdplugins/plgwithslave.cxx +++ b/src/cdplugins/plgwithslave.cxx @@ -313,8 +313,8 @@ #define JSONTOUPS(fld, nm) \ it1 = decoded[i].find(#nm); \ if (it1 != decoded[i].end()) { \ - /*LOGDEB("song." #fld " = " << it1.value() << endl);*/ \ - song.fld = it1.value(); \ + if (it1.value() != nullptr) \ + song.fld = it1.value(); \ } if (!stp.compare("ct")) {