mirror of
https://github.com/xaionaro-go/streamctl.git
synced 2025-10-13 11:13:50 +08:00
golines --max-len=60
This commit is contained in:
@@ -147,12 +147,24 @@ func streamSetup(cmd *cobra.Command, args []string) {
|
||||
assertNoError(ctx, err)
|
||||
|
||||
if isEnabled[youtube.ID] {
|
||||
err := streamD.StartStream(ctx, youtube.ID, title, description, cfg.Backends[youtube.ID].StreamProfiles[profileName])
|
||||
err := streamD.StartStream(
|
||||
ctx,
|
||||
youtube.ID,
|
||||
title,
|
||||
description,
|
||||
cfg.Backends[youtube.ID].StreamProfiles[profileName],
|
||||
)
|
||||
assertNoError(ctx, err)
|
||||
}
|
||||
|
||||
if isEnabled[twitch.ID] {
|
||||
err := streamD.StartStream(ctx, twitch.ID, title, description, cfg.Backends[twitch.ID].StreamProfiles[profileName])
|
||||
err := streamD.StartStream(
|
||||
ctx,
|
||||
twitch.ID,
|
||||
title,
|
||||
description,
|
||||
cfg.Backends[twitch.ID].StreamProfiles[profileName],
|
||||
)
|
||||
assertNoError(ctx, err)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user