YT: add download dir menu

Origin commit data
------------------
Branch: ni/coolstream
Commit: 6605fa9e02
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2019-06-02 (Sun, 02 Jun 2019)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2019-06-02 12:13:34 +02:00
committed by vanhofen
parent eff7f9baf8
commit eebc9f5439
5 changed files with 6 additions and 0 deletions

View File

@@ -4413,6 +4413,8 @@ bool CMovieBrowser::showYTMenu(bool calledExternally)
CFileChooser fc(&m_settings.ytthumbnaildir);
mainMenu.addItem(new CMenuForwarder(LOCALE_MOVIEBROWSER_CACHE_DIR, true, m_settings.ytthumbnaildir, &fc));
CFileChooser fcdl(&g_settings.downloadcache_dir);
mainMenu.addItem(new CMenuForwarder(LOCALE_MOVIEBROWSER_YT_DL_DIR, true, g_settings.downloadcache_dir, &fcdl));
yt_menue = &mainMenu;
yt_menue_end = yt_menue->getItemsCount();

View File

@@ -2111,6 +2111,7 @@ typedef enum
LOCALE_MOVIEBROWSER_YT_CLEAR,
LOCALE_MOVIEBROWSER_YT_COMPLETED,
LOCALE_MOVIEBROWSER_YT_CONCURRENT_CONNECTIONS,
LOCALE_MOVIEBROWSER_YT_DL_DIR,
LOCALE_MOVIEBROWSER_YT_ERROR,
LOCALE_MOVIEBROWSER_YT_FAILED,
LOCALE_MOVIEBROWSER_YT_HISTORY,

View File

@@ -2111,6 +2111,7 @@ const char * locale_real_names[] =
"moviebrowser.yt_clear",
"moviebrowser.yt_completed",
"moviebrowser.yt_concurrent_connections",
"moviebrowser.yt_dl_dir",
"moviebrowser.yt_error",
"moviebrowser.yt_failed",
"moviebrowser.yt_history",