Jonas Kvinge
109d3f9ec3
PlaylistBackend: Move query to static function
2025-03-08 21:36:42 +01:00
Jonas Kvinge
e6a0945dfa
Call QObject::metaObject
2025-01-17 09:08:59 +01:00
Jonas Kvinge
bf98633f16
Load XSPF title as playlist name
2025-01-04 04:52:17 +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
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
819463a865
Use anonymous namespace for constants
2024-08-07 00:52:58 +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
426de61525
Add const and std::as_const
2024-04-23 17:15:42 +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
2e61235403
Application: Use shared pointers
...
Fixes #1239
2023-07-21 05:55:24 +02:00
Jonas Kvinge
e511b2faf9
Use new connect syntax for QMetaObject::invokeMethod
2023-05-03 20:08:51 +02:00
Jonas Kvinge
dd72fb4ca5
Use C++11 enum class
2023-02-18 14:09:30 +01: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
d82fd421ed
Replace use of C-style casts
2022-06-13 00:23:42 +02:00
Jonas Kvinge
a2dad982f8
Move sqlrow to core
2022-05-13 18:15:04 +02:00
Jonas Kvinge
2151d96303
Use PlaylistItemList
2021-11-09 19:34:43 +01:00
Jonas Kvinge
62e53b53f0
Replace assert with Q_ASSERT
2021-09-27 19:30:31 +02:00
Jonas Kvinge
d2d7f32c45
Add new method for updating songs based on song ID
...
Show status updating database.
Fixes #750
2021-09-19 15:43:36 +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
978fb06349
clazy:exclude=range-loop-reference
2021-08-25 03:45:12 +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
c6da0864f2
Use std::make_shared
2021-07-11 19:57:18 +02:00
Jonas Kvinge
a6742d401c
Formatting
2021-07-11 07:40:57 +02:00
Jonas Kvinge
f3a8dde5f0
Use std::make_shared
2021-06-30 16:15:55 +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
c6604734c9
Remove using std::placeholders
2021-03-26 23:33:56 +01:00
Jonas Kvinge
59bffed47f
Use static_cast
2021-03-21 18:53:02 +01:00
Jonas Kvinge
54f2aa5f77
Update copyrights
2021-03-20 21:14:47 +01:00
Jonas Kvinge
03959a68d5
Formatting
2021-02-02 21:08:58 +01:00
Jonas Kvinge
6ab6e6d3a8
Format code
2020-11-22 03:36:46 +01:00
Jonas Kvinge
89d6b7cec0
Add smart playlists, ratings and Qobuz
...
Fixes #259
Fixes #264
2020-09-17 17:50:17 +02:00
Jonas Kvinge
651020388d
Use override
2020-06-15 21:55:05 +02:00
Jonas Kvinge
13b60351a6
Replace use of deprecated C++ headers
2020-06-14 23:54:18 +02:00
Jonas Kvinge
c69fff52cc
Remove useless using std
2020-04-20 17:49:06 +02:00
Jonas Kvinge
424b0e61cb
Remove extra newlines
2020-02-12 00:07:05 +01:00
Jonas Kvinge
76b4a6585e
Update copyrights
2019-09-23 19:17:41 +02:00
Jonas Kvinge
8962644ba8
Improvements to device manager
...
- Mount and unmount devices in lister thread
- Safely close watcher and backends for devices
- Enable abort loading device
- Fix MTP connection
2019-09-07 23:30:35 +02:00
Jonas Kvinge
81caec99b7
Fix closing databases
2019-07-25 17:56:28 +02:00
Jonas Kvinge
da0d61f36a
Fix regression in playlist backend caused by previous commits
2019-07-24 21:37:09 +02:00
Jonas Kvinge
b5eb13449b
Safely close database connections and delete backends
...
Also fix NewClosure leak caused by disconnected object signals
2019-07-24 19:16:51 +02:00