How YouTube poToken auto-refresh works
mainTo play non-music videos or use autoplay/recommendations, YouTube's WEB client requires a short-lived poToken. BeatDock automates this process without requiring Google credentials:
bgutil-provider: A service that mints a{poToken, visitorData}pair using your server's own IP address.pot-refresher: A service that pushes this token to Lavalink'sPOST /youtubehot-swap route on a loop. It re-pushes everyPOT_REFRESH_INTERVALseconds (default1800).
This allows for seamless token updates without restarting Lavalink. If the refresher is down, music playback (via MUSIC/ANDROID_VR clients) will continue to work, though age-restricted videos may become unavailable.