cYTFeedParser: add signal OnLoadVideoInfo

Required for visualized progress display.
This commit is contained in:
2017-02-13 10:03:38 +01:00
parent 2727e3f7f0
commit 0aa261d911
2 changed files with 4 additions and 1 deletions

View File

@@ -323,6 +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));
#ifdef DEBUG_PARSER
printf("=========================================================\n");
printf("Element %d in elements\n", i);