clabland / go-homelab-cable

KHLC: A cable station for your homelab.
MIT License
114 stars 20 forks source link

Enhancement: streaming inline commercials #1

Open lighth7015 opened 1 year ago

lighth7015 commented 1 year ago

Hi,

It would be really neat to be able to complete that "old school" vibe if every 20 or so minutes of stream, KHRC could splice in a random commercial from a collection of them, completing that old 90's cable TV experience. :D

clabland commented 10 months ago

Sorry totally missed this! Yeah I agree... maybe an optional --commercials ./path/to/folder/of/commercials folder along with --path?

And then when the server starts up it inserts a random choice from the commercials folder every ~20/30 minutes or so. Probably also want that configurable as well somehow.

lighth7015 commented 10 months ago

Yeah, since programming is usually in what 15/20 minute blocks? You can just interrupt your program and fade out to a commercial and back after 8 minutes or so.

Bradisverycool commented 1 month ago

um theres a error when using --commercials

lighth7015 commented 1 month ago

Err, this option doesn't exist- my point with this ticket was to introduce it.

Bradisverycool commented 1 month ago

ok but can you send a pull request

lighth7015 commented 1 month ago

I'm not a Go developer, though.

Bradisverycool commented 1 month ago

ok

Bradisverycool commented 1 month ago

I might have a program you could use.

Bradisverycool commented 1 month ago

here you go https://github.com/shane-mason/FieldStation42