mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 00:41:09 +02:00
ytparser: fix youtube playback; change to APIv3
Origin commit data
------------------
Branch: ni/coolstream
Commit: acf3453fcd
Author: FlatTV <FlatTV@gmx.de>
Date: 2015-06-01 (Mon, 01 Jun 2015)
Origin message was:
------------------
- ytparser: fix youtube playback; change to APIv3
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
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