client:ytfzf
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| client:ytfzf [2025/09/01 08:18] – marlonivo | client:ytfzf [2025/09/02 09:02] (current) – [Invidous Instance] marlonivo | ||
|---|---|---|---|
| Line 21: | Line 21: | ||
| ytdl_pref=' | ytdl_pref=' | ||
| sub_link_count=8 | sub_link_count=8 | ||
| + | log_level=0 | ||
| show_thumbnails=1 | show_thumbnails=1 | ||
| pages_start=1 | pages_start=1 | ||
| + | is_loop=1 | ||
| search_again=1 | search_again=1 | ||
| multi_search=1 | multi_search=1 | ||
| invidious_instance=" | invidious_instance=" | ||
| + | search_again_shortcut=" | ||
| - | # Thumbnail | + | # Thumb |
| - | thumbnail_viewer="ueberzug" | + | load_thumbnail_viewer="chafa" |
| - | thumbnail_quality=" | + | thumbnail_quality=" |
| fzf_preview_side=" | fzf_preview_side=" | ||
| sort_by=" | sort_by=" | ||
| + | export FZF_DEFAULT_OPTS=" | ||
| on_opt_parse_c () { | on_opt_parse_c () { | ||
| arg=" | arg=" | ||
| case " | case " | ||
| - | #when scraping subscriptions enable -l | ||
| - | #-cSI or -cS | ||
| SI|S) is_loop=1 ;; | SI|S) is_loop=1 ;; | ||
| esac | esac | ||
| } | } | ||
| - | </ | ||
| + | download_thumbnails() { | ||
| + | for thumb in " | ||
| + | url=" | ||
| + | id=" | ||
| + | curl -s -L " | ||
| + | done | ||
| + | wait | ||
| + | } | ||
| + | </ | ||
| ===== Invidous Instance ===== | ===== Invidous Instance ===== | ||
| Install Dependencys | Install Dependencys | ||
| Line 77: | Line 87: | ||
| port: 5432 | port: 5432 | ||
| - | hmac_key: " | + | hmac_key: " |
| </ | </ | ||
| Line 97: | Line 107: | ||
| Import DB-Scheme: | Import DB-Scheme: | ||
| < | < | ||
| - | Jetzt füllst du die Datenbank mit dem Schema, das Invidious braucht: | ||
| - | |||
| psql -U invidious -h localhost -d invidious < config/ | psql -U invidious -h localhost -d invidious < config/ | ||
| psql -U invidious -h localhost -d invidious < config/ | psql -U invidious -h localhost -d invidious < config/ | ||
| Line 113: | Line 121: | ||
| - | ===== Refining | + | ===== MPV Config |
| + | |||
| + | Add this to '' | ||
| + | < | ||
| + | audio-device=pulse | ||
| + | vo=x11 | ||
| + | profile=sw-fast minimal) | ||
| + | hwdec=no | ||
| + | |||
| + | no-terminal | ||
| + | really-quiet | ||
| + | msg-level=all=no | ||
| + | </ | ||
| Add both postgres and invidous to your boot runlevel. | Add both postgres and invidous to your boot runlevel. | ||
| + | < | ||
| + | sudo rc-update add postgres default | ||
| + | sudo rc-update add invidous default | ||
| + | </ | ||
| - | Now you can search anything with yt-fzf | + | Now you can search anything with yt-fzf. |
| < | < | ||
| - | ytfzf "Anything" | + | ytfzf Anything |
| </ | </ | ||
| Done! Have fun with ytfzf | Done! Have fun with ytfzf | ||