mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-01 09:51:22 +02:00
gui/moviebrowser: add gui options for yt/nk cache directories
Conflicts: src/gui/moviebrowser.cpp src/system/nkparser.cpp src/system/nkparser.h
This commit is contained in:
@@ -1518,6 +1518,7 @@ typedef enum
|
||||
LOCALE_MOVIEBROWSER_BROWSER_ROW_ITEM,
|
||||
LOCALE_MOVIEBROWSER_BROWSER_ROW_NR,
|
||||
LOCALE_MOVIEBROWSER_BROWSER_ROW_WIDTH,
|
||||
LOCALE_MOVIEBROWSER_CACHE_DIR,
|
||||
LOCALE_MOVIEBROWSER_DELETE_INFO,
|
||||
LOCALE_MOVIEBROWSER_DIR,
|
||||
LOCALE_MOVIEBROWSER_DIR_HEAD,
|
||||
|
@@ -1518,6 +1518,7 @@ const char * locale_real_names[] =
|
||||
"moviebrowser.browser_row_item",
|
||||
"moviebrowser.browser_row_nr",
|
||||
"moviebrowser.browser_row_width",
|
||||
"moviebrowser.cache_dir",
|
||||
"moviebrowser.delete_info",
|
||||
"moviebrowser.dir",
|
||||
"moviebrowser.dir_head",
|
||||
|
@@ -698,6 +698,11 @@ void cYTFeedParser::Cleanup(bool delete_thumbnails)
|
||||
feedmode = -1;
|
||||
}
|
||||
|
||||
void cYTFeedParser::SetThumbnailDir(std::string &_thumbnail_dir)
|
||||
{
|
||||
thumbnail_dir = _thumbnail_dir;
|
||||
}
|
||||
|
||||
void cYTFeedParser::Dump()
|
||||
{
|
||||
printf("feed: %d videos\n", (int)videos.size());
|
||||
|
@@ -151,6 +151,7 @@ class cYTFeedParser
|
||||
void SetRegion(std::string reg) { region = reg; }
|
||||
void SetMaxResults(int count) { max_results = count; }
|
||||
void SetConcurrentDownloads(int count) { concurrent_downloads = count; }
|
||||
void SetThumbnailDir(std::string &_thumbnail_dir);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user