Files
streamctl/pkg/streamcontrol/youtube/config.go
2024-10-21 23:10:01 +01:00

31 lines
825 B
Go

package youtube
import (
streamctl "github.com/xaionaro-go/streamctl/pkg/streamcontrol"
youtube "github.com/xaionaro-go/streamctl/pkg/streamcontrol/youtube/types"
)
const ID = youtube.ID
type OAuthHandler = youtube.OAuthHandler
type Config = youtube.Config
type StreamProfile = youtube.StreamProfile
type PlatformSpecificConfig = youtube.PlatformSpecificConfig
func init() {
streamctl.RegisterPlatform[PlatformSpecificConfig, StreamProfile](ID)
}
func InitConfig(cfg streamctl.Config) {
youtube.InitConfig(cfg)
}
type TemplateTags = youtube.TemplateTags
const (
TemplateTagsUndefined = youtube.TemplateTagsUndefined
TemplateTagsIgnore = youtube.TemplateTagsIgnore
TemplateTagsUseAsPrimary = youtube.TemplateTagsUseAsPrimary
TemplateTagsUseAsAdditional = youtube.TemplateTagsUseAsAdditional
)