Jonas Kvinge
bc667a6474
Use static QRegularExpression
2024-08-24 17:23:10 +02:00
Jonas Kvinge
a2cae06582
Remove QtConcurrent include
2024-08-24 17:01:53 +02:00
Jonas Kvinge
7ebcc73a49
More const detach fixes
2024-08-23 20:30:59 +02:00
Jonas Kvinge
be09011bb7
CollectionWatcher: Use mutex for stop and abort
2024-08-23 20:22:18 +02:00
Jonas Kvinge
bdca60c0ad
Add missing const
2024-08-12 18:12:26 +02:00
Jonas Kvinge
cbce9892d5
Replace slots with Q_SLOTS
2024-08-12 01:06:15 +02:00
Jonas Kvinge
358da72ffe
Replace signals with Q_SIGNALS
2024-08-11 23:23:12 +02:00
Jonas Kvinge
d5d2eaba8a
CollectionWatcher: Make const
2024-08-08 17:13:14 +02:00
Jonas Kvinge
e8f64bfe8f
CollectionWatcher: Formatting
2024-08-08 17:12:51 +02:00
Jonas Kvinge
819463a865
Use anonymous namespace for constants
2024-08-07 00:52:58 +02:00
Jonas Kvinge
ff6e93fc15
CollectionWatcher: Only start transaction with scan on startup
...
Fixes #1469
2024-08-03 00:44:47 +02:00
Jonas Kvinge
061e0562d1
CollectionView: Fix search for this
...
Fixes #1510
2024-07-29 20:23:42 +02:00
Jonas Kvinge
37743606a2
CollectionModel: Remove unused ExpandAll function
2024-07-24 19:58:53 +02:00
Jonas Kvinge
d303e700ae
CollectionFilter: Override mimedata function
2024-07-20 01:55:53 +02:00
Jonas Kvinge
6543e4c5da
Use common filter parser for collection and playlist
2024-07-19 17:29:05 +02:00
Jonas Kvinge
dd904fe3c2
Remove unused CollectionQueryOptions class
2024-07-18 02:06:48 +02:00
Jonas Kvinge
95c265ffd3
CollectionFilter: Match individual words
2024-07-17 01:41:25 +02:00
Jonas Kvinge
f2eb0c3b6b
CollectionModel: Add ItemNeverHasChildren
2024-07-15 14:28:29 +02:00
Jonas Kvinge
32be33847c
CollectionFilter: Move early return
2024-07-15 14:16:56 +02:00
Jonas Kvinge
3100b0c044
CollectionFilter: Use recursive filtering
...
Fixes #1486
Fixes #1487
2024-07-15 13:44:50 +02:00
Jonas Kvinge
f4ec3ab379
CollectionModel: Don't append artist if song is compilation
2024-07-14 20:21:08 +02:00
Jonas Kvinge
8327751b91
CollectionFilter: Optimize use of QRegularExpression
...
Possible fix for #1482
2024-07-09 22:06:42 +02:00
Jonas Kvinge
6417f89596
CollectionFilter: Add std::as_const
2024-07-09 18:06:46 +02:00
Jonas Kvinge
e1b4585dc7
CollectionModel: Minor change in debug log
2024-07-02 17:53:14 +02:00
Jonas Kvinge
2edc4369d2
CollectionModel: Only prepend artist on album group by
2024-07-01 17:11:14 +02:00
Jonas Kvinge
32baa95500
Add better error handling for Tag reader
2024-07-01 02:06:42 +02:00
Jonas Kvinge
0038cf8c4e
CollectionWatcher: Make sure periodic scan is stopped
2024-06-24 19:43:09 +02:00
Jonas Kvinge
7f177aef08
CollectionModel: Always separate albums by different artists
...
Fixes #1276
2024-06-24 19:21:24 +02:00
Jonas Kvinge
37855fe836
CollectionBackend: Remove QUrl::FullyDecoded from QUrl::toString()
2024-06-14 18:46:48 +02:00
Jonas Kvinge
f596695f61
CollectionModel: Don't process model updates when loading
2024-06-14 18:40:52 +02:00
Jonas Kvinge
5451c110b1
Replace QStringLiteral with QLatin1String
2024-06-12 20:30:36 +02:00
Jonas Kvinge
57fb52e8f0
Add LL
2024-06-12 18:11:43 +02:00
Jonas Kvinge
a36bf2df65
Replace QStringLiteral with QLatin1String
2024-06-12 18:08:54 +02:00
Jonas Kvinge
f5002cae36
Make static
2024-06-12 18:07:58 +02:00
Jonas Kvinge
05358cdfe4
Add default to switch
2024-06-12 17:41:17 +02:00
Jonas Kvinge
7b43a94055
CollectionBackend: Use static QMetaObject::invokeMethod
2024-06-12 17:40:08 +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
597a8cd6c8
Remove QStringBuilder include
2024-06-12 00:44:48 +02:00
Jonas Kvinge
e477449cd4
Rewrite collection model and search
...
Fixes #392
2024-06-11 23:18:38 +02:00
Jonas Kvinge
6e90e72b4a
CollectionModel: Add content to fake header for pixmap cache
...
QNetworkCacheMetaData requires this now.
2024-05-26 02:49:26 +02:00
Jonas Kvinge
76614bcde0
Only apply collection directories changes on save
2024-05-12 21:40:51 +02:00
Jonas Kvinge
426de61525
Add const and std::as_const
2024-04-23 17:15:42 +02:00
Jonas Kvinge
9c92ef941f
CollectionModel: Remove redundant const_cast
2024-04-23 16:52:17 +02:00
Jonas Kvinge
7aefe3d71b
Change QList<QString> to QStringList
2024-04-23 16:51:42 +02:00
Jonas Kvinge
398db964b8
Use QDateTime::currentSecsSinceEpoch
2024-04-23 16:48:51 +02:00
Jonas Kvinge
569bf6335b
CollectionView: Add action_search_for_this_ to initialization list
2024-04-23 01:57:16 +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
7b88be2635
CollectionModel: Only set grouping if it's selected
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