Remove useless request

This commit is contained in:
Maxence G 2022-07-04 18:55:07 +02:00
parent b8c924be27
commit aa6c037b20
No known key found for this signature in database
GPG Key ID: DC1FD9409E3FE284
1 changed files with 0 additions and 1 deletions

View File

@ -286,7 +286,6 @@ class AutoMediaBrowserCallback(var player: Player, val libraryService: MediaLibr
): ListenableFuture<SessionResult> { ): ListenableFuture<SessionResult> {
return serviceScope.future { return serviceScope.future {
if (rating is HeartRating) { if (rating is HeartRating) {
val musicService = MusicServiceFactory.getMusicService()
try { try {
if (rating.isHeart) { if (rating.isHeart) {
musicService.star(mediaId, null, null) musicService.star(mediaId, null, null)