Dakes
7aa7cdf6f3
Add filtering of numerical cols to collection
...
CollectionFilterWidget: Updated the tooltip, to reflect the changes.
CollectionQuery: Add parsing for SQL operators and insert right SQL
"where" searches.
Song: Add list of numerical columns
playlistfilterparser.cpp/FilterParser: move time and rating parsing
functions to new file:
searchparserutils.cpp: Contains common code used to parse search terms
in playlist and collection filters.
2023-08-02 16:52:27 +02:00
Dakes
82a8a890de
PlaylistContainer: Add tooltip to search field
2023-08-02 16:52:27 +02:00
Dakes
f8df901963
PlaylistFilter: Add playcount and skipcount
2023-08-02 16:52:27 +02:00
Jonas Kvinge
95eed1ecec
Fix QtConcurrent::run build with Qt 5
2023-07-21 06:10:44 +02:00
Jonas Kvinge
2e61235403
Application: Use shared pointers
...
Fixes #1239
2023-07-21 05:55:24 +02:00
Jonas Kvinge
d6b53f78ab
Cleanup includes
2023-07-21 05:25:57 +02:00
Jonas Kvinge
a2c7ff63df
Formatting
2023-07-21 05:11:27 +02:00
Jonas Kvinge
7826f77425
Formatting
2023-07-12 16:27:59 +02:00
Jonas Kvinge
00372e85c5
FilterParser: Silence double / float warning
2023-07-12 16:27:28 +02:00
Roman Lebedev
13d6cf201f
Engine: pipe-in the EBU R 128 loudness normalization gain stuff
...
The idea is that Integrated Loudness is an integral part
of the song, much like knowing it's beginning / ending
in the file, and we must handle it the exact same way,
and pipe it through all the way.
At the same time, `EngineBase` knows Target Level (from settings),
and these two combined tell us the Gain needed to normalize the
Loudness of the particular Song (`EngineBase::Load()` does that).
So the actual backend only needs to handle the Volume.
We don't currently support changing Target Level on the fly.
We don't currently support changing Loudness-normalizing Gain on the fly.
This does not handle the case when the song is loaded from URL
and thus the EBU R 128 measures, that exist, are not nessesairly correct.
2023-07-12 14:34:04 +02:00
Roman Lebedev
b2c66c9cda
Playlist: add newly-added columns
...
Still mostly boilter-plate-y. It is somewhat interesting to see that info
in playlist view, so add the two fileds as columns.
At least for Integrated loudness, since it's normally negative,
we need to add a specialized Delegate.
2023-07-12 14:34:04 +02:00
Dakes
1deacaecf9
FilterParser: Add ability to filter by rating
...
Playlists can now be filtered by the rating from 0-5 like:
rating:0 rating:<3 rating:!=0
or by a float value, like:
rating:f0.1 rating:>=f0.5
2023-06-09 21:31:15 +02:00
Jonas Kvinge
331aa382f9
Rewrite album cover loader
2023-06-06 20:41:01 +02:00
Jonas Kvinge
2f17647cd3
Use const reference for AlbumCoverLoaderResult
2023-05-03 21:43:22 +02:00
Jonas Kvinge
f8d2c7eba3
Bump required Qt version to 5.12
2023-05-03 20:50:58 +02:00
Jonas Kvinge
e511b2faf9
Use new connect syntax for QMetaObject::invokeMethod
2023-05-03 20:08:51 +02:00
Jonas Kvinge
60bbd71a22
Remove NetworkAccessManager from song loader
2023-04-22 14:05:48 +02:00
Jonas Kvinge
7fc5aef553
Use one instance of NetworkAccessManager
2023-04-21 20:20:53 +02:00
Jonas Kvinge
aaa530e72b
Add const/references to all signal parameters
2023-04-09 20:23:42 +02:00
Jonas Kvinge
ef080c3cb1
PlaylistView: Fix resetting album cover
2023-04-07 20:07:40 +02:00
Jonas Kvinge
b660287779
Use std::shared_ptrfor AlbumCoverLoaderResult
...
Reduces memory fragmentation with Qt 6
2023-04-06 23:18:10 +02:00
Jonas Kvinge
962536bc83
AlbumCoverLoaderResult: Use enum class for type
2023-04-06 01:23:42 +02:00
Jonas Kvinge
7b88c198fe
SongSourceDelegate: Fix compile with Qt 5
2023-03-29 00:14:21 +02:00
Jonas Kvinge
1d3a837f7a
SongSourceDelegate: Respect device pixel ratio
2023-03-29 00:04:34 +02:00
Jonas Kvinge
e20cbe4170
Save embedded cover in the same process as tags
...
Possible fix for #1158
2023-03-18 20:03:07 +01:00
Jonas Kvinge
dd72fb4ca5
Use C++11 enum class
2023-02-18 14:09:30 +01:00
Jonas Kvinge
3d4c98d981
Playlist: Fix tag inline editing for steams
...
Fixes #1130
2023-02-10 22:49:57 +01:00
Jonas Kvinge
384e7dedb5
PlaylistView: Move ifdef
2023-02-10 22:47:55 +01:00
Jonas Kvinge
c78d73d727
LastPlayedItemDelegate: Show blank for zero or invalid time
2023-01-20 23:45:33 +01:00
Jonas Kvinge
b69b3228be
DateItemDelegate: Show blank for zero or invalid time
2023-01-20 23:45:19 +01:00
Jonas Kvinge
205b7f2401
Split utilities functions into separate files
2022-12-28 22:53:59 +01:00
Jonas Kvinge
b22320c48f
Replace typedef with using
2022-10-13 22:39:31 +02:00
Jonas Kvinge
3454656207
PlaylistContainer: Fix search field crash on macOS
...
Fixes #1053
2022-10-12 00:11:12 +02:00
Jonas Kvinge
143f72cf6b
PlaylistView: Fix scaling mid bar for currently playing track
...
Fixes #1051
2022-10-09 21:41:16 +02:00
Jonas Kvinge
2b24ac54a0
Remove unused includes
2022-08-28 03:09:33 +02:00
Jonas Kvinge
d97b0478a7
Fix typos
2022-08-28 02:44:37 +02:00
Jonas Kvinge
acb6c0fc83
Use PlaylistFilter directly
2022-08-09 17:23:46 +02:00
Jonas Kvinge
553d4cce93
PlaylistContainer: Translate Undo/Redo
...
Fixes #1017
2022-08-09 17:04:59 +02:00
Jonas Kvinge
33581fa61d
PlaylistContainer: Fix filter text when switching playlist
...
Fixes #1005
2022-07-26 07:35:43 +02:00
Jonas Kvinge
b02e0aae98
PlaylistListSortFilterModel: Add header guard
2022-07-26 07:33:11 +02:00
Jonas Kvinge
3ffcc29249
Add back save all playlists action
2022-07-20 01:09:00 +02:00
Jonas Kvinge
21f1fe52c0
Remove save all playlists action
...
It's hard-coded to m3u, needs a new select directory dialog with option to select different playlist formats.
Fixes #987
2022-07-18 22:56:32 +02:00
Jonas Kvinge
fcd148b8d5
Playlist: Fix "Stop after this track" greys out next track in dynamic mode
...
Fixes #912
2022-06-16 17:53:07 +02:00
Jonas Kvinge
d82fd421ed
Replace use of C-style casts
2022-06-13 00:23:42 +02:00
Jonas Kvinge
fa3891e383
Use list instead of map for songs in internet search
...
Fixes issues with sorting
2022-06-12 01:59:46 +02:00
Jonas Kvinge
25e48d6cae
Add option for disabling bars on currently playing track
...
Fixes #972
2022-06-09 00:50:21 +02:00
Jonas Kvinge
18a2692dc1
PlaylistParser: Refactor code and exclude CUE from save playlist filters
...
Fixes #953
2022-05-13 23:14:56 +02:00
Jonas Kvinge
a2dad982f8
Move sqlrow to core
2022-05-13 18:15:04 +02:00
Jonas Kvinge
21c4022fca
PlaylistView: Fix invalidating cached pixmap on scroll
...
Fixes #952
2022-05-09 23:46:33 +02:00
Maxime Haselbauer
962b52bd5b
Add save all playlists action
2022-03-26 22:38:21 +01:00