mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
yt: make search order selectable
Origin commit data
------------------
Branch: ni/coolstream
Commit: fd5f9f118d
Author: martii <m4rtii@gmx.de>
Date: 2013-10-06 (Sun, 06 Oct 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -129,10 +129,17 @@ class cYTFeedParser
|
||||
SEARCH,
|
||||
MODE_LAST
|
||||
};
|
||||
enum yt_feed_orderby_t
|
||||
{
|
||||
ORDERBY_PUBLISHED = 0,
|
||||
ORDERBY_RELEVANCE,
|
||||
ORDERBY_VIEWCOUNT,
|
||||
ORDERBY_RATING
|
||||
};
|
||||
cYTFeedParser();
|
||||
~cYTFeedParser();
|
||||
|
||||
bool ParseFeed(yt_feed_mode_t mode = MOST_POPULAR, std::string search = "", std::string vid = "");
|
||||
bool ParseFeed(yt_feed_mode_t mode = MOST_POPULAR, std::string search = "", std::string vid = "", yt_feed_orderby_t orderby = ORDERBY_PUBLISHED);
|
||||
bool ParseVideoInfo(cYTVideoInfo &vinfo, CURL *_curl_handle = NULL);
|
||||
bool DownloadThumbnail(cYTVideoInfo &vinfo, CURL *_curl_handle = NULL);
|
||||
bool GetVideoUrls();
|
||||
|
Reference in New Issue
Block a user