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
Jonas Kvinge
54f2aa5f77
Update copyrights
2021-03-20 21:14:47 +01:00
Jonas Kvinge
30c336726b
Only backup database if schema version is correct
2020-11-09 23:10:43 +01:00
Jonas Kvinge
3821680817
Increase sqlite busy timeout to 30 seconds
...
Possible fix for #533
2020-11-09 22:49:33 +01:00
Jonas Kvinge
b6693a71f9
Rename initialise to initialize
2020-10-17 17:29:09 +02:00
Jonas Kvinge
3166ca2127
Use QRecursiveMutex
2020-09-22 18:58:44 +02:00
Jonas Kvinge
89d6b7cec0
Add smart playlists, ratings and Qobuz
...
Fixes #259
Fixes #264
2020-09-17 17:50:17 +02:00
Jonas Kvinge
e5b3df41e9
Replace QRegExp with QRegularExpression
2020-07-18 04:05:07 +02:00
Jonas Kvinge
13b60351a6
Replace use of deprecated C++ headers
2020-06-14 23:54:18 +02:00
Jonas Kvinge
12150c2180
Change database file
2020-04-13 19:05:55 +02:00
Jonas Kvinge
d90aecb164
Add back Tidal support
2020-04-13 19:04:06 +02:00
Jonas Kvinge
5591472dbd
Change artist and song ID to strings
2020-04-13 03:39:51 +02:00
Jonas Kvinge
2e0f7b367f
Remove tidal and qobuz
...
Fixes #369
2020-02-25 01:08:03 +01:00
Jonas Kvinge
8e0d792bf0
Reduce includes
2020-02-08 03:40:30 +01:00
Jonas Kvinge
76b4a6585e
Update copyrights
2019-09-23 19:17:41 +02:00
Jonas Kvinge
2d67279180
Fix minor code issues
2019-09-15 20:27:32 +02:00
Jonas Kvinge
e13faff2d7
Add missing include for assert
2019-09-08 00:36:32 +02:00
Jonas Kvinge
2d3f41da6f
Automatically remove devices with old schemas when upgrading
2019-08-02 22:58:30 +02:00
Jonas Kvinge
8a0e66bf11
Switch to FTS5 with unicode61 ( #229 )
...
* Switch to FTS5 with unicode61
* Update required sqlite version in README
* Update README
* Change back db file
2019-07-30 22:45:22 +02:00
Jonas Kvinge
81caec99b7
Fix closing databases
2019-07-25 17:56:28 +02:00
Jonas Kvinge
41484f8673
Fix exit
2019-07-24 23:29:09 +02:00