Jonas Kvinge
5f9a83871d
Playlist: Cast to int
2024-04-23 02:45:27 +02:00
Jonas Kvinge
da0c5e67c5
Playlist: Use optional::has_value
2024-04-23 02:45:11 +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
1a691a103e
Fix Qt 5 and mpris2 build errors
2024-03-22 20:26:13 +01:00
Jonas Kvinge
5e725e0bbe
Fix playlist shuffle
...
- Shuffle all indexes
- Use persistent indexes to store play history
- Update virtual items to keep original shuffle order when the playlist is reordered
- Make sure to always set virtual index on manual shuffle
- Ignore repeat and shuffle when dynamic playlist is activated
Fixes #707
Fixes #1381
Fixes #1366
Fixes #1353
2024-03-22 20:00:12 +01:00
Jonas Kvinge
1fc163eb5f
Playlist: Comments formatting
2024-03-13 21:59:17 +01:00
Jonas Kvinge
b365131363
Playlist: Remove veto listeners
...
We have never used this, it's basically dead code.
2024-02-28 23:00:24 +01:00
Jonas Kvinge
6a459682ca
Playlist: Check for valid index
...
Fixes #1359
2024-01-19 22:37:14 +01:00
Jonas Kvinge
8d1a0071b6
Playlist: Use effective original year for sorting
...
Fixes #1349
2024-01-11 16:40:12 +01:00
Jonas Kvinge
567bad33e1
Playlist: Use PlaylistItemPtr
2023-10-07 17:05:36 +02:00
buckmelanoma
7e684885cf
Capitalize column names
...
Capitalize column names for consistency with OS
2023-09-15 15:33:07 +02:00
Jonas Kvinge
95eed1ecec
Fix QtConcurrent::run build with Qt 5
2023-07-21 06:10:44 +02:00
Jonas Kvinge
2e61235403
Application: Use shared pointers
...
Fixes #1239
2023-07-21 05:55:24 +02:00
Jonas Kvinge
d6b53f78ab
Cleanup includes
2023-07-21 05:25:57 +02:00
Roman Lebedev
b2c66c9cda
Playlist: add newly-added columns
...
Still mostly boilter-plate-y. It is somewhat interesting to see that info
in playlist view, so add the two fileds as columns.
At least for Integrated loudness, since it's normally negative,
we need to add a specialized Delegate.
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
2f17647cd3
Use const reference for AlbumCoverLoaderResult
2023-05-03 21:43:22 +02:00
Jonas Kvinge
e511b2faf9
Use new connect syntax for QMetaObject::invokeMethod
2023-05-03 20:08:51 +02:00
Jonas Kvinge
60bbd71a22
Remove NetworkAccessManager from song loader
2023-04-22 14:05:48 +02:00
Jonas Kvinge
7fc5aef553
Use one instance of NetworkAccessManager
2023-04-21 20:20:53 +02:00
Jonas Kvinge
b660287779
Use `std::shared_ptr`for `AlbumCoverLoaderResult`
...
Reduces memory fragmentation with Qt 6
2023-04-06 23:18:10 +02:00
Jonas Kvinge
962536bc83
AlbumCoverLoaderResult: Use enum class for type
2023-04-06 01:23:42 +02:00
Jonas Kvinge
e20cbe4170
Save embedded cover in the same process as tags
...
Possible fix for #1158
2023-03-18 20:03:07 +01:00
Jonas Kvinge
dd72fb4ca5
Use C++11 enum class
2023-02-18 14:09:30 +01:00
Jonas Kvinge
3d4c98d981
Playlist: Fix tag inline editing for steams
...
Fixes #1130
2023-02-10 22:49:57 +01:00
Jonas Kvinge
205b7f2401
Split utilities functions into separate files
2022-12-28 22:53:59 +01:00
Jonas Kvinge
2b24ac54a0
Remove unused includes
2022-08-28 03:09:33 +02:00
Jonas Kvinge
acb6c0fc83
Use PlaylistFilter directly
2022-08-09 17:23:46 +02:00
Jonas Kvinge
fcd148b8d5
Playlist: Fix "Stop after this track" greys out next track in dynamic mode
...
Fixes #912
2022-06-16 17:53:07 +02:00
Jonas Kvinge
fa3891e383
Use list instead of map for songs in internet search
...
Fixes issues with sorting
2022-06-12 01:59:46 +02:00
Jonas Kvinge
18a2692dc1
PlaylistParser: Refactor code and exclude CUE from save playlist filters
...
Fixes #953
2022-05-13 23:14:56 +02:00
Jonas Kvinge
a6c05df362
Formatting
2022-03-22 21:19:59 +01:00
Jonas Kvinge
f6b70fda71
Formatting
2022-03-22 21:09:05 +01:00
Jonas Kvinge
fdedfd54c7
Moodbar: Disable moodbar loader for CUE songs
2022-01-05 18:59:14 +01:00
Jonas Kvinge
ca4ea0719f
Playlist: Fix updating summary after reloading items
...
Fixes #848
2021-12-08 01:35:49 +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
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
d78ee3d62b
Fix total playlist length for songs without length
2021-09-13 20:46:55 +02:00
Jonas Kvinge
24a3ac9811
Use static QMetaObject::invokeMethod
2021-09-09 21:53:14 +02:00
Jonas Kvinge
978fb06349
clazy:exclude=range-loop-reference
2021-08-25 03:45:12 +02:00
Jonas Kvinge
709a706853
Delete mimedata when returning early
2021-08-25 02:38:58 +02:00
Jonas Kvinge
d02241d32c
Fix compile with MSVC
2021-08-24 21:49:06 +02:00
Jonas Kvinge
ea2bfbda44
Formatting
2021-08-23 21:21:08 +02:00
Jonas Kvinge
553e8baa8b
Fix async song load
...
Fixes #739
2021-07-28 22:25:33 +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
fc45015b13
Remove unused variable
2021-07-12 13:26:41 +02:00
Jonas Kvinge
c6da0864f2
Use std::make_shared
2021-07-11 19:57:18 +02:00
Jonas Kvinge
e48b7d83a3
Formatting
2021-07-11 09:49:38 +02:00