Skip to content

Commit

Permalink
Import music library data on a separate thread from GUI. This allows …
Browse files Browse the repository at this point in the history
…cancel button on progress dialog to be clicked.

Import song playback history data (play count, lastplayed and ratings) from xml.
  • Loading branch information
DaveTBlake committed Apr 5, 2019
1 parent 935816b commit 003a9ac
Show file tree
Hide file tree
Showing 9 changed files with 498 additions and 33 deletions.
39 changes: 36 additions & 3 deletions addons/resource.language.en_gb/resources/strings.po
Expand Up @@ -2987,12 +2987,12 @@ msgctxt "#648"
msgid "Import video library"
msgstr ""

#: xbmc/music/MusicDatabase.cpp
#. unused?
msgctxt "#649"
msgid "Importing"
msgstr ""

#: xbmc/music/MusicDatabase.cpp
#. unused?
msgctxt "#650"
msgid "Exporting"
msgstr ""
Expand Down Expand Up @@ -12394,6 +12394,7 @@ msgctxt "#20196"
msgid "Export music library"
msgstr ""

#: xbmc/music/MusicDatabase.cpp
#: system/settings/settings.xml
msgctxt "#20197"
msgid "Import music library"
Expand Down Expand Up @@ -21393,7 +21394,39 @@ msgctxt "#38339"
msgid "How to apply information provider settings"
msgstr ""

#empty strings from id 38340 to 38999
#empty strings from id 38340 to 38349

#. Progress statement when importing music library is processing song playback history data
#: xbmc/music/MusicDatabase.cpp
msgctxt "#38350"
msgid "Importing song playback history"
msgstr ""

#. Progress statement when importing music library - data matching phase
#: xbmc/music/MusicDatabase.cpp
msgctxt "#38351"
msgid "Matching data"
msgstr ""

#. Progress statement when importing music library - song history being updated
#: xbmc/music/MusicDatabase.cpp
msgctxt "#38352"
msgid "Updating songs"
msgstr ""

#. Notification of import success "Importing song history - <number of songs matched> updated out of <total songs in xml> imported songs"
#: xbmc/music/MusicDatabase.cpp
msgctxt "#38353"
msgid "Importing song history - {0:d} updated out of {0:d} imported songs"
msgstr ""

#. Message when reading the user specified XML for import to library fails
#: xbmc/music/MusicDatabase.cpp
msgctxt "#38354"
msgid "Unable to read xml file"
msgstr ""

#empty strings from id 38355 to 38999

#: system/settings/settings.xml
msgctxt "#39000"
Expand Down

0 comments on commit 003a9ac

Please sign in to comment.