From 0aa261d911dcf499dd44755fe5393ff07e6f70af Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Mon, 13 Feb 2017 10:03:38 +0100 Subject: [PATCH] cYTFeedParser: add signal OnLoadVideoInfo Required for visualized progress display. --- src/system/ytparser.cpp | 1 + src/system/ytparser.h | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/system/ytparser.cpp b/src/system/ytparser.cpp index 928df3afe..3c558ee1b 100644 --- a/src/system/ytparser.cpp +++ b/src/system/ytparser.cpp @@ -323,6 +323,7 @@ bool cYTFeedParser::parseFeedJSON(std::string &answer) Json::Value elements = root["items"]; for(unsigned int i=0; igetText(LOCALE_MOVIEBROWSER_SCAN_FOR_MOVIES)); #ifdef DEBUG_PARSER printf("=========================================================\n"); printf("Element %d in elements\n", i); diff --git a/src/system/ytparser.h b/src/system/ytparser.h index adb30ba67..c54c2239b 100644 --- a/src/system/ytparser.h +++ b/src/system/ytparser.h @@ -27,7 +27,7 @@ #include #include #include - +#include #include #include @@ -155,6 +155,8 @@ class cYTFeedParser void SetMaxResults(int count) { max_results = count; } void SetConcurrentDownloads(int count) { concurrent_downloads = count; } void SetThumbnailDir(std::string &_thumbnail_dir); + + sigc::signal OnLoadVideoInfo; }; #endif