Add option to sort by last modification date (close #88)

Store the metadate “last-modified” for a track and an album and add an
option sort by it.
This commit is contained in:
coderkun 2023-01-08 19:09:19 +01:00
commit 8607bf15a9
10 changed files with 84 additions and 26 deletions

View file

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: mcg\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-09-05 15:08+0200\n"
"POT-Creation-Date: 2023-01-08 19:06+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -215,15 +215,19 @@ msgstr ""
msgid "sort by year"
msgstr ""
#: data/ui/library-toolbar.ui:169 data/ui/shortcuts-dialog.ui:115
#: data/ui/library-toolbar.ui:134
msgid "sort by modification"
msgstr ""
#: data/ui/library-toolbar.ui:185 data/ui/shortcuts-dialog.ui:115
msgid "Search the library"
msgstr ""
#: data/ui/library-toolbar.ui:192 data/ui/playlist-toolbar.ui:15
#: data/ui/library-toolbar.ui:208 data/ui/playlist-toolbar.ui:15
msgid "Select multiple albums"
msgstr ""
#: data/ui/library-toolbar.ui:214
#: data/ui/library-toolbar.ui:230
msgid "Settings and actions"
msgstr ""
@ -352,11 +356,11 @@ msgstr ""
msgid "Adjust the volume"
msgstr ""
#: src/librarypanel.py:419
#: src/librarypanel.py:421
msgid "Loading albums"
msgstr ""
#: src/librarypanel.py:519
#: src/librarypanel.py:521
msgid "Loading images"
msgstr ""