mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
- ytparser: fix youtube playback; change to APIv3
This commit is contained in:
@@ -81,6 +81,7 @@ class cYTFeedParser
|
||||
std::string prev; // prev results
|
||||
std::string start; // start index
|
||||
std::string total; // total results
|
||||
std::string nextprevurl; // url for next/prev
|
||||
|
||||
int feedmode;
|
||||
int max_results;
|
||||
@@ -106,7 +107,7 @@ class cYTFeedParser
|
||||
static bool saveToFile(const char * name, std::string str);
|
||||
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 parseFeedXml(std::string &answer);
|
||||
bool parseFeedJSON(std::string &answer);
|
||||
bool decodeVideoInfo(std::string &answer, cYTVideoInfo &vinfo);
|
||||
bool supportedFormat(int fmt);
|
||||
bool ParseFeed(std::string &url);
|
||||
|
Reference in New Issue
Block a user