siriusmart / youtube-tui Goto Github PK
View Code? Open in Web Editor NEWAn aesthetically pleasing YouTube TUI written in Rust
Home Page: https://siriusmart.github.io/youtube-tui
License: GNU General Public License v3.0
An aesthetically pleasing YouTube TUI written in Rust
Home Page: https://siriusmart.github.io/youtube-tui
License: GNU General Public License v3.0
I love the idea of this app but I'm having some issues setting it up, it worked for a (very) short time but now literally nothing loads, it's possible that adding subscriptions to my feed might have caused the problem as I think it started freezing after that (I could be wrong though).
fyi, I've never used invidious before so I very well might have set things up wrong
subscriptions.json
main.txt
(the actual config is .yml I just did this so I can upload it)
Versions: (don't know what's helpful so I'll just do everything that might be important to know)
When running cargo install youtube-tui
, when it gets to the end (compiling youtube-tui v0.8.0), I get the following error:
Compiling youtube-tui v0.8.0
error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/home/privacyfreak/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin:/home/privacyfreak/.cargo/bin:/home/privacyfreak/.local/bin:/home/privacyfreak/bin:/usr/lib64/ccache:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/var/lib/snapd/snap/bin:/home/privacyfreak/.spicetify:/home/privacyfreak/.spicetify:/home/privacyfreak/.spicetify" VSLANG="1033" "cc" "-m64" "/tmp/rustcPWojDK/symbols.o" "/tmp/cargo-install5EXqna/release/deps/youtube_tui-b02b24448fa1006b.youtube_tui.a76ed9a9cf2bd4df-cgu.0.rcgu.o" "/tmp/cargo-install5EXqna/release/deps/youtube_tui-b02b24448fa1006b.youtube_tui.a76ed9a9cf2bd4df-cgu.1.rcgu.o" "/tmp/cargo-install5EXqna/release/deps/youtube_tui-b02b24448fa1006b.youtube_tui.a76ed9a9cf2bd4df-cgu.2.rcgu.o" "/tmp/cargo-install5EXqna/release/deps/youtube_tui-b02b24448fa1006b.youtube_tui.a76ed9a9cf2bd4df-cgu.3.rcgu.o" "/tmp/cargo-install5EXqna/release/deps/youtube_tui-b02b24448fa1006b.youtube_tui.a76ed9a9cf2bd4df-cgu.4.rcgu.o" "/tmp/cargo-install5EXqna/release/deps/youtube_tui-b02b24448fa1006b.youtube_tui.a76ed9a9cf2bd4df-cgu.5.rcgu.o" "/tmp/cargo-install5EXqna/release/deps/youtube_tui-b02b24448fa1006b.vk4v6wlfrw0f5kw.rcgu.o" "-Wl,--as-needed" "-L" "/tmp/cargo-install5EXqna/release/deps" "-L" "/tmp/cargo-install5EXqna/release/build/sixel-sys-0a98baebb7413cff/out/lib" "-L" "/home/privacyfreak/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/tmp/cargo-install5EXqna/release/deps/libyoutube_tui-8a6d60cb33c0b332.rlib" "/tmp/cargo-install5EXqna/release/deps/libserde_yaml-1fb87739bcc08597.rlib" "/tmp/cargo-install5EXqna/release/deps/libindexmap-b416915eed73d617.rlib" "/tmp/cargo-install5EXqna/release/deps/libequivalent-762d62065b9a3e0d.rlib" "/tmp/cargo-install5EXqna/release/deps/libhashbrown-5e569ae78c6e2917.rlib" "/tmp/cargo-install5EXqna/release/deps/libunsafe_libyaml-dc79a522bd55acfe.rlib" "/tmp/cargo-install5EXqna/release/deps/libviuer-509db011cdbd102c.rlib" "/tmp/cargo-install5EXqna/release/deps/libbase64-472679fb717442ea.rlib" "/tmp/cargo-install5EXqna/release/deps/libtempfile-96886c56bfdf650a.rlib" "/tmp/cargo-install5EXqna/release/deps/libfastrand-39f783d97dc08708.rlib" "/tmp/cargo-install5EXqna/release/deps/librustix-aefcba9729a0f027.rlib" "/tmp/cargo-install5EXqna/release/deps/liblinux_raw_sys-e7b37e57bb30ee1f.rlib" "/tmp/cargo-install5EXqna/release/deps/libsixel_rs-ff6fa222c626a55c.rlib" "/tmp/cargo-install5EXqna/release/deps/libsixel_sys-52606b38e39406ad.rlib" "/tmp/cargo-install5EXqna/release/deps/libconsole-2154621c086678c1.rlib" "/tmp/cargo-install5EXqna/release/deps/liblazy_static-5c16b50e02d4c972.rlib" "/tmp/cargo-install5EXqna/release/deps/libtermcolor-323e38b7d9759b32.rlib" "/tmp/cargo-install5EXqna/release/deps/libansi_colours-49f4cb632683183d.rlib" "/tmp/cargo-install5EXqna/release/deps/librgb-dbacff1b0840dde2.rlib" "/tmp/cargo-install5EXqna/release/deps/libimage-d0051724fc45d86f.rlib" "/tmp/cargo-install5EXqna/release/deps/libqoi-c08fa34e93ab14c2.rlib" "/tmp/cargo-install5EXqna/release/deps/libbytemuck-b28e53dbca3fa8bb.rlib" "/tmp/cargo-install5EXqna/release/deps/libpng-f352ab21d68153e9.rlib" "/tmp/cargo-install5EXqna/release/deps/libfdeflate-d2d1ca5c0731af9a.rlib" "/tmp/cargo-install5EXqna/release/deps/libexr-706aa0c3227316d9.rlib" "/tmp/cargo-install5EXqna/release/deps/libflume-5f809b52b6eda365.rlib" "/tmp/cargo-install5EXqna/release/deps/libzune_inflate-58edae948e482a96.rlib" "/tmp/cargo-install5EXqna/release/deps/libbit_field-964063fcb778747c.rlib" "/tmp/cargo-install5EXqna/release/deps/liblebe-89b761fb62122af8.rlib" "/tmp/cargo-install5EXqna/release/deps/libhalf-9e764ddc9f419333.rlib" "/tmp/cargo-install5EXqna/release/deps/libgif-2a8e322473c7dbdb.rlib" "/tmp/cargo-install5EXqna/release/deps/libcolor_quant-86df9756530998e2.rlib" "/tmp/cargo-install5EXqna/release/deps/libbyteorder-95bc922e90dc5288.rlib" "/tmp/cargo-install5EXqna/release/deps/libtiff-d59bb386b70f2d43.rlib" "/tmp/cargo-install5EXqna/release/deps/libflate2-59179985b0554b76.rlib" "/tmp/cargo-install5EXqna/release/deps/libminiz_oxide-6acd02954c6897fc.rlib" "/tmp/cargo-install5EXqna/release/deps/libsimd_adler32-3f90862bdca3af11.rlib" "/tmp/cargo-install5EXqna/release/deps/libcrc32fast-85fe460e036f73d4.rlib" "/tmp/cargo-install5EXqna/release/deps/libweezl-9169f4f5f85a2a70.rlib" "/tmp/cargo-install5EXqna/release/deps/libjpeg_decoder-433280e14181925b.rlib" "/tmp/cargo-install5EXqna/release/deps/librayon-31cf5e640da15a18.rlib" "/tmp/cargo-install5EXqna/release/deps/librayon_core-4e5c473353005522.rlib" "/tmp/cargo-install5EXqna/release/deps/libcrossbeam_deque-ef31ccb1175bdd9c.rlib" "/tmp/cargo-install5EXqna/release/deps/libcrossbeam_epoch-531f6e7d3222a6f3.rlib" "/tmp/cargo-install5EXqna/release/deps/libcrossbeam_utils-9f9275b4f1d2e15e.rlib" "/tmp/cargo-install5EXqna/release/deps/libeither-931e4d0c4e7b2c75.rlib" "/tmp/cargo-install5EXqna/release/deps/libcrossterm-3e7d3b0e1ac238ed.rlib" "/tmp/cargo-install5EXqna/release/deps/liblibmpv-6bea9c3ccffd8d15.rlib" "/tmp/cargo-install5EXqna/release/deps/liblibmpv_sys-129b3b1456e6a87b.rlib" "/tmp/cargo-install5EXqna/release/deps/libinvidious-5828820bf6fa0d29.rlib" "/tmp/cargo-install5EXqna/release/deps/libhttp_req-66890df924f86ead.rlib" "/tmp/cargo-install5EXqna/release/deps/libnative_tls-00eda6cb888019e2.rlib" "/tmp/cargo-install5EXqna/release/deps/libopenssl_probe-f9ed2f286ce0d601.rlib" "/tmp/cargo-install5EXqna/release/deps/libopenssl-20884e6fd1f8ede3.rlib" "/tmp/cargo-install5EXqna/release/deps/libonce_cell-f4b568492ab7a574.rlib" "/tmp/cargo-install5EXqna/release/deps/libbitflags-429dfd2adf61d36a.rlib" "/tmp/cargo-install5EXqna/release/deps/libforeign_types-2ce788792a48e64e.rlib" "/tmp/cargo-install5EXqna/release/deps/libforeign_types_shared-afd94a312eda5412.rlib" "/tmp/cargo-install5EXqna/release/deps/libopenssl_sys-3f282f85ab6ee40d.rlib" "/tmp/cargo-install5EXqna/release/deps/libunicase-3631a71eef09be43.rlib" "/tmp/cargo-install5EXqna/release/deps/libserde_json-2e9c9eb3dbcc11f2.rlib" "/tmp/cargo-install5EXqna/release/deps/libitoa-b28375730ec7d8f1.rlib" "/tmp/cargo-install5EXqna/release/deps/libryu-a833fcb7a7c72c14.rlib" "/tmp/cargo-install5EXqna/release/deps/libclipboard-f9a4ff1123285a33.rlib" "/tmp/cargo-install5EXqna/release/deps/libx11_clipboard-4def546e30c1401c.rlib" "/tmp/cargo-install5EXqna/release/deps/libxcb-687d6b40d126b65f.rlib" "/tmp/cargo-install5EXqna/release/deps/libchrono-31205b21dbfeefce.rlib" "/tmp/cargo-install5EXqna/release/deps/libnum_traits-769b2377a870eba7.rlib" "/tmp/cargo-install5EXqna/release/deps/libiana_time_zone-b6c50d96eb2523a5.rlib" "/tmp/cargo-install5EXqna/release/deps/liburlencoding-fa16f867b3e2cf0f.rlib" "/tmp/cargo-install5EXqna/release/deps/libhome-a07530e80feff06c.rlib" "/tmp/cargo-install5EXqna/release/deps/libtui_additions-d036002683f22040.rlib" "/tmp/cargo-install5EXqna/release/deps/libtypemap-e1d4bdb43e58f754.rlib" "/tmp/cargo-install5EXqna/release/deps/libunsafe_any-3370992b1582478e.rlib" "/tmp/cargo-install5EXqna/release/deps/libtraitobject-6f14e2fffe8d971c.rlib" "/tmp/cargo-install5EXqna/release/deps/libdyn_clone-425a53836d879a5f.rlib" "/tmp/cargo-install5EXqna/release/deps/libratatui-570e6736410a8e26.rlib" "/tmp/cargo-install5EXqna/release/deps/libcassowary-a94e0e75328aeb35.rlib" "/tmp/cargo-install5EXqna/release/deps/libunicode_segmentation-94f5860b4ddb4daa.rlib" "/tmp/cargo-install5EXqna/release/deps/libunicode_width-2bd1ef299adf2d00.rlib" "/tmp/cargo-install5EXqna/release/deps/libcrossterm-e8059e9b3d7b6c26.rlib" "/tmp/cargo-install5EXqna/release/deps/libsignal_hook_mio-bfd42b69f777640d.rlib" "/tmp/cargo-install5EXqna/release/deps/libsignal_hook-5ab13b8a9fd2a7ac.rlib" "/tmp/cargo-install5EXqna/release/deps/libsignal_hook_registry-000bf108f6694ceb.rlib" "/tmp/cargo-install5EXqna/release/deps/libmio-31f5a3c100003dc8.rlib" "/tmp/cargo-install5EXqna/release/deps/liblog-14299aac08bd3d43.rlib" "/tmp/cargo-install5EXqna/release/deps/libserde-de4a71d6f09e2235.rlib" "/tmp/cargo-install5EXqna/release/deps/libparking_lot-fb4ca6b3ab3585ef.rlib" "/tmp/cargo-install5EXqna/release/deps/libparking_lot_core-764632aa92afa807.rlib" "/tmp/cargo-install5EXqna/release/deps/liblibc-305d036d8debb98b.rlib" "/tmp/cargo-install5EXqna/release/deps/libcfg_if-4370f25e8044026f.rlib" "/tmp/cargo-install5EXqna/release/deps/libsmallvec-6822f1aff090781e.rlib" "/tmp/cargo-install5EXqna/release/deps/liblock_api-8e134e90ee75c4c9.rlib" "/tmp/cargo-install5EXqna/release/deps/libscopeguard-0fbd6546da280275.rlib" "/tmp/cargo-install5EXqna/release/deps/libbitflags-a9e4675ae5aaa161.rlib" "/home/privacyfreak/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-d2ef02247056996e.rlib" "/home/privacyfreak/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-fde67f6c4eccaa42.rlib" "/home/privacyfreak/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-2549d0ec992a5666.rlib" "/home/privacyfreak/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-bb9bfc0931d5cad0.rlib" "/home/privacyfreak/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-7c0b91fdc4adc2c5.rlib" "/home/privacyfreak/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-6ec164769e6c2957.rlib" "/home/privacyfreak/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-95326caaef561554.rlib" "/home/privacyfreak/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-704dba0df3717bb7.rlib" "/home/privacyfreak/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-5f0117cb69112303.rlib" "/home/privacyfreak/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-7a95907f1ed0cea5.rlib" "/home/privacyfreak/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-d4aa666f8242aefc.rlib" "/home/privacyfreak/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-9abec8861e966bc7.rlib" "/home/privacyfreak/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-863ac378b60eeb30.rlib" "/home/privacyfreak/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-fc8aa5b7d220f0a9.rlib" "/home/privacyfreak/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0cc850f1e941238d.rlib" "/home/privacyfreak/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-f7b445210e88e768.rlib" "/home/privacyfreak/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-f37052492751c579.rlib" "/home/privacyfreak/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-fd15ec7f305d48e7.rlib" "/home/privacyfreak/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-d700583125da6701.rlib" "-Wl,-Bdynamic" "-lsixel" "-lmpv" "-lssl" "-lcrypto" "-lxcb" "-lxcb-render" "-lxcb-shape" "-lxcb-xfixes" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/home/privacyfreak/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/cargo-install5EXqna/release/deps/youtube_tui-b02b24448fa1006b" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-Wl,--strip-debug" "-nodefaultlibs"
= note: /usr/bin/ld: cannot find -lmpv: No such file or directory
collect2: error: ld returned 1 exit status
error: could not compile `youtube-tui` (bin "youtube-tui") due to 1 previous error
error: failed to compile `youtube-tui v0.8.0`, intermediate artifacts can be found at `/tmp/cargo-install5EXqna`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path
OS: Fedora 40
Compositor: Wayland
I'm getting this error message upon installation:
--> /home/matthew/.cargo/registry/src/github.com-1ecc6299db9ec823/youtube-tui-0.8.0/src/global/structs/mpv.rs:113:14
|
113 | .is_some_and(|s| s.as_str() == "no" || s.as_str() == "false")
| ^^^^^^^^^^^
|
= note: see issue #93050 rust-lang/rust#93050 for more information
For more information about this error, try rustc --explain E0658
.
error: could not compile youtube-tui
due to previous error
warning: build failed, waiting for other jobs to finish...
error: failed to compile youtube-tui v0.8.0
, intermediate artifacts can be found at /tmp/cargo-installqIc8XJ
Can we all please be sensible? Can we please use vim keybinds, let's not be wild men. We are all gentlemen.
Hello,
I'm on NixOS unstable, Hyprland as wm and Kitty as terminal. I can search videos but once I select and hit enter the program hangs on "loading channel details". I did try to switch invidious instance and also disabled images yet the problem persists.
Hope somebody can help
Thanks !
just for tracking issues
Best option is to add stable and testing support.
it can wait the new version of youtube-tui
thx a lot
live streams unable to load caused by an issue in the invidious crate
opening an issue so keep stuff on track
.rustc_info.json:
{"rustc_fingerprint":5936628999909135439,"outputs":{"4614504638168534921":{"success":true,"status":"","code":0,"stdout":"rustc 1.69.0 (84c898d65 2023-04-16)\nbinary: rustc\ncommit-hash: 84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc\ncommit-date: 2023-04-16\nhost: x86_64-pc-windows-msvc\nrelease: 1.69.0\nLLVM version: 15.0.7\n","stderr":""},"15729799797837862367":{"success":true,"status":"","code":0,"stdout":"___.exe\nlib___.rlib\n___.dll\n___.dll\n___.lib\n___.dll\nC:\\Users\\ME\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\npacked\n___\ndebug_assertions\npanic=\"unwind\"\nproc_macro\ntarget_arch=\"x86_64\"\ntarget_endian=\"little\"\ntarget_env=\"msvc\"\ntarget_family=\"windows\"\ntarget_feature=\"fxsr\"\ntarget_feature=\"sse\"\ntarget_feature=\"sse2\"\ntarget_has_atomic=\"16\"\ntarget_has_atomic=\"32\"\ntarget_has_atomic=\"64\"\ntarget_has_atomic=\"8\"\ntarget_has_atomic=\"ptr\"\ntarget_os=\"windows\"\ntarget_pointer_width=\"64\"\ntarget_vendor=\"pc\"\nwindows\n","stderr":""}},"successes":{}}
logs
> cargo install youtube-tui
Updating crates.io index
Installing youtube-tui v0.7.1
Downloaded quote v1.0.27
Downloaded libc v0.2.144
Downloaded tokio v1.28.1
Downloaded 3 crates (1.4 MB) in 46.43s
Compiling autocfg v1.1.0
Compiling cfg-if v1.0.0
Compiling windows_x86_64_msvc v0.42.2
Compiling winapi v0.3.9
Compiling proc-macro2 v1.0.56
Compiling unicode-ident v1.0.8
Compiling quote v1.0.27
Compiling windows-targets v0.42.2
Compiling windows-sys v0.45.0
Compiling scopeguard v1.1.0
Compiling num_cpus v1.15.0
Compiling futures-core v0.3.28
Compiling windows_x86_64_msvc v0.48.0
Compiling futures-sink v0.3.28
Compiling lock_api v0.4.9
Compiling pin-project-lite v0.2.9
Compiling crossbeam-utils v0.8.15
Compiling log v0.4.17
Compiling memoffset v0.8.0
Compiling serde_derive v1.0.162
Compiling windows-targets v0.48.0
Compiling syn v2.0.15
Compiling crossbeam-epoch v0.9.14
Compiling bytes v1.4.0
Compiling itoa v1.0.6
Compiling serde v1.0.162
Compiling windows-sys v0.48.0
Compiling tokio v1.28.1
Compiling slab v0.4.8
Compiling simd-adler32 v0.3.5
Compiling memchr v2.5.0
Compiling smallvec v1.10.0
Compiling futures-task v0.3.28
Compiling socket2 v0.4.9
Compiling mio v0.8.6
Compiling indexmap v1.9.3
Compiling windows-sys v0.42.0
Compiling once_cell v1.17.1
Compiling rayon-core v1.11.0
Compiling parking_lot_core v0.9.7
Compiling syn v1.0.109
Compiling futures-util v0.3.28
Compiling adler v1.0.2
Compiling tracing-core v0.1.30
Compiling crossbeam-deque v0.8.3
Compiling crossbeam-channel v0.5.8
Compiling num-traits v0.2.15
Compiling hashbrown v0.12.3
Compiling fnv v1.0.7
Compiling futures-io v0.3.28
Compiling crc32fast v1.3.2
Compiling bitflags v1.3.2
Compiling futures-channel v0.3.28
Compiling pin-utils v0.1.0
Compiling http v0.2.9
Compiling tracing v0.1.37
Compiling num-integer v0.1.45
Compiling tinyvec_macros v0.1.1
Compiling httparse v1.8.0
Compiling native-tls v0.2.11
Compiling tinyvec v1.6.0
Compiling parking_lot v0.12.1
Compiling tokio-util v0.7.8
Compiling schannel v0.1.21
Compiling miniz_oxide v0.7.1
Compiling crossterm_winapi v0.9.0
Compiling pin-project-internal v1.0.12
Compiling getrandom v0.2.9
Compiling ryu v1.0.13
Compiling percent-encoding v2.2.0
Compiling try-lock v0.2.4
Compiling make-cmd v0.1.0
Compiling either v1.8.1
Compiling bytemuck v1.13.1
Compiling rayon v1.7.0
Compiling sixel-sys v0.3.1
Compiling form_urlencoded v1.1.0
Compiling want v0.3.0
Compiling pin-project v1.0.12
Compiling nanorand v0.7.0
Compiling flate2 v1.0.26
Compiling h2 v0.3.18
Compiling unicode-normalization v0.1.22
Compiling http-body v0.4.5
Compiling spin v0.9.8
Compiling num-rational v0.4.1
Compiling libc v0.2.144
Compiling unicode-bidi v0.3.13
Compiling tower-service v0.3.2
Compiling httpdate v1.0.2
Compiling winreg v0.10.1
Compiling weezl v0.1.7
Compiling idna v0.3.0
Compiling hyper v0.14.26
Compiling flume v0.10.14
Compiling jpeg-decoder v0.3.0
Compiling tokio-native-tls v0.3.1
error: failed to run custom build command for `sixel-sys v0.3.1`
Caused by:
process didn't exit successfully: `C:\Users\ME\AppData\Local\Temp\cargo-install8X04Up\release\build\sixel-sys-3b386df2fdbb0666\build-script-build` (exit code: 101)
--- stdout
cargo:rustc-link-lib=dylib=sixel
cargo:rustc-link-search=native=C:\Users\ME\AppData\Local\Temp\cargo-install8X04Up\release\build\sixel-sys-d83eecf46f53a67e\out\lib
--- stderr
thread 'main' panicked at 'Failed to execute ./configure: Os { code: 2, kind: NotFound, message: "The system cannot find the file specified." }', C:\Users\ME\.cargo\registry\src\github.com-1ecc6299db9ec823\sixel-sys-0.3.1\build.rs:71:22
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: failed to compile `youtube-tui v0.7.1`, intermediate artifacts can be found at `C:\Users\ME\AppData\Local\Temp\cargo-install8X04Up`
Add feature: MPRIS support for control media
i've tried installing via AUR and via Cargo both result in "thread '' panicked at /home/da5id/.cargo/registry/src/index.crates.io-6f17d22bba15001f/youtube-tui-0.8.0/src/global/structs/mpv.rs:28:34:
called Result::unwrap()
on an Err
value: VersionMismatch { linked: 65644, loaded: 131074 }
note: run with RUST_BACKTRACE=1
environment variable to display a backtrace
thread 'main' panicked at /home/da5id/.cargo/registry/src/index.crates.io-6f17d22bba15001f/youtube-tui-0.8.0/src/global/structs/mpv.rs:87:14:
called Result::unwrap()
on an Err
value: SendError { .. }"
anyone got any ideas?
I installed the package on arch linux with cargo, but it doesn't run unless it's run as root:
Error: Os { code: 13, kind: PermissionDenied, message: "Permission denied" }
I have previously done the same on void linux and I haven't needed to use root.
I'm guessing I need to be in some group. Which one is it?
v0.7.4
archlinux
It appears that I'm unable to enter the letters 'j' and 'k' directly into the search bar because they're being interpreted as Vim movement keys instead of literal letters. However, if I hold down the Ctrl or Alt key, I'm able to type these letters as normal. Interestingly, I don't have any issues typing the letters 'h' and 'l'. This problem seems to have started with version 0.7.4.
Hey there, this looks like a great project and I am trying to make it run on Debian 12 via cargo install.
However, I am experiencing a version missmatch error and a thread panic when I try to run youtube-tui
(version 0.8.0) on Debian 12. It looks like the error is related to a discrepancy between the linked and loaded version of the mpv
library. I don't see how to quickly fix this and I am not interested in upgrading or downgrading my mpv setup.
My environment:
After installation of libmpv-dev the installation compiled properly with one warning: warning: the following packages contain code that will be rejected by a future version of Rust: traitobject v0.1.0. When I try to start it from the terminal I run into this error: thread '' panicked at /home/dave/.cargo/registry/src/index.crates.io-6f17d22bba15001f/youtube-tui-0.8.0/src/global/structs/mpv.rs:28:34:
called Result::unwrap()
on an Err
value: VersionMismatch { linked: 65644, loaded: 131072 }
note: run with RUST_BACKTRACE=1
environment variable to display a backtrace
thread 'main' panicked at /home/dave/.cargo/registry/src/index.crates.io-6f17d22bba15001f/youtube-tui-0.8.0/src/global/structs/mpv.rs:89:53:
called Result::unwrap()
on an Err
value: RecvError
I have the full backtrace as an attachment file:
youtube-tui-backtrace.txt
Please let me know if you need any more information. I would love to try it out :-)
Hi, I just installed youtube-tui
and it looks fantastic! I use newpipe, and this seems to offer a similar feature set for term. ๐ฅ ๐ฏ ๐ ๐ฐ โค๏ธ
Anyway, I'm currently working in on a host in tmux on TTY, and the default settings expect GUI. We should document alt settings that do some sort of job supervising, maybe using a youtube-tui
tmux session. I have some experience doing that, and could contrib. Thoughts?
I wanna see what it looks like on the readme.
Hy @Siriusmart
Really liked that you are working on this.
This is more of an question to know if you are interested to collaborate on something similar. I have decided to work again on ytui-music and am currently re-writing it. I believe new codebase will be far more sensible and standard as compared to current (when I was only starting with rust then).
Ytui-music is basically an idea to have a tui to listen to audio from youtube. We will be using mpv to handle playback, reqwest to handle web, invidious as youtube provider. The end goal is to have easy to use and sensible and configurable tui.
Therefore I would like to ask if you are interested in this and help to deliver the goal.
Is it out of the range of possibilities to have embeded video/audio within the youtube-tui interface rather than externally loading mpv?
The readme clams the project is dependency-free, but it looks like their are some dependency, without the project does not work (additional to mpv).
This should be mention.
It happens specifically when trying to open a video from the search bar, and I'm not sure if this is a youtube-tui issue or an issue with youtube spam filters or something similar. What's strange to me tho is that I can click on and watch videos from my subscriptions, bookmarks, and history but just not the search bar. I can open channels from the search bar, tho I frequently get the error "Error: IO error". All this seems to have started recently, within the past few days. I know it's being rewritten so i don't expect these issues to get fixed, moreso I'm reporting them so they might be fixed in the rewrite.
Edit: I forgot to add this to the original post but I can't open videos from the channel page either, even if I'm subscribed.
Edit 2: Major update, it seems that I can only open videos I've watched in the past, regardless of where I open it from, so it seems likely that it's a youtube anti spam feature of some sort that's preventing third party access to the videos
Edit 3: iv-org/invidious#4734 I found this issue being talked about on the invidious github, seems to be a youtube thing
That really would be useful
It would be great to see more common keybinds be added to the TUI, such as:
Ctrl + Backspace
and Ctrl + w
: delete one wordCtrl + u
: clear whole linegg
and G
: go to first and last lineh
and l
: previous page and next page (without prompting, as it currently does)I also think that the following defaults would be an improvement for the UX:
Backspace
keybind in insert mode when in the media options window, that way they don't have to press escape an additional time.Overall, these are somewhat optional changes, so feel free to reject any of them, however they would save the user a few keystrokes here and there, which is always nice.
Additionally, I think the keybinds implementation done in this TUI could serve as a good guideline, I find it quite intuitive to use etc:
https://github.com/aome510/spotify-player/tree/master#commands
Also, as a side note, running youtube-tui help
in the terminal doesn't work, and that's what the user is told to do after running :help
in the TUI.
How to adjust video default resolution as it loads video in high resolution and I have limited bandwidth.
hello, i am using Arch linux with plasma 6.0.5. attempting to start by typing 'youtube-tui` causes this to be printed to the console
additionally, my commands are now blank and most attempts to write a command (almost like its a password, its just hidden), leads the console to read as such
installation went smoothly, had to install 2 dependencies but after those were installed it worked fine. no error message. restarting Konsole is the only way to get it to function again properly
also, while writing this i noticed that 'neofetch' has this output
im sure i likely did something wrong or am missing a dependency, but i installed it as i do all other AUR repos. any help is appreciated. running rust 1.78.0
messagebar.rs:36:33 crashes, i'll prob fix it later
What a great program. Any chance we could get MPRIS support?
Sorry if this has been discussed or announced anywhere, I just couldn't find any information about it, but is the addition of users' youtube accounts planned? Being able to use a TUI application that supports viewing all of the channels you've subscribed to, playlists you have saved and videos you've liked, as well as being able to do those things inside of it, would be amazing.
Hey guys! I have the following question:
This support any terminal? Or it is needed to be a GPU powered like Kitty or Alacrity?
When opening a channel, there are three options: Main, Videos, and Playlists. Main & Playlists have expected behavior, but when selecting Videos, the application returns the following:
invalid type: map, expected a sequence
and no videos are listed.
Environment: manjaro-sway
Rust version: 1.66.1
adding new features to youtube-tui was rough, especially the subscription page caused me to realise what terrible design choices I've made when I began the second rewrite of youtube-tui 2 years ago.
but more importantly, I have a bit of a vision on how TUI apps should be - rather than each apps running on their own, they should share features, allowing embedding of one TUI component within another.
the first step to getting there would be to allow multiple programs to draw to the same terminal, this is the working principle of ccanvas. You can learn more about it by clicking on the url.
Getting the following error on Windows:
...
Compiling tracing v0.1.37
Compiling http-body v0.4.5
Compiling unicode-normalization v0.1.22
error: failed to run custom build command for `sixel-sys v0.3.1`
Caused by:
process didn't exit successfully: `C:\Users\hp\AppData\Local\Temp\cargo-installKvraMG\release\build\sixel-sys-d27a964655ef64b9\build-script-build` (exit code: 101)
--- stdout
cargo:rustc-link-lib=dylib=sixel
cargo:rustc-link-search=native=C:\Users\hp\AppData\Local\Temp\cargo-installKvraMG\release\build\sixel-sys-486666fb75208720\out\lib
--- stderr
thread 'main' panicked at 'Failed to execute ./configure: Os { code: 2, kind: NotFound, message: "The system cannot find the file specified." }', C:\Users\hp\.cargo\registry\src\github.com-1ecc6299db9ec823\sixel-sys-0.3.1\build.rs:71:22
This feels so good for terminal lovers and minimalists.
I'm surprised it is not known, it has 7 version and get has few attraction, I see that you have posted on reddit tho has acquired less attention.
Tbh IMO, i can see it replacing ytfzf.
This tool needs more attention!
Thank you dev for making this possible ;)
Hello!
I tried installing with cargo but I've run into this error:
error: linking with `cc` failed: exit status: 1
note: /usr/bin/ld: cannot find -lmpv: No such file or directory
Any idea what's gone wrong here? Let me know if you need more info.
Thanks so much!
OS-release:
PRETTY_NAME="Ubuntu 22.04.3 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.3 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
Youtube-tui does panic if invidious has popular feed disable:
thread 'main' panicked at 'index out of bounds: the len is 0 but the index is 0', src/items/itemlist.rs:42:16
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
If I enable the popular feed at server youtube-tui does work again.
I have try to disable popular at the page,yml
but this has not fix the problem.
main.yml
:
mouse_support: true
invidious_instance: https://youtube.luckyturtle.dev
max_watch_history: 50
allow_unicode: true
message_bar_default: All good :)
images: Sixels
refresh_after_modifying_search_filters: true
image_index: 4
provider: YouTube
env:
terminal-emulator: alacritty -e
video-player: mpv
download-path: '''~/Downloads/%(title)s-%(id)s.%(ext)s'''
youtube-downloader: yt-dlp
browser: firefox
pages.yml
:
main_menu:
layout:
- type: NonCenteredRow
items:
- SearchBar
- SearchFilters
- type: CenteredRow
items:
# - Popular
- Trending
- History
- type: NonCenteredRow
items:
- ItemList
- type: NonCenteredRow
items:
- MessageBar
message: Loading main menu...
search:
layout:
- type: NonCenteredRow
items:
- SearchBar
- SearchFilters
- type: NonCenteredRow
items:
- ItemList
- type: NonCenteredRow
items:
- MessageBar
message: Loading search results...
singleitem:
layout:
- type: NonCenteredRow
items:
- SearchBar
- SearchFilters
- type: NonCenteredRow
items:
- SingleItemInfo
- type: NonCenteredRow
items:
- MessageBar
message: Loading item details...
channeldisplay:
layout:
- type: NonCenteredRow
items:
- SearchBar
- SearchFilters
- type: CenteredRow
items:
- ChannelMain
- ChannelVideos
- ChannelPlaylists
- type: NonCenteredRow
items:
- ChannelDisplay
- type: NonCenteredRow
items:
- MessageBar
message: Loading channel details...
Are there plans to support ueberzug?
Or how to set the thumbnail quality to a better quality?
Right now with images enabled this application is unusable on kitty as it hangs after searching or accessing history. Kitty's native protocol seems to be much better than sixels. Would there be any support for it?
Maybe I'm missing something but great work on the project but how do I sign in so i can view my personal recommendations?
how would I create a custom command to copy the URL to my clipboard?
The readme claims the project is dependency-free, but it looks like libxcb is also needed.
YouTube Music lets you upload your own music to listen anywhere. Could I theoretically generate some Google API key to access these tracks from the TUI?
I tried playing a playlist containing private files using MPV in a shell and this is the error:
[ytdl_hook] ERROR: [youtube] [video_id_censored]: Private video. Sign in if you've been granted access to this video
[ytdl_hook] youtube-dl failed: unexpected error occurred
Failed to recognize file format.
I'm guessing I would need to configure yt-dlp in some way?
I understand this program is dependency free but it would still be cool to add a tutorial to the documentation as an example of how you can configure this even further.
I went to reply to #28 (comment) and found that it was locked. Not sure if you intend to have your repo configured this way but.. well.. I'll assume good intent for the moment.
already been put onto nixos repos
Yes, it's already in nixpkgs like everything. I was talking about adding a config module to nix home-manager.
i'll close the issue for now as it doesn't seem necessary anymore
Adding example config that doesn't assume a specific terminal emulator is installed still seems very worthwhile, to avoid the need for customization in most cases. Unless one has been added since I filed that.
Again, I don't like to clog an issue queue with a bogus issue, but when closed issues are auto-locked external stakeholders (ie users) are left with little recourse.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.