Commit Graph

18 Commits

Author SHA1 Message Date
ff1a4a4387 cmd/streamdata: print VOD pathname
Useful for accessing the file externally.

Signed-off-by: Yonah <contrib@gensokyo.uk>
2026-03-19 01:51:40 +09:00
10ed962bee streamdata: path helper
This prints ident string joined with base directory pathname.

Signed-off-by: Yonah <contrib@gensokyo.uk>
2026-03-19 01:51:07 +09:00
63145c95bd cmd/streamdata: list sub-command
This lists all known identifiers.

Signed-off-by: Yonah <contrib@gensokyo.uk>
2026-03-19 01:46:10 +09:00
c6da581ec0 streamdata: iterator over known idents
Useful for searching.

Signed-off-by: Yonah <contrib@gensokyo.uk>
2026-03-19 01:45:31 +09:00
522b576cfa cmd/streamdata: show sub-command
This displays metadata by ident.

Signed-off-by: Yonah <contrib@gensokyo.uk>
2026-03-19 01:23:37 +09:00
4a1dec2252 cmd/streamdata: format youtube title
Useful for uploading VODs to youtube.

Signed-off-by: Yonah <contrib@gensokyo.uk>
2026-03-19 01:22:45 +09:00
90c8b7c849 streamdata: omitempty category field
This is treated as optional when handling the prompt.

Signed-off-by: Yonah <contrib@gensokyo.uk>
2026-03-19 01:10:12 +09:00
d219c27528 cmd/streamdata: check against overwriting
This prevents inadvertently queuing an existing vod, only to fail the check after copy completes.

Signed-off-by: Yonah <contrib@gensokyo.uk>
2026-03-19 01:09:31 +09:00
49931c6e75 cmd/streamdata: format vod metadata for stdout
This is useful for a show command.

Signed-off-by: Yonah <contrib@gensokyo.uk>
2026-03-19 01:08:06 +09:00
2879d9d186 streamdata: metadata load helper
This loads metadata by ident.

Signed-off-by: Yonah <contrib@gensokyo.uk>
2026-03-19 00:57:35 +09:00
a7d445c021 cmd/streamdata: init sub-command
This initialises a new channel's on-disk representation.

Signed-off-by: Yonah <contrib@gensokyo.uk>
2026-03-19 00:42:31 +09:00
7ff2b4feb1 cmd/streamdata: vod creation tool
This prompts the user for metadata and downloads the asset.

Signed-off-by: Yonah <contrib@gensokyo.uk>
2026-03-19 00:37:46 +09:00
76485e7708 cmd/streamdata: additional prompt helpers
These wrap existing helpers to implement certain retry behaviour.

Signed-off-by: Yonah <contrib@gensokyo.uk>
2026-03-19 00:36:46 +09:00
1b010377a7 streamdata: channel I/O helpers
These takes assets as a stream alongside their metadata.

Signed-off-by: Yonah <contrib@gensokyo.uk>
2026-03-19 00:35:51 +09:00
04520390a7 cmd/streamdata: prompt helpers
These read user input from the terminal. They are quite sound, but only manually tested for now.

Signed-off-by: Yonah <contrib@gensokyo.uk>
2026-03-18 18:43:52 +09:00
e60f36b985 ident: decode twitch vod name
There are a few unknown fields, represented as is for now.

Signed-off-by: Yonah <contrib@gensokyo.uk>
2026-03-18 18:16:26 +09:00
68cec9f18f cmd/streamdata: simple progress indicator
For downloading stream VODs, since they are pretty large.

Signed-off-by: Yonah <contrib@gensokyo.uk>
2026-03-18 01:39:51 +09:00
26afe7f386 all: initialise go module
Signed-off-by: Yonah <contrib@gensokyo.uk>
2026-03-17 21:50:29 +09:00