Jonas Kvinge
3f3059c98b
Replace QLatin1String with QStringLiteral
2024-08-25 01:08:25 +02:00
Jonas Kvinge
74f0f885b9
Song: Add rejected extensions
2024-08-24 21:10:27 +02:00
Jonas Kvinge
7119f1bc81
Add filename and url to text search columns
2024-08-11 00:12:41 +02:00
Jonas Kvinge
a15ebcde24
Song: Update supported fields for ASF
2024-07-05 21:27:49 +02:00
Jonas Kvinge
32baa95500
Add better error handling for Tag reader
2024-07-01 02:06:42 +02:00
Jonas Kvinge
5f540a4c08
Add Spotify support
2024-06-13 17:09:06 +02:00
Jonas Kvinge
5451c110b1
Replace QStringLiteral with QLatin1String
2024-06-12 20:30:36 +02:00
Jonas Kvinge
b233600b8c
Remove useless else
2024-06-12 17:38:58 +02:00
Jonas Kvinge
b89c200076
Replace QStringLiteral with QLatin1String
2024-06-12 02:13:27 +02:00
Jonas Kvinge
e477449cd4
Rewrite collection model and search
...
Fixes #392
2024-06-11 23:18:38 +02:00
Robert Gingras
8d7e14f21d
Song: Added WAV to list of supported filetypes
2024-04-24 01:23:51 +02:00
Jonas Kvinge
6a2c2dbba1
Song: Fix loading length
2024-04-23 20:16:41 +02:00
Jonas Kvinge
ac0926d40b
Song: Add ColumnIndex helper function
2024-04-23 01:55:57 +02:00
Jonas Kvinge
df070ac0cf
Optimize Song::InitFromQuery
...
Use `QSqlQuery::value(int)` or `QSqlRecord::value(int)` instead of `QSqlQuery::value(QString)`.
Make `SqlRow` use `QSqlRecord` directly instead iterating over all columns.
2024-04-21 15:42:29 +02:00
Jonas Kvinge
0c6872b352
Disable automatic conversions from 8-bit strings
2024-04-13 05:05:33 +02:00
Jonas Kvinge
58944993b8
Use QStringLiteral
2024-04-09 23:20:26 +02:00
Jonas Kvinge
7bc5579fb7
Song: Check that filetype is supported for writing tags
...
Fixes #1413
2024-04-03 20:45:52 +02:00
Jonas Kvinge
2ccb0af75e
Song: Only include mpris when built with DBUS
2024-03-13 18:15:51 +01:00
Jonas Kvinge
9152f8559f
Song: Split remastered and explicit regex
2024-03-03 01:50:05 +01:00
Jonas Kvinge
7f4c61b15a
Improve album and title disc, remastered, etc matching
...
Don't partial remove things like "(Mono / Remastered)".
Fixes #1387
2024-03-02 19:48:19 +01:00
Jonas Kvinge
8f89bf6402
Replace tabs with spaces
2024-02-18 14:24:20 +01:00
Jonas Kvinge
2bb09cf575
Song: Handle MP2 in Song::FiletypeByDescription
2023-10-21 05:07:25 +02:00
Jonas Kvinge
7bf4ad3884
Song: Handle MP2 in Song::FiletypeByExtension
2023-10-21 04:59:50 +02:00
Jonas Kvinge
5154d7ac84
Song: Rename MP3 to MPEG
2023-10-21 04:59:33 +02:00
Jonas Kvinge
d2c747258c
Song: Add MPC to FiletypeByMimetype and FiletypeByDescription
2023-10-12 01:16:40 +02:00
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
Jonas Kvinge
8f7180eb6c
Song: Pass double by value
2023-07-12 18:12:08 +02:00
Jonas Kvinge
8945602eae
Song: Add missing newlines between functions
2023-07-12 18:11:43 +02:00
Jonas Kvinge
7826f77425
Formatting
2023-07-12 16:27:59 +02:00
Roman Lebedev
bda2b91c92
Collectionwatcher: sink PerformEBUR128Analysis() into ScanNewFile & friends
2023-07-12 14:34:04 +02:00
Roman Lebedev
e589486907
Song: add pretty-printers for EBU R 128 Integrated Loudness and Loudness Range fields
...
They end up being used in a quite a number of places later on,
it makes sense to have them in a common place.
Integrated Loudness (LUFS) is *usually* negative, so we really want to
always print a sign. But Loudness Range is non-negative.
I think it makes sense to print one or at most two decimal places for these.
2023-07-12 14:34:04 +02:00
Roman Lebedev
459c4c5d86
Song: add EBU R 128 Integrated Loudness and Loudness Range fields, DB [de]serialization
...
Again, pretty boring boilerplate, rather identical to the handling of
other fields. We do need to be careful when [de]serializing it, though,
we don't want to accidentally loose the `NULL` (i.e. unknown) state!
2023-07-12 14:34:04 +02:00
Jonas Kvinge
e66651a4cb
Song: Remove unused application include
2023-07-02 00:29:30 +02:00
Jonas Kvinge
fa04eb67db
Convert old embedded and unset art in the new schema
2023-06-29 20:21:50 +02:00
Jonas Kvinge
8ee32dfa88
Add static_cast to silence narrowing conversion warnings
2023-06-06 23:18:49 +02:00
Jonas Kvinge
331aa382f9
Rewrite album cover loader
2023-06-06 20:41:01 +02:00
Jonas Kvinge
e9f3281694
Rename EngineBase
2023-04-22 19:13:42 +02:00
Jonas Kvinge
8edb6eaa81
Song: Add missing const
2023-04-21 20:48:30 +02:00
Jonas Kvinge
4de912cf41
Song: Fix missing colon in SQL bind value
2023-03-25 16:34:26 +01:00
Jonas Kvinge
aedbd52e9d
Add AcoustID
2023-03-24 22:48:22 +01:00
Jonas Kvinge
17c960ecd4
Song: Add Acoustid fingerprint and MusicBrainz tags
2023-03-24 20:57:46 +01:00
Jonas Kvinge
b766ae3498
Song: Use static_cast from int to Source
2023-03-24 20:54:42 +01: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
a5c1f4b0ee
EditTagDialog: Fix saving play statistics
...
Fixes #1124
2023-02-10 22:51:48 +01:00
Jonas Kvinge
205b7f2401
Split utilities functions into separate files
2022-12-28 22:53:59 +01:00
Jonas Kvinge
66154bb51e
Song: Add xesam:userRating in Song::ToXesam
2022-12-27 21:18:40 +01:00
Jonas Kvinge
fac4ad5313
Scrobbler: Allow album artists to be "Various Artists"
...
Fixes #1082
2022-12-27 21:15:20 +01:00
Jonas Kvinge
f9ec438b7f
Don't remove disc from album title when creating cover hash
...
Fixes #1069
2022-12-03 23:23:18 +01:00
Jonas Kvinge
2cb29d06b3
EditTagDialog: Disable fields for unsupported tags
2022-11-23 22:06:45 +01:00