magic-tape: YouTube TUI client (fzf, image support)
magic-tape: YouTube TUI client (fzf, image support)
cross-posted from: https://lemmy.world/post/530920
Magic-tape is an image supporting fuzzy finder command line interface YouTube client.
https://gitlab.com/christosangel/magic-tape
Image rendering can be done with the use of ueberzugpp, ueberzug, kitty terminal or chafa.
With magic-tape, through the main menu, the user can:
- Browse videos from subscriptions.
- Browse through trending video feed.
- make a video search, using keywords or phrases.
- Watch a previously watched video (watch history).
- Browse videos from a subcsribed channel.
- Watch a liked video.
- Repeat the previous selection.
- Repeat a previous search (search history).
- Watch/download video/audio content, in various formats.
Through the miscellaneous menu the user can
- Set up Preferences (configuration).
- Like / Unlike a video.
- Synchronize the above actions with their YouTube account.
- Import subscriptions from YouTube.
- Subscribe to/ Unsubscribe from a channel.
- Clear their watch/search history, liked videos, thumbnail cache.
Looks like a cool script. I am learning different TUI tools now and willing to migrate some from GUI. This one gives me trouble. I probably did something wrong. When I press
m
thenP
- nothing happens. Supposedly, there should be preferences. And the program didn't ask me on the first run to configure anything.When I search a video with
s
- I get in a preview window:zsh:11: command not found: draw_preview
I do not know how this script is interacting with zsh. Have you tried to run it with bash?
Strange... It still displays the same zsh error and the preferences are not displayed. I even tried to execute the program using
bash magic-tape.sh
while in bashI tried on a machine where only bash is installed, and the search window is blank, yt-dlp gives an error that flashes and I can't read quickly, no preferences appear, again it flashes some text but I cannot read it. Also, the location for the folder is not relative, it has to be in
~/git/magic-tape
otherwise it will give you multiple errors.