Jonas Kvinge
bdbe66b116
Support more collections
2025-03-08 22:24:28 +01:00
Jonas Kvinge
61e3ea249d
Turn off "Grey out unavailable songs in playlists on startup" by default
2025-02-02 23:48:05 +01:00
Jonas Kvinge
121f45d3b6
Playlist: Use sizeof playlist pointer to pointer
2025-01-17 07:22:49 +01:00
Jonas Kvinge
b919472241
Playlist: Correct sizeof
2025-01-17 06:56:08 +01:00
Jonas Kvinge
bf98633f16
Load XSPF title as playlist name
2025-01-04 04:52:17 +01:00
Jonas Kvinge
a96627c5a9
Playlist: Invalidate deleted songs in main thread
...
Fixes #1625
2025-01-04 00:16:36 +01:00
Jonas Kvinge
9ee5c8dc17
Playlist: Update copyright
2025-01-03 23:41:43 +01:00
Jonas Kvinge
82cd425ece
Playlist: Add const
2025-01-03 23:41:30 +01:00
Jonas Kvinge
3b02d364ba
Playlist: Rename some variables
2025-01-03 23:41:15 +01:00
Jonas Kvinge
376af26f0e
Playlist: Move new QMimeData
2024-11-23 15:19:31 +01:00
Jonas Kvinge
a26066d70f
Disconnect tagreader reply metaobject connection in lambda
...
Otherwise the tagreader reply is deleted to early causing crashes.
2024-11-21 15:59:07 +01:00
Jonas Kvinge
777fec9a92
Playlist: Remove deleteLater() as it uses QSharedPointer
2024-11-08 21:36:43 +01:00
Jonas Kvinge
a8e307bb6a
Playlist: Only move album for current row first
...
The logic was flawed as current_virtual_index_ can be set even when current_row isn't causing crash.
Fixes #1588
2024-11-02 01:52:01 +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
daaacf4663
Remove external tagreader
2024-09-28 15:29:10 +02:00
Jonas Kvinge
3cb0f60900
Add missing names for parameter variables
2024-09-28 12:32:12 +02:00
Jonas Kvinge
4270b12cd1
Replace QLatin1String with operator _L1
2024-09-12 22:13:21 +02:00
Jonas Kvinge
e3e6a22172
Drop Qt 5 support
...
Qt 6 has been available for almost 4 years. Qt 5 is no longer officially supported by Qt for opensource, it's time to drop Qt 5.
2024-09-12 22:13:21 +02:00
Jonas Kvinge
af06f8e70a
Playlist: Remove flawed sorting logic for filename
...
Possible fix for #1538
2024-09-08 13:12:13 +02:00
Jonas Kvinge
148ae530d8
Playlist: Add missing reference for Columns
2024-08-25 06:24:55 +02:00
Jonas Kvinge
80bea31b98
Replace forever with Q_FOREVER
2024-08-25 06:24:02 +02:00
Jonas Kvinge
8da616491d
Replace emit with Q_EMIT
2024-08-25 01:06:30 +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
bdca60c0ad
Add missing const
2024-08-12 18:12:26 +02:00
Jonas Kvinge
67f04a81b3
Playlist: Add data changed when setting current row
2024-07-09 16:21:09 +02:00
Jonas Kvinge
32baa95500
Add better error handling for Tag reader
2024-07-01 02:06:42 +02:00
Jonas Kvinge
9f9c46e370
Update individual playlist columns, use enum class
2024-06-20 22:52:27 +02:00
Jonas Kvinge
299415a889
Rename "Internet" to "Streaming"
2024-06-12 22:23:05 +02:00
Jonas Kvinge
4ba5113842
Remove const
2024-06-12 18:09:23 +02:00
Jonas Kvinge
05358cdfe4
Add default to switch
2024-06-12 17:41:17 +02:00
Jonas Kvinge
b233600b8c
Remove useless else
2024-06-12 17:38:58 +02:00
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