Skip to content

Commit

Permalink
- Added SpotDL dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
BobbyESP committed Jul 14, 2023
1 parent 2e58a36 commit 6e46bad
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ object SpotifyApiRequests {
// Performs Spotify database query for queries related to track information.
suspend fun searchAllTypes(searchQuery: String): SpotifySearchResult {
kotlin.runCatching {
provideSpotifyApi().search.searchAllTypes(searchQuery, limit = 50, offset = 1, market = Market.ES)
provideSpotifyApi().search.searchAllTypes(searchQuery, limit = 50, offset = 0, market = Market.ES)
}.onFailure {
Log.d("SpotifyApiRequests", "Error: ${it.message}")
return SpotifySearchResult()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -607,6 +607,7 @@ fun InitialEntry(
}.onFailure {
it.printStackTrace()
ToastUtil.makeToastSuspend(context.getString(R.string.update_check_failed))
return@launch
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions color/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ plugins {
}

java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}

android {
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ androidxHiltNavigationCompose = "1.0.0"

androidxTestExt = "1.1.5"

spotdlAndroidVersion = "3d8e42a3f0"
spotdlAndroidVersion = "0.1.10"
spotifyApiKotlinVersion = "3.8.8"

shimmerLibrary = "1.0.4"
Expand Down

0 comments on commit 6e46bad

Please sign in to comment.