Skip to content

V2.5.4

Compare
Choose a tag to compare
@Euro20179 Euro20179 released this 14 Jan 21:51
· 215 commits to master since this release

Features

  • on_open_url_handler

    • Event function that is run right before the url handler is opened.
    • Takes in the urls that were opened as function arguments.
  • Added much more information to ytfzf --help

Addons

Extensions

  • subscription-manager, adds 2 options, --add-sub, and --remove-sub to help manage the subscriptions file.

Scrapers

  • picture scraper, scrapes $XDG_PICTURES_HOME or if a search is given, will scrape that instead.
    • If :w or :wallpaper is given as the search, it will search possible wallpaper folders.
    • Export YTFZF_PICTURES_WALLPAPER_PATH with different paths separated by : to change this.
      • By default, it will search:
        1. /usr/share/wallpapers
        2. /usr/share/backgrounds
        3. ~/.local/share/wallpapers
        4. ~/.local/share/backgrounds

Thumbnail Viewers

  • Added foot thumbnail viewer
    • Extremely basic, does not try to position itself in a correct location

Changes

  • ytfzf instance information is stored in $YTFZF_TEMP_DIR instead of $cache_dir
    • $cache_dir is now only used if $keep_cache is 1, and for files such as search history.
    • $YTFZF_TEMP_DIR defaults to /tmp/ytfzf-$user-id
  • alt-p is now ctrl-p and it doesn't leave the menu.
    • if you want it to be alt-p again set, next_page_action_shortcut="alt-p" in your config file.

Technical Changes

  • sort_video_data_fn no longer takes in the old ytfzf line format, instead it takes in jsonl of videos.
    • Same goes for video_info_text
  • The way previews work in fzf has been refactored completely to enable more possibilities with fzf
  • search history is now a fake extension
  • history is also a fake extension

Fixes

  • long standing bug where -l doesn't save position in fzf

  • some @channel youtube links dont find the correct uuid.

  • some addons didn't have dependancy checks.

  • Preview doesn't work when selecting multiple videos (#612)

  • -s, --search-again is broken (#613)

Plans For Next Update

  • Scraping shorts from a youtube channel
  • making an addon to make --sort work with busybox (possibly using perl or another scripting language)
  • viewed date for history (#626)