Mark
2ddacf2f98
Database: Add *sort fields, bpm, mood, initial_key
...
Upgrade from schema version 20 to 21. This includes:
- six fields for sort tags
- new fields bpm, mood, initial_key
See https://github.com/strawberrymusicplayer/strawberry/pull/1779#pullrequestreview-3003042802
2025-07-12 18:27:32 +02:00
Jonas Kvinge
a47531d4ce
Database: Remove FTS hack
2025-07-09 22:45:52 +02:00
Jonas Kvinge
5e031be42c
Fix cast warnings with MSVC
2025-03-25 18:05:41 +01:00
Jonas Kvinge
e6a0945dfa
Call QObject::metaObject
2025-01-17 09:08:59 +01:00
Jonas Kvinge
72447fecfb
StandardPaths: Remove inheritance
2025-01-07 21:40:06 +01:00
Jonas Kvinge
cbce9f7191
Override config, data and cache location
2025-01-05 23:45:29 +01:00
Jonas Kvinge
8da2b9cd94
Refactoring
2024-11-01 23:04:42 +01:00
Jonas Kvinge
ef9ef63f02
Port to QStringLiteral operator
2024-10-20 06:38:55 +02:00
Jonas Kvinge
0e330b81db
Use Qt::Literals::StringLiterals
2024-10-18 20:17:23 +02:00
Jonas Kvinge
4270b12cd1
Replace QLatin1String with operator _L1
2024-09-12 22:13:21 +02:00
Jonas Kvinge
e3e6a22172
Drop Qt 5 support
...
Qt 6 has been available for almost 4 years. Qt 5 is no longer officially supported by Qt for opensource, it's time to drop Qt 5.
2024-09-12 22:13:21 +02:00
Jonas Kvinge
2a9ccd7480
Set object names
2024-09-02 22:26:36 +02:00
Jonas Kvinge
8da616491d
Replace emit with Q_EMIT
2024-08-25 01:06:30 +02:00
Jonas Kvinge
bc667a6474
Use static QRegularExpression
2024-08-24 17:23:10 +02:00
Jonas Kvinge
7ebcc73a49
More const detach fixes
2024-08-23 20:30:59 +02:00
Jonas Kvinge
5f540a4c08
Add Spotify support
2024-06-13 17:09:06 +02:00
Jonas Kvinge
5d51657f32
Drop FTS tables
2024-06-12 21:17:01 +02:00
Jonas Kvinge
5451c110b1
Replace QStringLiteral with QLatin1String
2024-06-12 20:30:36 +02:00
Jonas Kvinge
a36bf2df65
Replace QStringLiteral with QLatin1String
2024-06-12 18:08:54 +02:00
Jonas Kvinge
426de61525
Add const and std::as_const
2024-04-23 17:15:42 +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
f06591fde8
Database: Replace BOOST_SCOPE_EXIT with QScopeGuard
2023-08-03 17:29:11 +02:00
Jonas Kvinge
2ce5d6f727
Database: Add missing const
2023-07-21 07:15:55 +02:00
Roman Lebedev
0a4888f861
Database scheme: add EBU R 128 Integrated Loudness and Loudness Range columns
...
Nothing really ground-breaking, just add those two fields
to each table that already has `bitrate`/`samplerate`/`bitdepth` fields.
Those new fields do need to be able to represent an invalid state
which is their default state, thus they are non-`NOT NULL`.
In principle, the actual field type could be `INTEGER`
(i.e. fixed point w/ 2 fractional digits), but unless we really want to
save a few bytes, it doesn't seem worthwhile.
FIXME: i'm not sure if `device-schema` should be changed too.
2023-07-12 14:34:04 +02:00
Jonas Kvinge
331aa382f9
Rewrite album cover loader
2023-06-06 20:41:01 +02:00
Jonas Kvinge
e511b2faf9
Use new connect syntax for QMetaObject::invokeMethod
2023-05-03 20:08:51 +02:00
Jonas Kvinge
bdf6844b74
Database: Move error_reported
2023-04-22 14:38:45 +02:00
Jonas Kvinge
e314545f2e
Database: Fix SQL query error message
2023-04-07 20:54:31 +02:00
Jonas Kvinge
ca176c319d
Add Acoustid and MusicBrainz tags to database schema
2023-03-24 21:00:58 +01:00
Jonas Kvinge
78d6fd634b
Fix casts from QByteArray
2022-09-12 22:39:08 +02:00
Jonas Kvinge
2b24ac54a0
Remove unused includes
2022-08-28 03:09:33 +02:00
Jonas Kvinge
c39acc6e3c
Database: Remove useless return
2022-08-28 02:45:34 +02:00
Jonas Kvinge
d97b0478a7
Fix typos
2022-08-28 02:44:37 +02:00
Jonas Kvinge
6afbc71b4a
Remove old schemas
2022-07-10 18:57:00 +02:00
Jonas Kvinge
5ccfc97dab
Database: Fix schema update with Windows line-endings
2022-03-17 00:04:12 +01:00
Jonas Kvinge
62e53b53f0
Replace assert with Q_ASSERT
2021-09-27 19:30:31 +02:00
Jonas Kvinge
d5b0794b00
Remove unneeded this
2021-09-13 20:49:33 +02:00
Jonas Kvinge
24a3ac9811
Use static QMetaObject::invokeMethod
2021-09-09 21:53:14 +02:00
Jonas Kvinge
d35d3aabc3
Show error dialog for failed SQL queries
2021-09-09 21:45:46 +02:00
Jonas Kvinge
ea2bfbda44
Formatting
2021-08-23 21:21:08 +02:00
Jonas Kvinge
f1d3cadb3b
Add better logging for file open and write errors
2021-08-09 23:32:26 +02:00
Jonas Kvinge
2eab763d74
Check that QIODevice::open() is successful, and explicitly call close()
2021-07-14 20:52:57 +02:00
Jonas Kvinge
09bbf1f4d7
Add radios
2021-07-11 01:08:06 +02:00
Jonas Kvinge
8c2b907ff5
Make static
2021-06-22 14:04:42 +02:00
Jonas Kvinge
1295033fae
Clang-Tidy and Clazy fixes
2021-06-20 19:04:08 +02:00
Jonas Kvinge
f8ed2afef1
Add song fingerprinting and tracking
...
Fixes #296
2021-06-05 21:56:40 +02:00
Jonas Kvinge
b5cea4c27e
Make enabling FTS3 non-fatal
2021-04-08 22:33:43 +02:00
Jonas Kvinge
b7de5d6df3
Only enable FTS3 when schema needs upgrading
2021-04-08 22:13:21 +02:00
Jonas Kvinge
78588d8cdf
Fix various clazy warnings
2021-03-21 04:47:11 +01:00