Skip to content

Commit

Permalink
Minor UI & Docker fixes. Upgrade vite.
Browse files Browse the repository at this point in the history
  • Loading branch information
elonen committed May 28, 2024
1 parent 9e4839a commit 482a61f
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 8 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,12 @@ If you don't require local hosting, or are not adept in networking and Linux, co
docker run --rm -it -p 0.0.0.0:8080:80 -v clapshot-demo:/mnt/clapshot-data/data elonen/clapshot:latest-demo
```

- **Multi-user demo** with HTTP basic auth, append `-htadmin`, i.e.: `... elonen/clapshot:latest-demo-htadmin`
- **Multi-user demo** with HTTP basic auth:

```bash
docker run --rm -it -p 0.0.0.0:8080:80 -v clapshot-demo-htadmin:/mnt/clapshot-data/data elonen/clapshot:latest-demo-htadmin
```


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

Expand Down
8 changes: 4 additions & 4 deletions client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"tailwindcss": "^3.4.3",
"tslib": "^2.6.2",
"typescript": "^5.4.5",
"vite": "^5.2.11",
"vite": "^5.2.12",
"vite-plugin-checker": "^0.6.4"
}
}
2 changes: 1 addition & 1 deletion client/src/App.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -894,7 +894,7 @@ function onMediaFileListPopupAction(e: { detail: { action: Proto3.ActionDef, ite
<i class="fas fa-upload"></i>
</div>
<div class="text-xl text-gray-700">
Drop video files here to upload
Drop video, audio and image files here to upload
</div>
</div>
</FileUpload>
Expand Down
2 changes: 1 addition & 1 deletion server/src/video_pipeline/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ fn ingest_media_file(
details: if do_transcode { Some(format!("Transcoding because {reason}")) } else { None },
user_id: Some(md.user_id.clone()),
media_file_id: Some(media_id.to_string()),
progress: Some(0.0),
progress: if do_transcode { Some(0.0) } else { None },
})?;
Ok(do_transcode)
},
Expand Down

0 comments on commit 482a61f

Please sign in to comment.