A tool to sync music with your favorite devices
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

ffmpeg: use right containaer for opus

Gee Sawra 9dbd8aa4 de3db3cf

+3 -1
+1
src/cmd/sync.rs
··· 374 374 let ts_for_thread = transcoding_settings.clone(); 375 375 376 376 async_std::task::spawn_blocking(move || { 377 + // TODO: don't transcode if it's already lossy 377 378 if let Some(ts) = ts_for_thread { 378 379 ffmpeg::convert( 379 380 &track_for_thread,
+2 -1
src/ffmpeg.rs
··· 104 104 match self { 105 105 Codec::AAC => "m4a", 106 106 Codec::MP3 => "mp3", 107 - Codec::OGG | Codec::Opus => "ogg", 107 + Codec::OGG => "ogg", 108 + Self::Opus => "opus", 108 109 } 109 110 .to_owned() 110 111 }