Compare commits

..

12 Commits
0.7.1 ... 0.7.2

Author SHA1 Message Date
Jonas Kvinge
47b5dea95c Release 0.7.2 2020-08-15 23:01:56 +02:00
Jonas Kvinge
b0df63f1e8 Fix translations dir 2020-08-15 23:01:28 +02:00
Jonas Kvinge
3c4209b676 Add more compilation titles 2020-08-15 17:33:54 +02:00
Jonas Kvinge
d51b9a8e0e Add more compilation titles 2020-08-15 17:29:30 +02:00
Jonas Kvinge
3b56125bd2 Increase maximum time step for seeking to 120
Fixes #509
2020-08-15 15:18:58 +02:00
Jonas Kvinge
6e69e39007 Use static_cast instead for destroyed object 2020-08-15 15:16:06 +02:00
Jonas Kvinge
97208cb329 Add --auto to urpmi command for Mageia CI 2020-08-15 11:55:49 +02:00
Jonas Kvinge
414a4a97fb Use unicode option when replacing non-words
Fixes #513
2020-08-15 11:43:14 +02:00
Jonas Kvinge
2a809f96c4 Update Changelog 2020-08-15 11:31:29 +02:00
Jonas Kvinge
17799b03f3 Fix installation directory for translations
Fixes #512
2020-08-15 11:08:47 +02:00
Jonas Kvinge
efc55fc648 Fix typo in snapcraft.yaml 2020-08-15 02:36:54 +02:00
Jonas Kvinge
22bd41211a Turn back git revision 2020-08-15 02:36:37 +02:00
13 changed files with 30 additions and 18 deletions

View File

@@ -231,14 +231,14 @@ commands:
steps: steps:
- run: - run:
name: Update packages name: Update packages
command: urpmi.update -a command: urpmi.update --auto -a
- run: - run:
name: Configure auto update name: Configure auto update
command: urpmi --auto-update command: urpmi --auto --auto-update
- run: - run:
name: Install dependencies name: Install dependencies
command: > command: >
urpmi --force urpmi --auto --force
urpmi-debuginfo-install urpmi-debuginfo-install
git git
tar tar

View File

@@ -550,14 +550,14 @@ jobs:
- uses: actions/checkout@v1.2.0 - uses: actions/checkout@v1.2.0
- name: Update packages - name: Update packages
run: urpmi.update -a run: urpmi.update --auto -a
- name: Configure auto update - name: Configure auto update
run: urpmi --auto-update run: urpmi --auto --auto-update
- name: Install Mageia dependencies - name: Install Mageia dependencies
run: > run: >
urpmi --force urpmi --auto --force
urpmi-debuginfo-install urpmi-debuginfo-install
git git
tar tar

View File

@@ -2,6 +2,13 @@ Strawberry Music Player
======================= =======================
ChangeLog ChangeLog
0.7.2:
BugFixes:
* Fixed installation directory for translations.
* Fixed collection sorting for non-ASCII characters.
* Fixed closing connected devices on exit.
0.7.1: 0.7.1:
Bugfixes: Bugfixes:
@@ -14,6 +21,8 @@ ChangeLog
* Fixed adding playlist songs outside the collection when there are multiple files with the same URL. * Fixed adding playlist songs outside the collection when there are multiple files with the same URL.
* Fixed the rescan songs option to work with local songs outside of the collection. * Fixed the rescan songs option to work with local songs outside of the collection.
* Fixed problems with editing song metadata in the playlists. * Fixed problems with editing song metadata in the playlists.
* Fixed saving and restoring playlist scrollbar position when switching between playlists.
* Fixed minor issue in cue parser with date and genre.
* (macOS) Fixed gst-libav plugin issue resulting in MP3 not working. * (macOS) Fixed gst-libav plugin issue resulting in MP3 not working.
Enhancements: Enhancements:
@@ -28,6 +37,7 @@ ChangeLog
* Added fatal CMake error for missing protobuf compiler. * Added fatal CMake error for missing protobuf compiler.
* Added support for parsing radio streams metadata with tilde in title. * Added support for parsing radio streams metadata with tilde in title.
* Added CMake option to install translation files. * Added CMake option to install translation files.
* Increased maximum time step for seeking to 60.
* (Unix) Added playback actions to desktop file. * (Unix) Added playback actions to desktop file.
* (macOS) Hide behaviour settings that are unavailable on macOS. * (macOS) Hide behaviour settings that are unavailable on macOS.
* (macOS) Fixed compile warnings. * (macOS) Fixed compile warnings.

View File

@@ -1,6 +1,6 @@
set(STRAWBERRY_VERSION_MAJOR 0) set(STRAWBERRY_VERSION_MAJOR 0)
set(STRAWBERRY_VERSION_MINOR 7) set(STRAWBERRY_VERSION_MINOR 7)
set(STRAWBERRY_VERSION_PATCH 1) set(STRAWBERRY_VERSION_PATCH 2)
#set(STRAWBERRY_VERSION_PRERELEASE rc1) #set(STRAWBERRY_VERSION_PRERELEASE rc1)
set(INCLUDE_GIT_REVISION OFF) set(INCLUDE_GIT_REVISION OFF)

View File

@@ -1,5 +1,5 @@
name: strawberry name: strawberry
version: '0.7.1+git' version: '0.7.2+git'
summary: music player and collection organizer summary: music player and collection organizer
description: | description: |
Strawberry is a music player and collection organizer. Strawberry is a music player and collection organizer.
@@ -101,7 +101,7 @@ parts:
- libgstreamer-plugins-base1.0-dev - libgstreamer-plugins-base1.0-dev
- libvlc-dev - libvlc-dev
- libcdio-dev - libcdio-dev
- libgpod-devdev - libgpod-dev
- libmtp-dev - libmtp-dev
- libchromaprint-dev - libchromaprint-dev
- libfftw3-dev - libfftw3-dev

View File

@@ -1208,7 +1208,7 @@ if(NOT APPLE)
endif() endif()
if(HAVE_TRANSLATIONS AND INSTALL_TRANSLATIONS AND INSTALL_TRANSLATIONS_FILES) if(HAVE_TRANSLATIONS AND INSTALL_TRANSLATIONS AND INSTALL_TRANSLATIONS_FILES)
install(FILES ${INSTALL_TRANSLATIONS_FILES} DESTINATION share/translations) install(FILES ${INSTALL_TRANSLATIONS_FILES} DESTINATION share/strawberry/translations)
endif() endif()
if(APPLE) if(APPLE)

View File

@@ -1442,7 +1442,7 @@ QString CollectionModel::SortText(QString text) {
else { else {
text = text.toLower(); text = text.toLower();
} }
text = text.remove(QRegularExpression("[^\\w ]")); text = text.remove(QRegularExpression("[^\\w ]", QRegularExpression::UseUnicodePropertiesOption));
return text; return text;

View File

@@ -61,6 +61,6 @@
#cmakedefine HAVE_TRANSLATIONS #cmakedefine HAVE_TRANSLATIONS
#cmakedefine INSTALL_TRANSLATIONS #cmakedefine INSTALL_TRANSLATIONS
#define TRANSLATIONS_DIR "${CMAKE_INSTALL_PREFIX}/share/translations" #define TRANSLATIONS_DIR "${CMAKE_INSTALL_PREFIX}/share/strawberry/translations"
#endif // CONFIG_H_IN #endif // CONFIG_H_IN

View File

@@ -367,7 +367,7 @@ QString ContextAlbumsModel::SortText(QString text) {
else { else {
text = text.toLower(); text = text.toLower();
} }
text = text.remove(QRegularExpression("[^\\w ]")); text = text.remove(QRegularExpression("[^\\w ]", QRegularExpression::UseUnicodePropertiesOption));
return text; return text;

View File

@@ -171,6 +171,8 @@ void AlbumCoverFetcherSearch::ProviderSearchResults(CoverProvider *provider, con
result_album.contains("concert") || result_album.contains("concert") ||
result_album.contains("essential") || result_album.contains("essential") ||
result_album.contains("ultimate") || result_album.contains("ultimate") ||
result_album.contains("karaoke") ||
result_album.contains("mixtape") ||
result_album.contains("country rock") || result_album.contains("country rock") ||
result_album.contains("indie folk") || result_album.contains("indie folk") ||
result_album.contains("soft rock") || result_album.contains("soft rock") ||
@@ -185,7 +187,6 @@ void AlbumCoverFetcherSearch::ProviderSearchResults(CoverProvider *provider, con
result_album.contains("classic psychedelic") || result_album.contains("classic psychedelic") ||
result_album.contains("playlist: acoustic") || result_album.contains("playlist: acoustic") ||
result_album.contains("90's rnb playlist") || result_album.contains("90's rnb playlist") ||
result_album.contains("70s mixtape") ||
result_album.contains("rock 80s") || result_album.contains("rock 80s") ||
result_album.contains("classic 80s") || result_album.contains("classic 80s") ||
result_album.contains("rock anthems") || result_album.contains("rock anthems") ||
@@ -198,7 +199,8 @@ void AlbumCoverFetcherSearch::ProviderSearchResults(CoverProvider *provider, con
result_album.contains("70's gold") || result_album.contains("70's gold") ||
result_album.contains("rockfluence") || result_album.contains("rockfluence") ||
result_album.contains("acoustic dinner accompaniment") || result_album.contains("acoustic dinner accompaniment") ||
result_album.contains("complete studio albums") result_album.contains("complete studio albums") ||
result_album.contains("mellow rock")
)) { )) {
results_copy[i].score_match -= 1; results_copy[i].score_match -= 1;
} }

View File

@@ -217,7 +217,7 @@ void DeviceManager::ListerClosed() {
void DeviceManager::DeviceDestroyed() { void DeviceManager::DeviceDestroyed() {
ConnectedDevice *device = qobject_cast<ConnectedDevice*>(sender()); ConnectedDevice *device = static_cast<ConnectedDevice*>(sender());
if (!wait_for_exit_.contains(device) || !backend_) return; if (!wait_for_exit_.contains(device) || !backend_) return;
wait_for_exit_.removeAll(device); wait_for_exit_.removeAll(device);

View File

@@ -234,7 +234,7 @@ void PlaylistManager::SaveWithUI(int id, const QString &playlist_name) {
QString filter = settings.value("last_save_filter", parser()->default_filter()).toString(); QString filter = settings.value("last_save_filter", parser()->default_filter()).toString();
QString suggested_filename = playlist_name; QString suggested_filename = playlist_name;
suggested_filename.replace(QRegularExpression("\\W"), ""); suggested_filename.replace(QRegularExpression("\\W", QRegularExpression::UseUnicodePropertiesOption), "");
qLog(Debug) << "Using extension:" << extension; qLog(Debug) << "Using extension:" << extension;

View File

@@ -299,7 +299,7 @@
<number>1</number> <number>1</number>
</property> </property>
<property name="maximum"> <property name="maximum">
<number>60</number> <number>120</number>
</property> </property>
<property name="value"> <property name="value">
<number>10</number> <number>10</number>