Jonas Kvinge
6a2c2dbba1
Song: Fix loading length
2024-04-23 20:16:41 +02:00
Jonas Kvinge
426de61525
Add const and std::as_const
2024-04-23 17:15:42 +02:00
Jonas Kvinge
d10eb4370e
Player: Use chrono_literals
2024-04-23 16:53:12 +02:00
Jonas Kvinge
398db964b8
Use QDateTime::currentSecsSinceEpoch
2024-04-23 16:48:51 +02:00
Jonas Kvinge
7b8919d706
CommandlineOptions: Add const
2024-04-23 01:56:55 +02:00
Jonas Kvinge
147fd87d8c
MainWindow: Only pass progress to UpdateTaskbarProgress
2024-04-23 01:56:30 +02:00
Jonas Kvinge
ac0926d40b
Song: Add ColumnIndex helper function
2024-04-23 01:55:57 +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
36db41a1f0
Add sidebar background
2024-04-13 23:47:48 +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
d398c86b0c
Make showing song progress on taskbar optional
2024-04-04 16:49:53 +02:00
Jonas Kvinge
70809e0647
MainWindow: Add error dialog when file deletion fails
...
Fixes #1384
2024-04-03 21:37:20 +02:00
Jonas Kvinge
f9acfbc224
SimpleTreeModel: Handle null root
2024-04-03 21:17:20 +02:00
Jonas Kvinge
5f78e1a983
MergedProxyModel: Fix beginRemoveRows first
...
Fixes #1314
2024-04-03 21:17:06 +02:00
Jonas Kvinge
7bc5579fb7
Song: Check that filetype is supported for writing tags
...
Fixes #1413
2024-04-03 20:45:52 +02:00
Jonas Kvinge
f5547f093e
Player: Use timer for saving volume
...
Fixes #1272
2024-04-02 17:16:29 +02:00
Jonas Kvinge
a0ea75b74e
NetworkAccessManager: Use QNetworkRequest::setHeader
2024-03-24 06:58:33 +01:00
Jonas Kvinge
035aff5454
Add Open Tidal cover provider
2024-03-24 05:23:35 +01: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
Reverier-Xu
cd2b3cb73e
mpris2: Fix mpris:trackid type with Plasma 6
2024-03-13 21:31:25 +01:00
Reverier-Xu
88b5cf2461
mpris2: Fix mpris:trackid type with Plasma 6
2024-03-13 21:31:25 +01:00
Jonas Kvinge
2ccb0af75e
Song: Only include mpris when built with DBUS
2024-03-13 18:15:51 +01:00
Jonas Kvinge
9152f8559f
Song: Split remastered and explicit regex
2024-03-03 01:50:05 +01:00
Jonas Kvinge
7f4c61b15a
Improve album and title disc, remastered, etc matching
...
Don't partial remove things like "(Mono / Remastered)".
Fixes #1387
2024-03-02 19:48:19 +01:00
Jonas Kvinge
9c6649f077
Add letras lyrics provider
2024-02-28 21:33:30 +01:00
Jonas Kvinge
352a6c5691
Remove lyricsmode.com provider
...
They have a "Verifying you are human" thing now.
2024-02-25 04:23:04 +01:00
Jonas Kvinge
72bccad82d
Add accessible name for QToolButton css
...
Make sure it does not apply to other buttons.
Fixes #1255
2024-02-25 02:50:40 +01:00
Jonas Kvinge
8f89bf6402
Replace tabs with spaces
2024-02-18 14:24:20 +01:00
Adam Hill
dd6b9bb38d
MainWindow: Add function to display progress on taskbar
2024-02-09 21:48:12 +01:00
Jonas Kvinge
226a6c50e0
Add better error messages for device and organize
...
Fixes #1364
2024-01-24 19:27:30 +01:00
BetterCallMolly
84c6e09c42
Player: Fix crossfade crash when decoding fails
...
When the decoding of a track fails, `current_item_` is set to an invalid address, if the Crossfade option is enabled, the `Player::TrackAboutToEnd` method does not check whether `current_item_` is a valid pointer or not, causing a segmentation fault.
Player: Removed extra space
2023-12-03 22:07:09 +01:00
Jonas Kvinge
f65927e308
metatypes: Register QAbstractSocket::SocketState
2023-11-29 22:25:03 +01:00
Jonas Kvinge
6348649bc6
GstEnginePipeline: Run QTimer::singleShot in main thread
...
Partial fix for #1302
2023-11-12 21:57:59 +01:00
Michał Walenciak
33f0421d3f
Use 'n' for proper plurar form
2023-11-05 19:37:56 +01:00
Jonas Kvinge
2bb09cf575
Song: Handle MP2 in Song::FiletypeByDescription
2023-10-21 05:07:25 +02:00
Jonas Kvinge
7bf4ad3884
Song: Handle MP2 in Song::FiletypeByExtension
2023-10-21 04:59:50 +02:00
Jonas Kvinge
5154d7ac84
Song: Rename MP3 to MPEG
2023-10-21 04:59:33 +02:00
Jonas Kvinge
c39489060b
Mpris2: Add static_cast
2023-10-13 22:52:36 +02:00
Jonas Kvinge
d2c747258c
Song: Add MPC to FiletypeByMimetype and FiletypeByDescription
2023-10-12 01:16:40 +02:00
Jonas Kvinge
f40f43861d
EngineBase: Use enum class for TrackChangeType
2023-10-03 20:18:52 +02:00
Jonas Kvinge
6a018f3e25
MainWindow: Add sponsorship mesage
2023-09-24 15:09:20 +02:00
Jonas Kvinge
ab26d422e9
MainWindow: Update rosetta message
2023-09-24 15:08:57 +02:00
Jonas Kvinge
0ef50e1b6d
Remove unused variables
2023-09-23 23:55:49 +02:00
Jonas Kvinge
8393cdb2de
Add lyrics from elyrics.net and lyricsmode.com
2023-09-20 19:02:28 +02:00
Jonas Kvinge
50502ce720
Add azlyrics.com lyrics provider
2023-09-19 22:47:07 +02:00
Jonas Kvinge
39f9d02454
Add songlyrics.com lyrics provider
2023-09-19 16:56:10 +02:00
Jonas Kvinge
dc01a18b87
Remove lyrics.com lyrics provider
...
Does not provider full lyrics in API. The URL we used only points to a page with "Get the lyrics for <song> at Lyrics.com" now.
2023-08-31 23:22:22 +02:00
Jonas Kvinge
6dd79d5b8f
MainWindow: Bound volume between 0 and 100
...
Fixes #1262
2023-08-30 21:43:52 +02:00