Jonas Kvinge
13ac20f8b3
Add/remove reference for parameters
2023-10-13 22:58:18 +02:00
Jonas Kvinge
2e61235403
Application: Use shared pointers
...
Fixes #1239
2023-07-21 05:55:24 +02:00
Jonas Kvinge
5f4d6dffef
AlbumCoverLoader: Fix loading existing album covers from disk
2023-06-29 00:44:00 +02:00
Jonas Kvinge
b9c7510946
AlbumCoverLoader: Fix Handling default image in finish task
2023-06-28 23:52:39 +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
b8eecc05fd
AlbumCoverLoader: Use own NetworkAccessManager instance
...
Since AlbumCoverLoader runs in it's own thread.
2023-04-21 20:29:43 +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
205b7f2401
Split utilities functions into separate files
2022-12-28 22:53:59 +01:00
Jonas Kvinge
f9ec438b7f
Don't remove disc from album title when creating cover hash
...
Fixes #1069
2022-12-03 23:23:18 +01:00
Jonas Kvinge
2b24ac54a0
Remove unused includes
2022-08-28 03:09:33 +02:00
Jonas Kvinge
564211aceb
Prefer ICU to transliterate characters when available
...
Fixes #1008
2022-07-28 16:31:16 +02:00
Jonas Kvinge
98682a2da9
Use C++17 fallthrough
2022-07-26 20:37:06 +02:00
Jonas Kvinge
f6b70fda71
Formatting
2022-03-22 21:09:05 +01:00
Jonas Kvinge
98d3eba8e8
AlbumCoverLoader: Use char for QString::remove()
2022-02-21 20:22:47 +01:00
Jonas Kvinge
ff3db03696
AlbumCoverLoader: Remove slash and backslash from cover filename
...
Fixes #903
2022-02-21 20:21:06 +01:00
Jonas Kvinge
63e5d6a94a
Require Qt 5.9
2022-01-29 21:33:33 +01:00
Jonas Kvinge
a68d856074
AlbumCoverLoader: Change ID to quint64
2021-11-09 20:48:43 +01:00
Jonas Kvinge
62e53b53f0
Replace assert with Q_ASSERT
2021-09-27 19:30:31 +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
24a3ac9811
Use static QMetaObject::invokeMethod
2021-09-09 21:53:14 +02:00
Jonas Kvinge
f1d3cadb3b
Add better logging for file open and write errors
2021-08-09 23:32:26 +02:00
Jonas Kvinge
e48b7d83a3
Formatting
2021-07-11 09:49:38 +02:00
Jonas Kvinge
a6742d401c
Formatting
2021-07-11 07:40:57 +02:00
Jonas Kvinge
b053f99690
Add Song::is_radio()
2021-07-11 05:18:39 +02:00
Jonas Kvinge
09bbf1f4d7
Add radios
2021-07-11 01:08:06 +02:00
Jonas Kvinge
1295033fae
Clang-Tidy and Clazy fixes
2021-06-20 19:04:08 +02:00
Jonas Kvinge
b224aeb0d8
Use 4arg connects for networkreplies
2021-03-21 00:37:17 +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
5eda028af3
Minor code improvements to album cover loader
2021-03-16 17:17:22 +01:00
Jonas Kvinge
3e6029d33c
Clear art automatic when embedded cover is deleted
2021-03-07 05:43:56 +01:00
Jonas Kvinge
72e61106a9
Remove unused include
2021-02-26 22:15:04 +01:00
Jonas Kvinge
133f094d72
Add support for saving embedded album covers
...
Fixes #286
2021-02-26 21:03:51 +01:00
Jonas Kvinge
bf7c8df353
Connection syntax migration ( #637 )
2021-01-26 16:48:04 +01:00
Jonas Kvinge
72b194cd7e
Rename network to networkaccessmanager
2021-01-11 16:48:46 +01:00
Jonas Kvinge
d02dc54c1b
Log remote cover loading
2020-09-29 22:30:44 +02:00
Jonas Kvinge
0788981783
Set QNetworkRequest::RedirectPolicyAttribute with Qt >= 5.9
2020-08-14 20:20:41 +02:00
Jonas Kvinge
459404e3f0
Rename organise to organize
...
Prefer US spelling
2020-08-04 21:18:14 +02:00
Jonas Kvinge
e5b3df41e9
Replace QRegExp with QRegularExpression
2020-07-18 04:05:07 +02:00
Jonas Kvinge
2fbdb29ebc
Replace 0 with nullptr
2020-06-14 17:02:47 +02:00
Jonas Kvinge
4bfad9dad8
Fix use of QString::right()
2020-05-12 21:12:08 +02:00
Jonas Kvinge
7e22e0e552
Use original image format when saving images from Subsonic and Tidal
...
Fixes #435
2020-05-12 18:50:57 +02:00
Jonas Kvinge
b4bc7333d9
Use album id as cover filename for Subsonic
...
Fixes #433
2020-05-12 15:53:15 +02:00
Jonas Kvinge
7d1fac44e9
Update non collection songs with manually unset cover
2020-05-05 23:57:37 +02:00