Jonas Kvinge
5e031be42c
Fix cast warnings with MSVC
2025-03-25 18:05:41 +01:00
Jonas Kvinge
cd516c37b9
Refactor Tidal, Spotify, Qobuz, Subsonic and cover providers
...
Use common HTTP, Json and OAuthenticator class
2025-03-08 23:11:07 +01:00
Jonas Kvinge
9a74fce53d
DiscogsCoverProvider: Use anonymous namespace for constants
2024-12-02 22:01:00 +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
4270b12cd1
Replace QLatin1String with operator _L1
2024-09-12 22:13:21 +02:00
Jonas Kvinge
8da616491d
Replace emit with Q_EMIT
2024-08-25 01:06:30 +02:00
Jonas Kvinge
bdca60c0ad
Add missing const
2024-08-12 18:12:26 +02:00
Jonas Kvinge
2f546f214d
Replace QLatin1String with QStringLiteral
2024-06-12 23:51:09 +02:00
Jonas Kvinge
b89c200076
Replace QStringLiteral with QLatin1String
2024-06-12 02:13:27 +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
2e61235403
Application: Use shared pointers
...
Fixes #1239
2023-07-21 05:55:24 +02: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
b22320c48f
Replace typedef with using
2022-10-13 22:39:31 +02:00
Jonas Kvinge
2b24ac54a0
Remove unused includes
2022-08-28 03:09:33 +02:00
Jonas Kvinge
f6b70fda71
Formatting
2022-03-22 21:09:05 +01:00
Jonas Kvinge
63e5d6a94a
Require Qt 5.9
2022-01-29 21:33:33 +01:00
Jonas Kvinge
79ac53b2d9
Fix narrowing conversions
2021-10-30 02:21:29 +02:00
staticssleever668
b38ad81928
Remove use of C-style casts
2021-10-12 18:50:17 +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
e6858719c9
Reduce network access managers
2021-08-12 23:00:42 +02:00
Jonas Kvinge
68dbc29f2c
Use QString::compare with Qt::CaseInsensitive to reduce allocations
2021-07-13 23:18:12 +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
1295033fae
Clang-Tidy and Clazy fixes
2021-06-20 19:04:08 +02:00
Jonas Kvinge
91ab8e22b7
Use QJsonValueRef
2021-03-26 22:10:43 +01:00
Jonas Kvinge
59bffed47f
Use static_cast
2021-03-21 18:53:02 +01:00
Jonas Kvinge
b224aeb0d8
Use 4arg connects for networkreplies
2021-03-21 00:37:17 +01:00
Jonas Kvinge
54f2aa5f77
Update copyrights
2021-03-20 21:14:47 +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
a155e503f4
Never use reference when iterating QJsonArray
2020-11-13 21:10:50 +01:00
Jonas Kvinge
0788981783
Set QNetworkRequest::RedirectPolicyAttribute with Qt >= 5.9
2020-08-14 20:20:41 +02:00
Jonas Kvinge
19f69e9e6c
Allow cover search only using either artist, album or title
2020-08-07 00:18:31 +02:00
Jonas Kvinge
7d4d72e706
Make Discogs provider respect rate limiting
2020-05-14 19:31:40 +02:00
Jonas Kvinge
e35501ff0a
Delete remaining network replies and local redirct server in destructor
2020-05-12 21:28:42 +02:00
Jonas Kvinge
623147dea7
Add Json cover provider class
2020-05-10 12:49:11 +02:00
Jonas Kvinge
7bccc21878
Add setting for cover providers
2020-05-09 01:48:08 +02:00
Jonas Kvinge
57c1358ded
Ignore replies not containing images from Discogs
2020-05-01 12:02:15 +02:00
Jonas Kvinge
2b2b4dbcf4
Improve Discogs cover provider
2020-04-23 21:02:48 +02:00
Jonas Kvinge
a2c0e4d4b1
Improve album cover loader, lyrics search and streaming support
...
- Improve album cover loader
- Add album cover loader result struct
- Move album cover thumbnail scaling to album cover loader
- Make init art manual look for album cover images in song directory
- Make album cover search work for songs outside of collection and
streams
- Make album cover search work based on artist + title if album is not
present
- Update art manual in playlist for local files, devices and CDDA
- Make lyrics search work for streams
- Add stream dialog to menu
- Remove dead code in InternetSearchModel
- Simplify code in InternetSearchView
2020-04-20 18:03:18 +02:00
Jonas Kvinge
7ae049b559
Require Qt 5.6 or higher
2020-02-29 21:50:10 +01:00
Jonas Kvinge
1851f26e3f
Reduce includes
2020-02-09 02:29:35 +01:00
Jonas Kvinge
2d67279180
Fix minor code issues
2019-09-15 20:27:32 +02:00
Jonas Kvinge
bd5ab80276
Use FollowRedirectsAttribute everywhere
2019-08-22 19:28:54 +02:00
Jonas Kvinge
afb583cff4
Remove unused typedef
2019-07-08 22:20:41 +02:00