YT: add download dir menu

Origin commit data
------------------
Commit: 6605fa9e02
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2019-06-02 (Sun, 02 Jun 2019)
This commit is contained in:
Jacek Jendrzej
2019-06-02 12:13:34 +02:00
committed by vanhofen
parent cb8421e089
commit ace2bc3f53
5 changed files with 6 additions and 0 deletions

View File

@@ -2084,6 +2084,7 @@ moviebrowser.yt_cancel_transfer Download abbrechen?
moviebrowser.yt_clear Liste leeren moviebrowser.yt_clear Liste leeren
moviebrowser.yt_completed Vollständige Downloads moviebrowser.yt_completed Vollständige Downloads
moviebrowser.yt_concurrent_connections Gleichzeitige Verbindungen moviebrowser.yt_concurrent_connections Gleichzeitige Verbindungen
moviebrowser.yt_dl_dir Youtube download Verzeichnis
moviebrowser.yt_error Fehler beim Laden des YouTube-Feeds moviebrowser.yt_error Fehler beim Laden des YouTube-Feeds
moviebrowser.yt_failed Fehlgeschlagene Downloads moviebrowser.yt_failed Fehlgeschlagene Downloads
moviebrowser.yt_history Frühere Suchen moviebrowser.yt_history Frühere Suchen

View File

@@ -2084,6 +2084,7 @@ moviebrowser.yt_cancel_transfer Cancel download?
moviebrowser.yt_clear Clear moviebrowser.yt_clear Clear
moviebrowser.yt_completed Completed downloads moviebrowser.yt_completed Completed downloads
moviebrowser.yt_concurrent_connections Concurrent connections moviebrowser.yt_concurrent_connections Concurrent connections
moviebrowser.yt_dl_dir YouTube download directory
moviebrowser.yt_error Failed to load YouTube feed moviebrowser.yt_error Failed to load YouTube feed
moviebrowser.yt_failed Failed downloads moviebrowser.yt_failed Failed downloads
moviebrowser.yt_history Search history moviebrowser.yt_history Search history

View File

@@ -4413,6 +4413,8 @@ bool CMovieBrowser::showYTMenu(bool calledExternally)
CFileChooser fc(&m_settings.ytthumbnaildir); CFileChooser fc(&m_settings.ytthumbnaildir);
mainMenu.addItem(new CMenuForwarder(LOCALE_MOVIEBROWSER_CACHE_DIR, true, m_settings.ytthumbnaildir, &fc)); 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 = &mainMenu;
yt_menue_end = yt_menue->getItemsCount(); yt_menue_end = yt_menue->getItemsCount();

View File

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

View File

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