Skip to content

VoicePluginOptions

Popii


Popii / VoicePluginOptions

Defined in: plugins/voice/types.ts:3

optional debug?: boolean

Defined in: plugins/voice/types.ts:4


optional forceIpv4?: boolean

Defined in: plugins/voice/types.ts:5


optional forceIpv6?: boolean

Defined in: plugins/voice/types.ts:6


optional proxy?: string | string[]

Defined in: plugins/voice/types.ts:7


optional sponsorblock?: boolean | string[]

Defined in: plugins/voice/types.ts:8


optional crossfade?: boolean

Defined in: plugins/voice/types.ts:9


optional poToken?: string

Defined in: plugins/voice/types.ts:11

Static po_token for YouTube anti-bot bypass. Use with visitorData.


optional visitorData?: string

Defined in: plugins/voice/types.ts:13

visitor_data paired with poToken.


optional poTokenProvider?: 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.


optional poTokenRefreshMs?: number

Defined in: plugins/voice/types.ts:21

How often to refresh the token from poTokenProvider, in ms. Default: 1 hour.