It's worth noting that the video thumbnails may sometimes be displayed outside the terminal window. Also, don't expect this to work in a tty - it obviously won't. Since Überzug only works on X11, the ytfzf video thumbnails feature is also tied to X11 sessions, and does not work on Wayland. The thumbnails are implemented using Überzug, a command line utility which allows drawing images on terminals by using child windows. The videos are played using mpv by default, but you can change this with another video player, as long as it has the ability to launch YouTube links. Use the Up and Down arrow keys to navigate through the search results, and press the Enter key to play the video (or download it, it ytfzf was started with the -d command line parameter). On the left-hand side you can see the selected video title, the channel that posted the video, the number of views, video duration, upload date, and the video thumbnail (which is optional). The tool initially started as a single line script, but has since evolved, recently gaining the ability to show YouTube thumbnails in the terminal, along with other enhancements.įor each YouTube search query, a list of results in shown in the right-hand side pane. The command line script had its first stable (1.0.0) release today. Ytfzf is a script to search, download and play YouTube videos by making use of mpv and youtube-dl under the hood.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |