- Enter your prepared repo
- Run
docker run -it -v .:/repo videofeed
- Create index.toml in the root of your repo.
- Create a folder named data to store your data.
- Inside data, create one folder for each episode and then add all the parts inside that folder.
- Add as much episodes.
- Finally run this tool. It will sync all your data to upstream s3 bucket.
It will search for all the video files in the directory and subdirectories and then tries to find following extra files. For a file as <filename>.<ext>
, It will search for:
For thumbnail
- filename.png
- filename.jpg
- filename.webp
For extra metadata:
- filename.toml
- episode/index.toml
title = "My World - BBC"
description = "Watch exclusive videos on Hamropatro."
link = "https://sgp1.digitaloceanspaces.com/hamro-video"
copyright = "BBC"
[thumbnail]
capture = true
captureAt = 3
[remote]
url="sgp1.digitaloceanspaces.com"
bucket="hamro-video"
accessKey="<yourkey>"
secretKey="<your key>"