Change branch for lame encoder

This commit is contained in:
Jan-Henrik 2024-03-17 21:05:18 +01:00
parent b4b0efe417
commit 78fecaa621
3 changed files with 3 additions and 3 deletions

2
Cargo.lock generated
View file

@ -647,7 +647,7 @@ dependencies = [
[[package]]
name = "mp3lame-encoder"
version = "0.1.4"
source = "git+https://github.com/jhbruhn/mp3lame-encoder.git?branch=send-sync#90471b4a7c7f4059551c615d6fdf2014b1002b15"
source = "git+https://github.com/jhbruhn/mp3lame-encoder.git?branch=arm#b1994cc6e914ca52cf05cad0db86fe8d319bfa2d"
dependencies = [
"libc",
"mp3lame-sys",

View file

@ -10,7 +10,7 @@ reqwest = { version = "0.11", features = ["json", "stream", "native-tls-vendored
tokio = { version = "1", features = ["full"] }
awedio = { version = "0.3", features = ["symphonia-all"], default-features = false }
anyhow = "1.0"
mp3lame-encoder = { git = "https://github.com/jhbruhn/mp3lame-encoder.git", branch = "send-sync" }
mp3lame-encoder = { git = "https://github.com/jhbruhn/mp3lame-encoder.git", branch = "arm" }
tokio-stream = { version = "0.1", features = ["sync"] }
futures-util = "0.3"
hyper = { version = "1.2", features = ["server", "http1"] }

View file

@ -5,7 +5,7 @@ RUN ./platform.sh # should write /.platform and /.compiler
RUN rustup target add $(cat /.platform)
RUN apt update && apt-get install -y unzip $(cat /.compiler)
WORKDIR ./jellyfin-radio
WORKDIR /appsrc
ADD . ./
RUN cargo build --release --target $(cat /.platform)
RUN cp ./target/$(cat /.platform)/release/jellyfin-radio /jellyfin-radio.bin # Get rid of this when build --out is stable