Jonas Kvinge
b5fa401db9
Collection: Make sure `RunQuery` does not access collection items
...
- Rename `QueryOptions` to `CollectionFilterOptions`.
- Create new class `CollectionQueryOptions` for passing options from model to `CollectionQuery`.
- Rename `Directory` to `CollectionDirectory`.
Fixes #1095
2023-01-08 18:16:16 +01:00
Jonas Kvinge
54fc11a235
CollectionBackend: Rename source accessor
2022-10-19 17:11:56 +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
f6b70fda71
Formatting
2022-03-22 21:09:05 +01:00
Jonas Kvinge
7a61e740e8
Subsonic: Add button to delete songs
...
Fixes #883
2022-01-28 21:26:28 +01:00
Jonas Kvinge
2f3e8986ab
AlbumCoverChoiceController: Clear manually set cover when setting embedded cover
...
Possible fix for #858
2022-01-06 02:14:33 +01:00
Jonas Kvinge
5eae3ddd8a
Use `float` for rating
2021-10-30 18:53:14 +02:00
Jonas Kvinge
79ac53b2d9
Fix narrowing conversions
2021-10-30 02:21:29 +02:00
Jonas Kvinge
3ab86543ad
Add support for saving playcounts and ratings to tags
2021-10-24 16:08:17 +02:00
staticssleever668
b38ad81928
Remove use of C-style casts
2021-10-12 18:50:17 +02:00
Jonas Kvinge
8c6ad52437
Organize: Update collection directory ID and song path immediately
...
Fixes #781
2021-09-27 19:30:31 +02: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
e48b7d83a3
Formatting
2021-07-11 09:49:38 +02:00
Jonas Kvinge
88819611f4
Remove TagLib dependency from Song class
2021-07-02 01:16:46 +02:00
Jonas Kvinge
062c59b321
Rename FindSongs
2021-06-28 00:21:50 +02:00
Jonas Kvinge
0869651dc3
Change parameter order of CollectionBackend::Init
2021-06-28 00:21:50 +02:00
Jonas Kvinge
8287efd51f
Remove silencing -Wclazy-qt6-deprecated-api-fixes to workaround clazy bugs
2021-06-25 18:19:37 +02:00
Jonas Kvinge
e1bf4347ab
Fix uninitialized variables
2021-06-20 23:53:28 +02:00
Jonas Kvinge
1295033fae
Clang-Tidy and Clazy fixes
2021-06-20 19:04:08 +02:00
Jonas Kvinge
f786a17014
Formatting
2021-06-12 20:53:23 +02:00
Jonas Kvinge
7f085c4012
Check fingerprint for NULL
2021-06-06 00:26:11 +02:00
Jonas Kvinge
f8ed2afef1
Add song fingerprinting and tracking
...
Fixes #296
2021-06-05 21:56:40 +02:00
Jonas Kvinge
a883508eca
Fix marking CUE songs available
2021-06-05 02:50:20 +02:00
Jonas Kvinge
5a58ac2845
Make CollectionQuery subclass QSqlQuery, don't copy QSqlQuery
2021-04-10 03:21:05 +02: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
61b201810d
Fix marking songs available
2021-03-14 23:08:05 +01:00
Jonas Kvinge
cff25374b5
Fix collection update for art_manual
2021-03-07 05:37:07 +01:00
Jonas Kvinge
133f094d72
Add support for saving embedded album covers
...
Fixes #286
2021-02-26 21:03:51 +01:00
Jonas Kvinge
03959a68d5
Formatting
2021-02-02 21:08:58 +01:00
Jonas Kvinge
bf7c8df353
Connection syntax migration ( #637 )
2021-01-26 16:48:04 +01:00
Jonas Kvinge
21c5a97d15
Fix total album count
2021-01-15 21:17:32 +01:00
Edgar Salgado
18a67e1f20
Last.fm last played date import: change date if it is newer than the … ( #625 )
...
* Last.fm last played date import: change date if it is newer than the one in database
* Last.fm lastplayed: make it more consistent with the code
2021-01-04 20:43:43 +01:00
Jonas Kvinge
946ed0c0b5
Check for valid datetime when importing last played
2020-11-22 19:01:53 +01:00
Jonas Kvinge
12cbcdb6f4
Fix SQL query by song id when song id is a string
2020-10-10 23:44:42 +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
e3587d369e
Add const
2020-09-10 22:05:12 +02:00
Jonas Kvinge
cac01fbde9
Dont seperate compilation albums by directory in GetAlbums
...
Fixes issue where multi-disc albums are showing more than once in cover
manager.
2020-09-10 21:27:07 +02:00
Jonas Kvinge
31dd910289
Make sure albums in cover manager are unique
...
Fixes #529
2020-09-05 18:59:35 +02:00
Jonas Kvinge
5aaa5231b8
Add Last.fm import
...
Fixes #247
2020-08-30 18:09:13 +02:00
Jonas Kvinge
c315e5016d
Change mtime and ctime to qint64
2020-08-13 21:09:06 +02:00
Jonas Kvinge
e5b3df41e9
Replace QRegExp with QRegularExpression
2020-07-18 04:05:07 +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
2bcad9b637
Do AddOrUpdateSongs in database thread
2020-05-12 18:45:24 +02:00
Jonas Kvinge
8da4c88fd3
Fix compile warnings
2020-04-23 21:08:28 +02:00