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
78588d8cdf
Fix various clazy warnings
2021-03-21 04:47:11 +01:00
Jonas Kvinge
20c1c1d4be
Remove unused variables
2021-03-21 04:43:55 +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
be051a4bb1
Use timers for submitting scrobbles
2021-01-30 21:50:28 +01:00
Jonas Kvinge
cc6c7430d4
Use a QTimer for writing scrobbler cache
2021-01-30 21:48:45 +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
a41353ed03
Update progress even if QDateTime::fromString() fails
2020-11-23 21:54:58 +01:00
Jonas Kvinge
946ed0c0b5
Check for valid datetime when importing last played
2020-11-22 19:01:53 +01:00
Jonas Kvinge
a155e503f4
Never use reference when iterating QJsonArray
2020-11-13 21:10:50 +01:00
Jonas Kvinge
287f0a3739
Remove redundant check for isNull()
2020-10-02 19:27:47 +02:00
Jonas Kvinge
09cdba4b3d
Fix minor code issues
2020-09-30 01:02:41 +02:00
Jonas Kvinge
fd1e9d7fb0
Fix clearing sent in scrobbler cache
2020-09-24 17:02:43 +02:00
Jonas Kvinge
0c743452b0
Only compile Subsonic scrobbler when compiled with Subsonic support
2020-09-23 18:55:22 +02:00
Pascal Below
45bc353341
Add Subsonic scrobble support ( #545 )
...
* add SubsonicScrobbler, add Scrobble method in SubsonicService
* new class SubsonicScrobbleRequest, use queue again, clean up
* add checkbox to enable server-side scrobbling to Subsonic settings page
* Check serversidescrobbling in SubsonicScrobbler::ReloadSettings instead of SubsonicService
TODO: SubsonicScrobbler::ReloadSettings needs to be called when
SubsonicSettings change.
2020-09-23 17:55:12 +02:00
Jonas Kvinge
5aaa5231b8
Add Last.fm import
...
Fixes #247
2020-08-30 18:09:13 +02:00
Jonas Kvinge
1431916183
Add setting for enabling scrobbling based on song source
...
Fixes #416
2020-08-25 23:44:27 +02:00
Jonas Kvinge
0788981783
Set QNetworkRequest::RedirectPolicyAttribute with Qt >= 5.9
2020-08-14 20:20:41 +02:00
Jonas Kvinge
8e39f92cb7
Make album optional when reading scrobbles from cache
2020-08-03 21:50:26 +02:00
Jonas Kvinge
5ebd363d5d
Fixes to last.fm scrobbling
...
- Start array notation for parameters at 0
- Correctly send trackNumber
2020-07-21 03:14:02 +02:00
Jonas Kvinge
7e6de528b4
Update Last.fm error codes
2020-07-19 03:47:21 +02:00
Jonas Kvinge
aeb32783d6
Only use QTextStream::setCodec() with Qt < 6
2020-07-18 04:27:21 +02:00
Jonas Kvinge
f1105393da
Replace QDateTime::toTime_t() with QDateTime::toSecsSinceEpoch()
2020-07-18 04:24:16 +02:00
Jonas Kvinge
f24b6a520c
Replace QDateTime::toTime_t() with QDateTime::toSecsSinceEpoch()
2020-07-18 03:53:30 +02:00
Jonas Kvinge
71a1ea481b
Replace some uses of static_cast with qobject_cast
2020-07-17 01:32:07 +02:00
Jonas Kvinge
39b1e0676b
Fix memory include
2020-06-25 22:51:00 +02:00
Jonas Kvinge
651020388d
Use override
2020-06-15 21:55:05 +02:00
Jonas Kvinge
2fbdb29ebc
Replace 0 with nullptr
2020-06-14 17:02:47 +02:00
Jonas Kvinge
5dbdde3f2b
Make scrobbler show error dialog for all errors when option is on
2020-05-26 17:51:23 +02:00
Jonas Kvinge
fcea3a0877
Add option to scrobbler setting for showing login error
...
Fixes #430
2020-05-12 22:25:00 +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
ec7202e3f6
Use refresh token for ListenBrainz
2020-05-11 00:51:18 +02:00
Jonas Kvinge
139e148912
Use shared_ptr for scrobbler cache items
2020-05-10 14:59:04 +02:00
Jonas Kvinge
f44ce49ea7
Add setting for lyric providers and add more providers
...
Fixes #335
2020-05-08 18:35:36 +02:00
Jonas Kvinge
9cc6a94353
Replace some NewClosure's with lambda connects
2020-04-28 22:29:10 +02:00
Jonas Kvinge
ac55b22839
Fix scrobble duration
2020-04-25 01:15:23 +02:00
Jonas Kvinge
4abc650edf
Make scrobbler handle streams
2020-04-25 00:07:42 +02:00
Jonas Kvinge
7ae049b559
Require Qt 5.6 or higher
2020-02-29 21:50:10 +01:00
Jonas Kvinge
424b0e61cb
Remove extra newlines
2020-02-12 00:07:05 +01:00
Jonas Kvinge
1851f26e3f
Reduce includes
2020-02-09 02:29:35 +01:00
Jonas Kvinge
fc2d601424
Remove useless stdbool.h include
2019-12-30 23:14:40 +01:00
Jonas Kvinge
76d8018ca2
Remove HTML from translations
2019-12-29 23:53:54 +01:00
Jonas Kvinge
9b688a5179
Remove HTML from translations
...
Fixes #260
2019-12-29 23:37:48 +01:00
Jonas Kvinge
8e226302ab
Allow scrobbling songs without album
...
Fixes #309
2019-11-20 21:30:41 +01:00
Jonas Kvinge
a9accb7d85
Refactor scrobbler authentication code
...
Fix a crash when authentication is cancelled
2019-11-14 21:07:30 +01:00
Jonas Kvinge
e3a4cf1cf5
Add option to prefer album artist when sending scrobbles
...
Fixes #274
2019-10-19 02:56:23 +02:00
Jonas Kvinge
a3ae9acebb
Listenbrainz: don't send "various artists" as artist
2019-09-29 13:50:24 +02:00