From d69b7c7fa190dff39b54b0287e3057119d6ebdd6 Mon Sep 17 00:00:00 2001 From: 0xf4b1 <10889432+0xf4b1@users.noreply.github.com> Date: Fri, 25 Oct 2024 00:50:51 +0200 Subject: [PATCH] Bump spotify-kt to 0.1 --- spotify/build.gradle | 9 ++++++++- .../soundcrowd/plugins/spotify/SpotifyApi.kt | 14 +++++++------- 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/spotify/build.gradle b/spotify/build.gradle index 79dbac0..399d6f7 100644 --- a/spotify/build.gradle +++ b/spotify/build.gradle @@ -33,8 +33,8 @@ android { dependencies { implementation 'com.tiefensuche.soundcrowd:plugin:0.1' + implementation 'io.github.tiefensuche:spotify-kt:0.1' implementation 'xyz.gianlu.librespot:librespot-lib:1.6.4' - implementation 'com.tiefensuche:spotify-kt:0.1-SNAPSHOT' } repositories { @@ -46,4 +46,11 @@ repositories { password = System.getenv("GITHUB_TOKEN") } } + maven { + url = uri("https://maven.pkg.github.com/0xf4b1/spotify-kt") + credentials { + username = System.getenv("GITHUB_ACTOR") + password = System.getenv("GITHUB_TOKEN") + } + } } diff --git a/spotify/src/main/java/com/tiefensuche/soundcrowd/plugins/spotify/SpotifyApi.kt b/spotify/src/main/java/com/tiefensuche/soundcrowd/plugins/spotify/SpotifyApi.kt index f161b06..418bec5 100644 --- a/spotify/src/main/java/com/tiefensuche/soundcrowd/plugins/spotify/SpotifyApi.kt +++ b/spotify/src/main/java/com/tiefensuche/soundcrowd/plugins/spotify/SpotifyApi.kt @@ -8,13 +8,13 @@ import android.media.MediaDataSource import android.support.v4.media.MediaMetadataCompat import android.support.v4.media.RatingCompat import com.tiefensuche.soundcrowd.extensions.MediaMetadataCompatExt -import com.tiefensuche.spotify.api.Album -import com.tiefensuche.spotify.api.Category -import com.tiefensuche.spotify.api.Episode -import com.tiefensuche.spotify.api.Playlist -import com.tiefensuche.spotify.api.Show -import com.tiefensuche.spotify.api.SpotifyApi -import com.tiefensuche.spotify.api.Track +import io.github.tiefensuche.spotify.api.Album +import io.github.tiefensuche.spotify.api.Category +import io.github.tiefensuche.spotify.api.Episode +import io.github.tiefensuche.spotify.api.Playlist +import io.github.tiefensuche.spotify.api.Show +import io.github.tiefensuche.spotify.api.SpotifyApi +import io.github.tiefensuche.spotify.api.Track import xyz.gianlu.librespot.audio.decoders.AudioQuality import xyz.gianlu.librespot.audio.decoders.VorbisOnlyAudioQuality import xyz.gianlu.librespot.core.OAuth