fix tmdb cast

Origin commit data
------------------
Commit: aed4642225
Author: TangoCash <eric@loxat.de>
Date: 2019-03-03 (Sun, 03 Mar 2019)
This commit is contained in:
TangoCash
2019-03-03 22:20:23 +01:00
committed by vanhofen
parent 481797cc20
commit 7cdaf83a1b

View File

@@ -146,6 +146,7 @@ bool cTmdb::GetMovieDetails(std::string lang)
}
elements = root["credits"]["cast"];
minfo.cast.clear();
for (unsigned int i= 0; i<elements.size() && i<10;i++) {
minfo.cast += " "+elements[i].get("character","").asString()+" ("+elements[i].get("name","").asString() + ")\n";
//printf("test: %s (%s)\n",elements[i].get("character","").asString().c_str(),elements[i].get("name","").asString().c_str());