CMovieBrowser/cYTFeedParser: implement signals from CProgressSignals

This commit is contained in:
2017-03-06 21:25:36 +01:00
parent 7f511ebd1a
commit 8c6a47ee3a
4 changed files with 8 additions and 10 deletions

View File

@@ -323,7 +323,7 @@ bool cYTFeedParser::parseFeedJSON(std::string &answer)
Json::Value elements = root["items"];
for(unsigned int i=0; i<elements.size();++i)
{
OnLoadVideoInfo(i, elements.size(), g_Locale->getText(LOCALE_MOVIEBROWSER_SCAN_FOR_MOVIES));
OnProgress(i, elements.size(), g_Locale->getText(LOCALE_MOVIEBROWSER_SCAN_FOR_MOVIES));
#ifdef DEBUG_PARSER
printf("=========================================================\n");
printf("Element %d in elements\n", i);