Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Music]Information Provider dialog #12987

Merged
merged 1 commit into from
Nov 4, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
89 changes: 77 additions & 12 deletions addons/resource.language.en_gb/resources/strings.po
Original file line number Diff line number Diff line change
Expand Up @@ -403,11 +403,13 @@ msgctxt "#105"
msgid "Sort by: Size"
msgstr ""

#: xbmc/music/windows/GUIWindowMusicBase.cpp
#: xbmc/dialogs/GUIDialogYesNo.cpp
msgctxt "#106"
msgid "No"
msgstr ""

#: xbmc/music/windows/GUIWindowMusicBase.cpp
#: xbmc/dialogs/GUIDialogYesNo.cpp
msgctxt "#107"
msgid "Yes"
Expand Down Expand Up @@ -3538,6 +3540,7 @@ msgctxt "#798"
msgid "Internet access"
msgstr ""

#: xbmc/music/windows/GUIWindowMusicBase.cpp
msgctxt "#799"
msgid "Library update"
msgstr ""
Expand Down Expand Up @@ -4741,6 +4744,7 @@ msgstr ""
#: addons/skin.estuary/xml/AddonBrowser.xml
#: xbmc/settings/dialogs/GUIDialogContentSettings.cpp
#: xbmc/settings/dialogs/GUIDialogLibExportSettings.cpp
#: xbmc/music/windows/GUIWindowMusicBase.cpp
msgctxt "#10004"
msgid "Settings"
msgstr ""
Expand Down Expand Up @@ -6705,6 +6709,7 @@ msgctxt "#13351"
msgid "Album information"
msgstr ""

#: xbmc/music/windows/GUIWindowMusicBase.cpp
msgctxt "#13352"
msgid "Scan item to library"
msgstr ""
Expand Down Expand Up @@ -20848,37 +20853,37 @@ msgid "Fetch additional information for albums and artists? This could take some
msgstr ""

#. Full tag scanning question on library update (by default tags are only scanned when the file has changed since last time)
#: xbmc/Application.cpp
#: xbmc/music/windows/GUIWindowMusicBase.cpp
msgctxt "#38062"
msgid "Do full tag scan even when music files are unchanged?"
msgstr ""

#. Label for a context submenu entry to change the default addon used to fetch artist or album information, related to #20195, #20193 and #20194
#: xbmc/music/windows/GUIWindowMusicNav.cpp
#. Item in selection list #38338. Settings will change the default addon used to fetch artist or album information, related to #20195, #20193 and #20194
#: xbmc/music/dialogs/GUIDialogInfoProviderSettings.cpp
msgctxt "#38063"
msgid "Set default information provider"
msgstr ""

#. Label for a context submenu entry to change the information provider for a specific artist, related to #20195
#: xbmc/music/windows/GUIWindowMusicNav.cpp
#. Item in selection list #38338 to change the information provider for a specific artist, related to #20195
#: xbmc/music/dialogs/GUIDialogInfoProviderSettings.cpp
msgctxt "#38064"
msgid "Set for this artist"
msgstr ""

#. Label for a context submenu entry to change the information provider for all artists in node, related to #20195
#: xbmc/music/windows/GUIWindowMusicNav.cpp
#. Item in selection list #38338 to change the information provider for all artists in node, related to #20195
#: xbmc/music/dialogs/GUIDialogInfoProviderSettings.cpp
msgctxt "#38065"
msgid "Set for all artists shown"
msgstr ""

#. Label for a context submenu entry to change the information provider for a specific album, related to #20195
#: xbmc/music/windows/GUIWindowMusicNav.cpp
#. Item in selection list #38338 to change the information provider for a specific album, related to #20195
#: xbmc/music/dialogs/GUIDialogInfoProviderSettings.cpp
msgctxt "#38066"
msgid "Set for this album"
msgstr ""

#. Label for a context submenu entry to change the information provider for all albums in node, related to #20195
#: xbmc/music/windows/GUIWindowMusicNav.cpp
#. Item in selection list #38338 to change the information provider for all albums in node, related to #20195
#: xbmc/music/dialogs/GUIDialogInfoProviderSettings.cpp
msgctxt "#38067"
msgid "Set for all albums shown"
msgstr ""
Expand Down Expand Up @@ -21124,7 +21129,67 @@ msgctxt "#38320"
msgid "Do you have local artist information (NFO) and art files that you want to fetch? Set the location of these artist folders now"
msgstr ""

#empty strings from id 38321 to 38999
#empty strings from id 38321 to 38329

#. Dialog heading when editing default settings for fetching additional music information
#: xbmc/music/dialogs/GUIDialogInfoProviderSettings.cpp
msgctxt "#38330"
msgid "Set Music Information Providers"
msgstr ""

#. Dialog heading when editing album information provider
#: xbmc/music/dialogs/GUIDialogInfoProviderSettings.cpp
msgctxt "#38331"
msgid "Set Album Information Provider"
msgstr ""

#. Dialog heading when editing artist information provider
#: xbmc/music/dialogs/GUIDialogInfoProviderSettings.cpp
msgctxt "#38332"
msgid "Set Artist Information Provider"
msgstr ""

#. Use scrapers to fetch additional album and artist information and art during scan
#: xbmc/music/dialogs/GUIDialogInfoProviderSettings.cpp
msgctxt "#38333"
msgid "Fetch additional information and art during scan"
msgstr ""

#. Scraper to use for additional album information. See #20193
#: xbmc/music/dialogs/GUIDialogInfoProviderSettings.cpp
msgctxt "#38334"
msgid "Album information provider"
msgstr ""

#. Scraper to use for additional artist information. See #20194
#: xbmc/music/dialogs/GUIDialogInfoProviderSettings.cpp
msgctxt "#38335"
msgid "Artist information provider"
msgstr ""

#. Location of folder where local art and nfo files can be found for artists. See #20223
#: xbmc/music/dialogs/GUIDialogInfoProviderSettings.cpp
msgctxt "#38336"
msgid "Local artist information folder"
msgstr ""

#. Group header describing the settings
#: xbmc/music/dialogs/GUIDialogInfoProviderSettings.cpp
msgctxt "#38337"
msgid "Options for fetching additional information"
msgstr ""

#. Selecting what items the settings will be used for, selecting from #38064 to 38067
#: xbmc/music/dialogs/GUIDialogInfoProviderSettings.cpp
msgctxt "#38338"
msgid "Choose how to apply settings"

#. Heading when selecting from list for #38338
#: xbmc/music/dialogs/GUIDialogInfoProviderSettings.cpp
msgctxt "#38339"
msgid "How to apply information provider settings"

#empty strings from id 38340 to 38999

#: system/settings/settings.xml
msgctxt "#39000"
Expand Down
4 changes: 4 additions & 0 deletions xbmc/guilib/GUIWindowManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
#include "music/windows/GUIWindowMusicNav.h"
#include "music/windows/GUIWindowMusicPlaylistEditor.h"
#include "video/windows/GUIWindowVideoPlaylist.h"
#include "music/dialogs/GUIDialogInfoProviderSettings.h"
#include "music/dialogs/GUIDialogMusicInfo.h"
#include "video/dialogs/GUIDialogVideoInfo.h"
#include "video/windows/GUIWindowVideoNav.h"
Expand Down Expand Up @@ -253,6 +254,8 @@ void CGUIWindowManager::CreateWindows()

Add(new CGUIDialogLibExportSettings);

Add(new CGUIDialogInfoProviderSettings);

Add(new CGUIDialogPlayEject);

Add(new CGUIDialogPeripheralSettings);
Expand Down Expand Up @@ -354,6 +357,7 @@ bool CGUIWindowManager::DestroyWindows()
DestroyWindow(WINDOW_DIALOG_AUDIO_OSD_SETTINGS);
DestroyWindow(WINDOW_DIALOG_VIDEO_BOOKMARKS);
DestroyWindow(WINDOW_DIALOG_CONTENT_SETTINGS);
DestroyWindow(WINDOW_DIALOG_INFOPROVIDER_SETTINGS);
DestroyWindow(WINDOW_DIALOG_LIBEXPORT_SETTINGS);
DestroyWindow(WINDOW_DIALOG_FAVOURITES);
DestroyWindow(WINDOW_DIALOG_SONG_INFO);
Expand Down
1 change: 1 addition & 0 deletions xbmc/guilib/WindowIDs.h
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@
#define WINDOW_DIALOG_AUDIO_DSP_OSD_SETTINGS 10155
#define WINDOW_DIALOG_KEYBOARD_TOUCH 10156
#define WINDOW_DIALOG_CMS_OSD_SETTINGS 10157
#define WINDOW_DIALOG_INFOPROVIDER_SETTINGS 10158

#define WINDOW_MUSIC_PLAYLIST 10500
#define WINDOW_MUSIC_NAV 10502
Expand Down
1 change: 1 addition & 0 deletions xbmc/input/WindowTranslator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ const CWindowTranslator::WindowMapByName CWindowTranslator::WindowMappingByName
{ "subtitlesearch" , WINDOW_DIALOG_SUBTITLES },
{ "musicplaylist" , WINDOW_MUSIC_PLAYLIST },
{ "musicplaylisteditor" , WINDOW_MUSIC_PLAYLIST_EDITOR },
{ "infoprovidersettings" , WINDOW_DIALOG_INFOPROVIDER_SETTINGS },
{ "teletext" , WINDOW_DIALOG_OSD_TELETEXT },
{ "selectdialog" , WINDOW_DIALOG_SELECT },
{ "musicinformation" , WINDOW_DIALOG_MUSIC_INFO },
Expand Down
6 changes: 4 additions & 2 deletions xbmc/music/dialogs/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
set(SOURCES GUIDialogMusicInfo.cpp
set(SOURCES GUIDialogInfoProviderSettings.cpp
GUIDialogMusicInfo.cpp
GUIDialogMusicOSD.cpp
GUIDialogSongInfo.cpp
GUIDialogVisualisationPresetList.cpp)

set(HEADERS GUIDialogMusicInfo.h
set(HEADERS GUIDialogInfoProviderSettings.h
GUIDialogMusicInfo.h
GUIDialogMusicOSD.h
GUIDialogSongInfo.h
GUIDialogVisualisationPresetList.h)
Expand Down