Jonas Kvinge
5f540a4c08
Add Spotify support
2024-06-13 17:09:06 +02:00
Jonas Kvinge
299415a889
Rename "Internet" to "Streaming"
2024-06-12 22:23:05 +02:00
Jonas Kvinge
5451c110b1
Replace QStringLiteral with QLatin1String
2024-06-12 20:30:36 +02:00
Jonas Kvinge
2b4aa1d6b2
AlbumCoverChoiceController: Add missing close
2024-06-12 18:09:59 +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
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
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
Jonas Kvinge
1d9a052870
AlbumCoverChoiceController: Move result declaration
2023-07-02 00:29:19 +02:00
Jonas Kvinge
354b55cbbc
Use QFileInfo::path instead of QUrl::RemoveFilename
2023-06-15 21:06:18 +02:00
Jonas Kvinge
8ee32dfa88
Add static_cast to silence narrowing conversion warnings
2023-06-06 23:18:49 +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
69658f2022
AlbumCoverChoiceController: Check for nullptr in SearchForCover
2023-04-23 19:27:01 +02:00
Jonas Kvinge
7fc5aef553
Use one instance of NetworkAccessManager
2023-04-21 20:20:53 +02:00
Jonas Kvinge
41d5792b27
Add screen utilities for screen and center widget on screen
2023-04-18 16:54:35 +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
Fletcher Dostie
bb43cc63ec
Fix album art rendering on High DPI displays
2023-03-24 21:02:55 +01: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
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
205b7f2401
Split utilities functions into separate files
2022-12-28 22:53:59 +01:00
Jonas Kvinge
98682a2da9
Use C++17 fallthrough
2022-07-26 20:37:06 +02:00
Jonas Kvinge
bfd9e76f40
Remove capture of ‘this’ via ‘[=]’
2022-06-20 23:52:18 +02:00
Jonas Kvinge
f6b70fda71
Formatting
2022-03-22 21:09:05 +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
09a9330f3e
Show error when reading or saving album covers
2021-09-19 19:31:34 +02:00
Emmanuel
0637b65846
Fix a few narrowing conversions ( #761 )
...
* Fix narrowing conversion in album cover loader
* Fix narrowing conversions in discogs cover provider
* Fix narrowing conversions in spotify cover provider
* Add explicit conversion in moodbarbuilder
* Fix narrowing conversions in osd dbus
* Make WordyTimeNanosec use unsigned quint64
* Fix narrowing conversions in song
* Fix narrowing conversions in qobuz stream url request
* Make ConnectionInfo.msgLen use unsigned quint64
* Make AnalizerBase.timeout to signed int
* Fix narrowing conversions in album cover fetcher
* Make fht type be unsigned int
* Correct for type in blockanalizer and use std::fill where possible
* Revert "Fix narrowing conversions in song"
This reverts commit 3de291394d
.
2021-09-12 21:24:22 +02:00
Jonas Kvinge
f1d3cadb3b
Add better logging for file open and write errors
2021-08-09 23:32:26 +02:00
Jonas Kvinge
2ad30ebe88
Add missing Qt::CaseInsensitive
2021-07-13 23:25:36 +02:00
Jonas Kvinge
68dbc29f2c
Use QString::compare with Qt::CaseInsensitive to reduce allocations
2021-07-13 23:18:12 +02:00
Jonas Kvinge
a6742d401c
Formatting
2021-07-11 07:40:57 +02:00
Jonas Kvinge
09bbf1f4d7
Add radios
2021-07-11 01:08:06 +02:00
Jonas Kvinge
584f5e5935
Change bool/int condition
2021-06-22 14:04:42 +02:00
Jonas Kvinge
af3834672e
Remove unneeded break
2021-06-21 18:14:59 +02:00
Jonas Kvinge
589bdf5dcd
Use default
2021-06-21 15:40:44 +02:00
Jonas Kvinge
1295033fae
Clang-Tidy and Clazy fixes
2021-06-20 19:04:08 +02:00
Jonas Kvinge
8699790e78
Always call QFutureWatcher::setFuture after connects
2021-06-16 00:30:21 +02:00
Jonas Kvinge
59bffed47f
Use static_cast
2021-03-21 18:53:02 +01:00
Jonas Kvinge
73eebd6162
Set album cover filename by pattern as default when saving cover to album directory
2021-03-20 23:13:54 +01:00
Jonas Kvinge
54f2aa5f77
Update copyrights
2021-03-20 21:14:47 +01:00
Jonas Kvinge
d84aebd8f4
Format code
2021-03-15 22:37:49 +01:00
Jonas Kvinge
3e6029d33c
Clear art automatic when embedded cover is deleted
2021-03-07 05:43:56 +01:00
Jonas Kvinge
04bbff338d
Fix deleting multiple covers in album cover manager
2021-03-07 03:43:49 +01:00
Jonas Kvinge
e587e8cfc8
Use original file when loading cover from file in tag editor
2021-03-07 02:36:50 +01:00
Jonas Kvinge
b5bafbf23a
Lowercase file extension
2021-03-07 00:53:33 +01:00
Jonas Kvinge
e15e7f0942
Fix compile with Qt 5
...
Forgot to test the changes from the last commit with Qt 5
2021-02-26 22:01:45 +01:00
Jonas Kvinge
133f094d72
Add support for saving embedded album covers
...
Fixes #286
2021-02-26 21:03:51 +01:00