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
c655963483
Use checkStateChanged(Qt::CheckState) with Qt >= 6.7
2024-05-24 02:13:48 +02:00
Jonas Kvinge
9f2e4ac312
CueParser: Detect and handle different text encodings
...
Fixes #1429
2024-05-19 01:49:37 +02:00
Jonas Kvinge
9e25366f85
Add function for detecting text encoding
2024-05-19 01:47:44 +02:00
Jonas Kvinge
c102d8731a
Require ICU
2024-05-19 01:45:19 +02:00
Jonas Kvinge
0983ba1339
MoodbarLoader: Add header name for disk cache
2024-05-13 00:44:37 +02:00
Jonas Kvinge
116bbec73e
Replace qPrintable with qUtf8Printable
...
Fixes #1440
2024-05-13 00:05:58 +02:00
Jonas Kvinge
76614bcde0
Only apply collection directories changes on save
2024-05-12 21:40:51 +02:00
Jonas Kvinge
2953f9eefc
ParserBase: Use original paths
2024-05-12 21:38:59 +02:00
Jonas Kvinge
4a24605361
FileViewList: Use original paths instead of canonical paths
2024-05-12 21:38:15 +02:00
Jonas Kvinge
decabe8d47
CommandlineOptions: Use original paths instead of canonical paths
2024-05-12 21:37:54 +02:00
Jonas Kvinge
51adcf0f1e
MainWindow: Use original paths instead of canonical paths
2024-05-12 21:37:32 +02:00
Wedone
e28d362aad
Update fr.po
2024-05-04 16:22:51 +02:00
Jonas Kvinge
e0d9b8f715
ResizableTextEdit: Remove tab
2024-05-04 16:21:59 +02:00
Robert Gingras
8d7e14f21d
Song: Added WAV to list of supported filetypes
2024-04-24 01:23:51 +02:00
Jonas Kvinge
176984afe0
RadioPlaylistItem: Set correct col position for InitFromQuery
...
Fixes #1430
2024-04-23 22:34:00 +02:00
Jonas Kvinge
542efa17ff
Fix position for song and internet playlist items
...
Fixes #1430
2024-04-23 20:18:28 +02:00
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
24c8d06d41
SongPlaylistItem: Use static_cast
2024-04-23 17:00:10 +02:00
Jonas Kvinge
92e39a3e21
GlobalShortcut: Use optional
2024-04-23 16:54:54 +02:00
Jonas Kvinge
fb2300e2fa
EBUR128State: Add missing const reference
2024-04-23 16:54:22 +02:00
Jonas Kvinge
78becae5e9
AlbumCoverLoader: Use fully qualified namespace in slot
2024-04-23 16:53:40 +02:00
Jonas Kvinge
d10eb4370e
Player: Use chrono_literals
2024-04-23 16:53:12 +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
579349b104
ResizableTextEdit: Add Q_OBJECT macro
2024-04-23 16:44:44 +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
a0cfde18c3
PlaylistSequence: Use constexpr
2024-04-23 02:44:48 +02:00
Jonas Kvinge
0ad4889936
PlaylistSequence: Remove unused member variable
2024-04-23 02:44:36 +02:00
Jonas Kvinge
36e809d530
InternetPlaylistItem: Cast to int
2024-04-23 02:18:24 +02:00
Jonas Kvinge
78096658e2
Chromaprinter: Remove useless cast
2024-04-23 02:18:08 +02:00
Jonas Kvinge
3edd218e3a
Remove redundant casts
2024-04-23 01:58:08 +02:00
Jonas Kvinge
569bf6335b
CollectionView: Add action_search_for_this_ to initialization list
2024-04-23 01:57:16 +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
7b88be2635
CollectionModel: Only set grouping if it's selected
2024-04-21 15:42:29 +02:00
Kientz Arnaud
c30a39d29a
Fix infinitive in french translations
2024-04-16 00:24:59 +02:00
Jonas Kvinge
36db41a1f0
Add sidebar background
2024-04-13 23:47:48 +02:00
Jonas Kvinge
8b249dc06a
QSearchField: Remove NSSearchField workaround
...
This was a workaround for QTBUG-124160.
2024-04-13 05:39:19 +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
e1fbe9ae54
Resolve song from collection using track with Cue in XSPF
...
Fixes #1181
2024-04-04 22:22:02 +02:00
Jonas Kvinge
f48d1a8017
OrganizeDialog: Don't save settings unless button is pressed
...
Fixes #1404
2024-04-04 21:43:57 +02:00
rimasx
0debc90695
Create estonian translation
...
I hope this is OK. Strawberry compiled without any problems and Estonian was automatically selected. I mostly used the Clementine translation, which I tweaked a bit. Many thanks to the Clementine translators, especially Priit Jõerüüt.
2024-04-04 21:29:48 +02:00
Jonas Kvinge
1dae80a633
Add scrobbler option for stripping "remastered" etc
...
Fixes #1387
2024-04-04 21:17:07 +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
4c1a5168f0
CollectionModel: Reset model before deletion
2024-04-03 21:17: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
c00d95242d
Utilities: Handle missing XDG_DATA_DIRS variable
2024-04-02 16:39:48 +02:00
Jonas Kvinge
05c4d23df6
Utilities: Remove `--new-window` parameter from dolphin
...
Fixes #1412
2024-04-02 00:48:29 +02:00
Jonas Kvinge
68c922ee12
SmartPlaylistWizard: Set classic style if using fusion on Windows
...
Workaround a Qt bug.
Fixes #1399
2024-03-29 02:54:25 +01:00
Jonas Kvinge
d1042b276b
GstEnginePipeline: Set volume_set_ to false in ElementRemovedCallback
2024-03-24 19:44:47 +01:00
Jonas Kvinge
9bbffe150f
GstEnginePipeline: Add back volume sync for auto
...
We need to remove the volume sync when the element is deleted on "deep-element-removed", then re-add it on the next "deep-element-added" that isn't a fakesink.
Fixes #1123
2024-03-24 19:36:32 +01:00
Jonas Kvinge
b95be526d3
HtmlLyricsProvider: Use QNetworkRequest::UserAgentHeader
2024-03-24 07:04:07 +01:00
Jonas Kvinge
165f9d769b
MusixmatchCoverProvider: Fix parsing
2024-03-24 06:59:01 +01:00
Jonas Kvinge
a0ea75b74e
NetworkAccessManager: Use QNetworkRequest::setHeader
2024-03-24 06:58:33 +01:00
Jonas Kvinge
4075f92eec
OpenTidalCoverProvider: Adjust settings
2024-03-24 05:27:43 +01:00
Jonas Kvinge
035aff5454
Add Open Tidal cover provider
2024-03-24 05:23:35 +01:00
Strawbs Bot
ffba351a16
Update translations
2024-03-23 01:43:24 +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
Jonas Kvinge
93c2fa4c73
MusixmatchLyricsProvider: Parse metadata
2024-03-17 23:41:05 +01:00
Jonas Kvinge
f412fb21d6
SettingsPage: Double spinboxes are double, not int
2024-03-17 21:56:39 +01:00
Jonas Kvinge
bd4b6c1f01
main: Add `QCoreApplication::setQuitLockEnabled(false);`
...
Fixes #1401
2024-03-17 21:46:15 +01:00
Jonas Kvinge
d1839d87e7
MusixmatchLyricsProvider: Fix parsing lyrics
2024-03-16 22:46:45 +01:00
Jonas Kvinge
1fc163eb5f
Playlist: Comments formatting
2024-03-13 21:59:17 +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
Célestin Matte
27ee6e7643
EditTagDialog: Add button to fetch lyrics
...
Co-Authored-By: Jonas Kvinge <jonas@jkvinge.net>
2024-03-13 17:54:19 +01:00
Jonas Kvinge
f11afd4414
GstEnginePipeline: Add default to switch
2024-03-12 00:40:11 +01:00
Sami Boukortt
2aa70b6ab8
Add an option not to skip “The” when sorting artist names
2024-03-11 23:34:42 +01:00
Jonas Kvinge
4626a6f609
GstEnginePipeline: Use playbin3 with gstreamer >= 1.22
2024-03-08 18:52:22 +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
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
a6ea4dd0d7
Remove unused includes
2024-02-28 21:37:14 +01:00
Jonas Kvinge
9c6649f077
Add letras lyrics provider
2024-02-28 21:33:30 +01:00
Jonas Kvinge
04ba202e12
HtmlLyricsProvider: Use browser-like user-agent
2024-02-25 04:32:09 +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
6d52a2b409
QSearchField: Replace QToolButton with QPushButton
2024-02-25 02:46:51 +01:00
Jonas Kvinge
12288a2622
BackendSettingsPage: Fix enabling/disabling exclusive mode
2024-02-20 01:22:40 +01:00
Jonas Kvinge
f84ce3f1d1
Add exclusive mode option for WASAPI
2024-02-20 01:08:00 +01:00
Jonas Kvinge
306b3f72d8
SettingsPage: Pass on scroll event to page
...
If the settings widget does not have focus, pass the event to the page for scrolling down instead of changing the setting.
Fixes #1380
2024-02-19 23:07:27 +01:00
buckmelanoma
593a04d047
InternetSearchView: Use DescriptionForSource instead of TextForSource
...
DescriptionForSource provides uppercase names in the filter menu instead of the lowercase names provided by TextForSource
2024-02-18 20:14:01 +01:00
buckmelanoma
667548f3ed
InternetSongsView: Use DescriptionForSource instead of TextForSource
...
DescriptionForSource provides uppercase names in the filter menu instead of the lowercase names provided by TextForSource
2024-02-18 20:14:01 +01:00
Jonas Kvinge
8f89bf6402
Replace tabs with spaces
2024-02-18 14:24:20 +01:00
Jonas Kvinge
ff28e7c86e
Add ASIO device finder
2024-02-17 00:40:55 +01:00
Jonas Kvinge
a354f6bdc5
GstEnginePipeline: Set device-clsid
2024-02-16 21:38:33 +01:00
Jonas Kvinge
cb44c71733
DirectSoundDeviceFinder: Add waveformsink
2024-02-16 21:38:08 +01:00