Skip to content

v0.4.0 - Auto-Updater & Playback Fixes

Latest

Choose a tag to compare

@sayanx64 sayanx64 released this 10 Mar 09:00

What's New

  • Built-in Auto-Updater: phub-cli will now silently check for new updates (checking against main) when you run it. If an update is available, you'll see a notification on the home screen and can easily update by pressing [u] in the menu!
  • Version tracking: install.sh now stamps your installation with the current git commit hash, keeping track of your exact version.

Bug Fixes & Improvements

  • Fixed Video Playback Failures: Replaced the fragile background URL extraction pipeline with direct mpv integration.
    • The issue: Previously, yt-dlp would extract a stream URL with a time-limited token, which could expire or hit CDN HTTP 412/410 errors before mpv had a chance to play it properly.
    • The fix: phub-cli now passes the page URL directly to mpv using --ytdl-format="bestvideo[height<=1080]+bestaudio/best", allowing mpv to resolve the stream just-in-time and handle all format negotiation natively. Playback is now vastly more reliable!
  • UI Tweaks: Added the [u] Update phub-cli option permanently to the main menu for better discoverability.

How to Update

If you are currently on v0.3.0 or older, you will need to manually pull and reinstall this one last time. For all future releases, you can just press [u] in the app!

git pull origin main
sudo ./install.sh