VoicePluginOptions
Popii / VoicePluginOptions
Interface: VoicePluginOptions
Section titled “Interface: VoicePluginOptions”Defined in: plugins/voice/types.ts:3
Properties
Section titled “Properties”debug?
Section titled “debug?”
optionaldebug?:boolean
Defined in: plugins/voice/types.ts:4
forceIpv4?
Section titled “forceIpv4?”
optionalforceIpv4?:boolean
Defined in: plugins/voice/types.ts:5
forceIpv6?
Section titled “forceIpv6?”
optionalforceIpv6?:boolean
Defined in: plugins/voice/types.ts:6
proxy?
Section titled “proxy?”
optionalproxy?:string|string[]
Defined in: plugins/voice/types.ts:7
sponsorblock?
Section titled “sponsorblock?”
optionalsponsorblock?:boolean|string[]
Defined in: plugins/voice/types.ts:8
crossfade?
Section titled “crossfade?”
optionalcrossfade?:boolean
Defined in: plugins/voice/types.ts:9
poToken?
Section titled “poToken?”
optionalpoToken?:string
Defined in: plugins/voice/types.ts:11
Static po_token for YouTube anti-bot bypass. Use with visitorData.
visitorData?
Section titled “visitorData?”
optionalvisitorData?:string
Defined in: plugins/voice/types.ts:13
visitor_data paired with poToken.
poTokenProvider?
Section titled “poTokenProvider?”
optionalpoTokenProvider?:string
Defined in: plugins/voice/types.ts:19
HTTP endpoint that returns { poToken: string, visitorData?: string }.
When set, the token is fetched at startup and refreshed on the interval
defined by poTokenRefreshMs. Compatible with bgutil-yt-dlp-pot-provider.
poTokenRefreshMs?
Section titled “poTokenRefreshMs?”
optionalpoTokenRefreshMs?:number
Defined in: plugins/voice/types.ts:21
How often to refresh the token from poTokenProvider, in ms. Default: 1 hour.