mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
cYTFeedParser: Add feed duration
This commit is contained in:
@@ -82,6 +82,7 @@ class cYTFeedParser
|
||||
std::string start; // start index
|
||||
std::string total; // total results
|
||||
std::string nextprevurl; // url for next/prev
|
||||
std::string key; // youtube dev id
|
||||
|
||||
int feedmode;
|
||||
int max_results;
|
||||
@@ -108,6 +109,7 @@ class cYTFeedParser
|
||||
bool getUrl(std::string &url, std::string &answer, CURL *_curl_handle = NULL);
|
||||
bool DownloadUrl(std::string &url, std::string &file, CURL *_curl_handle = NULL);
|
||||
bool parseFeedJSON(std::string &answer);
|
||||
bool parseFeedDetailsJSON(cYTVideoInfo* vinfo);
|
||||
bool decodeVideoInfo(std::string &answer, cYTVideoInfo &vinfo);
|
||||
bool supportedFormat(int fmt);
|
||||
bool ParseFeed(std::string &url);
|
||||
|
Reference in New Issue
Block a user