• v0.3.0 93e4245874

    v0.3.0
    All checks were successful
    Tests / test (push) Successful in 16s
    Build and Push Docker Image / test (push) Successful in 47s
    Build and Push Docker Image / build-and-push (push) Successful in 59s
    Stable

    patillacode released this 2026-04-09 15:01:51 +02:00 | 0 commits to main since this release

    Bug fix: Short detection now works from EU deployments

    The previous detection method followed redirects on youtube.com/shorts/{id} and checked whether the final URL
    still contained /shorts/. From EU IPs, YouTube redirects everything to consent.youtube.com first — so the
    check always failed and every video was cached as "not a Short".

    This release switches to the oEmbed API, which bypasses consent walls entirely and returns reliable
    portrait/landscape dimensions. Shorts are portrait (height > width); regular videos are landscape.

    After upgrading, clear the video cache — all existing entries are wrong:

    docker exec yt-shorts-proxy python -c "
    import sqlite3; conn = sqlite3.connect('/data/cache.db')
    conn.execute('DELETE FROM videos'); conn.commit(); print('cache cleared')
    "
    

    Also in this release

    • Docker Compose examples in the README now use the published image — no local build needed
    • Branch strategy simplified to main → feature/*
    • just pr detects the current branch automatically
    • Fixed: detection errors were silently swallowed and never reached the error tracker

    Images

    docker pull forgejo.patilla.es/patillacode/yt-shorts-proxy:latest
    
    docker pull forgejo.patilla.es/patillacode/yt-shorts-proxy:v0.3.0
    
    Downloads