V2.5.4
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 thesubscriptions
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:
/usr/share/wallpapers
/usr/share/backgrounds
~/.local/share/wallpapers
~/.local/share/backgrounds
- By default, it will search:
- If
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 nowctrl-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.
- if you want it to be
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
- Same goes for
- The way previews work in
fzf
has been refactored completely to enable more possibilities withfzf
- search history is now a fake extension
- history is also a fake extension
Fixes
-
long standing bug where
-l
doesn't save position infzf
-
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)