feat: support changing file name

This commit is contained in:
uku 2025-05-19 18:39:48 +02:00
parent 61c759d25e
commit a9837b7938
Signed by: uku
SSH key fingerprint: SHA256:4P0aN6M8ajKukNi6aPOaX0LacanGYtlfjmN+m/sHY/o
2 changed files with 11 additions and 3 deletions

View file

@ -459,7 +459,6 @@ async fn the_process(app: UploadInfo, sender: &Sender<ProgressMessage>) -> Resul
.thumbnail_url(&app.config)
.ok_or_eyre("could not get thumbnail url")?;
// TODO get w&h from video
Ok(format!(
"https://autocompressor.net/av1?v={}&i={}&w={}&h={}",
Encoded(&zp_file.url),