tzugen
06c076470a
Merge branch 'develop' into Dependabot-1
2021-05-04 09:59:51 +02:00
tzugen
dc6cfd141b
Create dependabot.yml
2021-05-04 09:57:08 +02:00
Nite
fb74d6465e
Merge branch 'develop' into rogue-session
2021-05-02 12:04:23 +02:00
Nite
fe332eed91
Merge pull request #437 from tzugen/select-further
...
Refactor SelectAlbumView using ViewModel pattern
2021-05-02 11:50:25 +02:00
tzugen
66a306152d
Remove MediaStoreService, reinstate Util.scanMedia
...
This partially reverts commit 8fbc2a9fa3
.
2021-05-01 13:31:48 +02:00
tzugen
f6a8ee7241
Remove @Deprecated tag (keep it in JDoc because it doesn't generate a warning)
2021-05-01 10:50:54 +02:00
tzugen
adc350b5c4
Fix wrong injection method after rebase
2021-05-01 10:50:54 +02:00
tzugen
98ba9ecd3e
Migrate from deprecated registerMediaButtonReceiver to MediaSession equivalent
2021-05-01 10:49:23 +02:00
tzugen
4af0d1db25
executeOnStartedMediaPlayerService takes a lambda now
2021-05-01 10:49:23 +02:00
tzugen
d385cf271e
Add comments and deprecation notices
2021-04-27 20:45:25 +02:00
tzugen
ce2f5a95d9
Remove unused parameter
2021-04-27 20:41:14 +02:00
tzugen
237f7ab181
Update baseline files. I have moved several methods, which now get triggered again.
...
To keep this PR manageable, I don't intent to split up the classes now.
2021-04-27 20:41:14 +02:00
tzugen
fe69141e19
Don't leak context in model
2021-04-27 20:41:14 +02:00
tzugen
25f072a5d5
Cleanup some methods
...
+ Ktlint WS fixes
2021-04-27 20:40:57 +02:00
tzugen
dca26f14eb
Fix more compiler warnings
2021-04-27 20:39:52 +02:00
tzugen
1802e91fa7
Use lambdas in Listeners, fix various warnings
2021-04-27 20:39:52 +02:00
tzugen
fa4f4d6c9c
Move loading functions into ViewModel
2021-04-27 20:39:48 +02:00
tzugen
1f57fb334b
Refactor: LoadTask to Coroutines.
2021-04-27 19:52:13 +02:00
Óscar García Amor
1dd43d857d
Remove environment variables in generate_signed_apk CI step
2021-04-27 19:35:38 +02:00
Óscar García Amor
1c58062496
Ignore quantity errors in translations
2021-04-27 19:13:27 +02:00
Óscar García Amor
f9dcc62ed7
Bump version to 2.20.0
2021-04-27 18:43:35 +02:00
tzugen
13f9dd9b33
Merge pull request #443 from ultrasonic/scrobbler
...
Better scrobble text and description, closes #442
2021-04-27 17:51:29 +02:00
Óscar García Amor
2d4b295f7f
Better scrobble text and description, closes #442
2021-04-27 17:33:15 +02:00
Nite
119cc4589e
Merge pull request #439 from tzugen/heapspace
...
Fix a typo in the circleci config.yml
2021-04-27 14:38:01 +02:00
tzugen
822b3551d9
Fix a typo in the circleci config.yml
2021-04-27 11:55:15 +02:00
Nite
817cc14ed9
Merge pull request #421 from tzugen/modern-notification-2
...
Modernize Service Notification
2021-04-27 10:58:50 +02:00
tzugen
4f70c61592
Fix Magic Number problem in DownloadFile (caused by #431 ).
2021-04-27 10:21:57 +02:00
tzugen
3e8cf63603
Merge branch 'develop' into modern-notification-2
2021-04-27 08:18:49 +02:00
Nite
ae22a0c141
Merge pull request #431 from SaintDubious/retryCount
...
Add a retry count to stop infinite downloads
2021-04-27 07:14:02 +02:00
James Wells
d084270c4b
Add a retry count to stop infinite downloads
...
Signed-off-by: James Wells <james@jameswells.net>
2021-04-25 23:08:12 -04:00
tzugen
0a170918c8
Adjust Timber debug level
2021-04-25 16:49:14 +02:00
tzugen
cd27734c04
Emulate keycode for the Session callbacks
2021-04-23 15:04:01 +02:00
tzugen
8004bc31fe
Add PlaybackState actions
...
.. and map PlayerStates more precisely.
2021-04-23 11:26:15 +02:00
tzugen
410e1df980
Upgrade detekt to v1.16.0 to get Type Resolution support
...
In course I had to modify the rules (many were renamed or dropped),
and create a new baseline (many new rules added errors in old files)
2021-04-23 11:26:15 +02:00
tzugen
0ad6d0b691
Move MediaPlayerService to Kotlin dir
2021-04-23 11:26:15 +02:00
tzugen
3aae91bf13
Refactor after conversion
2021-04-23 11:26:15 +02:00
tzugen
35e89b47c6
Convert MediaPlayerService to Kotlin
2021-04-23 11:26:15 +02:00
tzugen
9472aa4c22
Rename .java to .kt
2021-04-23 11:26:14 +02:00
tzugen
df54d3450b
Detekt: Remove "warningThreshold and failThreshold properties are deprecated. Please use the new 'maxIssues' config property."
2021-04-23 11:26:14 +02:00
tzugen
e6135dc21a
Set Session to active
2021-04-23 11:26:14 +02:00
tzugen
205f477b43
Refactor all event listeners to lambdas
2021-04-23 11:26:10 +02:00
tzugen
2adb9ffc7e
Remove two warnings
2021-04-23 11:21:28 +02:00
tzugen
f27212f263
Set AudioAttributes in LocalMediaPlayer
2021-04-23 11:21:24 +02:00
tzugen
e63f24242b
Change detekt config: Allow TODO comments, but continue to block FIXME comments
...
Our code still has so many TODOs that sometimes they can't be fixed immediately
because the require a much larger refactor, and are also so specific that they
don't warrant an own bug.
2021-04-23 11:20:13 +02:00
tzugen
5f8e3ce851
Modernize AudioFocusHandler
2021-04-23 11:20:09 +02:00
tzugen
8640d39438
We need androidx.media at v1.3.0.
...
Also do the minor gradle update
2021-04-23 11:13:44 +02:00
tzugen
37632dd031
Convert AudioFocusHandler to Kotlin
2021-04-23 11:13:44 +02:00
tzugen
0550116b35
Rename .java to .kt
2021-04-23 11:13:44 +02:00
tzugen
8bfc5d04ef
Pass keyevents from the session to MediaPlayerLifecycleSupport
2021-04-23 11:13:44 +02:00
tzugen
88f6bdb3a9
setShowBadge = false
2021-04-23 11:13:44 +02:00