Skip to content

Commit

Permalink
Last changes
Browse files Browse the repository at this point in the history
  • Loading branch information
LuftVerbot committed Sep 14, 2024
1 parent 69f76f2 commit b679771
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ dependencies {
implementation("androidx.media3:media3-exoplayer-dash:1.4.1")
implementation("androidx.media3:media3-exoplayer-hls:1.4.1")

implementation("io.ktor:ktor-utils:2.3.0")

implementation("androidx.core:core-splashscreen:1.0.1")
implementation("androidx.palette:palette-ktx:1.0.0")

Expand All @@ -89,8 +91,6 @@ dependencies {

implementation("com.github.Kyant0:taglib:1.0.0-alpha17")

implementation("io.ktor:ktor-utils:2.3.0")

//TODO : use fetch instead of download manager
// implementation("com.github.tonyofrancis.Fetch:xfetch2:3.1.6")

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ class ByteChannelDataSource : BaseDataSource(true) {
val audio = dataSpec.customData as Streamable.Audio.Channel
val requestedPosition = dataSpec.position

// Attempt to seek to the requested position
channel = audio.channel
this.audio = audio

Expand Down
2 changes: 1 addition & 1 deletion common/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ kotlin {

dependencies {
api("org.jetbrains.kotlinx:kotlinx-serialization-json:1.7.1")
implementation("io.ktor:ktor-utils:2.3.0")
api("io.ktor:ktor-utils:2.3.0")
}

publishing {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package dev.brahmkshatriya.echo.common.models

import dev.brahmkshatriya.echo.common.models.Request.Companion.toRequest
import io.ktor.utils.io.ByteChannel
import io.ktor.utils.io.ByteReadChannel
import kotlinx.serialization.Serializable
import java.io.InputStream
Expand Down

0 comments on commit b679771

Please sign in to comment.