Skip to content

Fix YouTube playback, PO token extraction & !search

Latest

Choose a tag to compare

@chrisb09 chrisb09 released this 23 Aug 01:21

What's Changed

  • YouTube PO Token Extraction:
    • Replaced legacy CDP network interception with passive performance logging and Base64 payload decoding (compatible with Chrome 130+).
    • Embedded local HTTP server iframe wrapper with proper Referrer-Policy to eliminate YouTube Error 153 ("Video player configuration error").
  • Client Fallbacks & Search Routing:
    • Configured multi-client playback fallbacks (IOS, Music, AndroidMusic, TvHtml5Simply, Tv, Web, MWeb, WebEmbedded, AndroidVr, Android).
    • Explicitly disabled search on playback-only clients so !search queries route cleanly to Web/MWeb while audio streams through IOS and OAuth-authenticated clients.
    • Connected automatic OAuth2 refresh token loading from youtubetoken.txt on bot startup.
  • Dependency Updates:
    • Updated dev.lavalink.youtube:common snapshot with recent InnerTube cipher & client fixes.
    • Updated lavaplayer to 2.2.7 and selenium-java to 4.47.0.
  • Docker Container Updates (jmb-container):
    • Upgraded base image to Alpine 3.24 with bundled chromium and chromium-chromedriver for automated headless token retrieval.
    • Added DNS pre-flight resolution check to prevent bot crashes during container boot.
    • Added --local-build flag to build_docker_image.sh.