diff --git a/Cargo.lock b/Cargo.lock index 58777d1..b8059e3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -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", diff --git a/Cargo.toml b/Cargo.toml index 4eb6771..6bf5d18 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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"] } diff --git a/Dockerfile b/Dockerfile index a980079..b618150 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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