Skip to content

Commit 482a61f

Browse files
committed
Minor UI & Docker fixes. Upgrade vite.
1 parent 9e4839a commit 482a61f

File tree

5 files changed

+13
-8
lines changed

5 files changed

+13
-8
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,12 @@ If you don't require local hosting, or are not adept in networking and Linux, co
3636
docker run --rm -it -p 0.0.0.0:8080:80 -v clapshot-demo:/mnt/clapshot-data/data elonen/clapshot:latest-demo
3737
```
3838

39-
- **Multi-user demo** with HTTP basic auth, append `-htadmin`, i.e.: `... elonen/clapshot:latest-demo-htadmin`
39+
- **Multi-user demo** with HTTP basic auth:
40+
41+
```bash
42+
docker run --rm -it -p 0.0.0.0:8080:80 -v clapshot-demo-htadmin:/mnt/clapshot-data/data elonen/clapshot:latest-demo-htadmin
43+
```
44+
4045

4146
After the Docker image starts, access the web UI at `http://127.0.0.1:8080`.
4247

client/package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"tailwindcss": "^3.4.3",
2929
"tslib": "^2.6.2",
3030
"typescript": "^5.4.5",
31-
"vite": "^5.2.11",
31+
"vite": "^5.2.12",
3232
"vite-plugin-checker": "^0.6.4"
3333
}
3434
}

client/src/App.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -894,7 +894,7 @@ function onMediaFileListPopupAction(e: { detail: { action: Proto3.ActionDef, ite
894894
<i class="fas fa-upload"></i>
895895
</div>
896896
<div class="text-xl text-gray-700">
897-
Drop video files here to upload
897+
Drop video, audio and image files here to upload
898898
</div>
899899
</div>
900900
</FileUpload>

server/src/video_pipeline/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ fn ingest_media_file(
281281
details: if do_transcode { Some(format!("Transcoding because {reason}")) } else { None },
282282
user_id: Some(md.user_id.clone()),
283283
media_file_id: Some(media_id.to_string()),
284-
progress: Some(0.0),
284+
progress: if do_transcode { Some(0.0) } else { None },
285285
})?;
286286
Ok(do_transcode)
287287
},

0 commit comments

Comments
 (0)