Comments (8)
I went for the same approach, added a new option saying how config files should be loaded here, as well as a few stacked changes not pushed to crates.io.
I tested it on some read only config files, see if it works on ur machine
(also having a stroke staring at code ive not touched for a few months)
from youtube-tui.
Hahaaa, You need to share this again to r/unixporn and r/commandline and even r/linux.
This deserves more appreciation!
You did it very quickly, Cheers ;)
(I have informed bugswriter about this tool, Should see if he can do a shout out on YT)
from youtube-tui.
Thanks, I originally made this for a more usable ytfzf alternative to post of r/unixporn.
To show this point, it does things the way ytfzf do thing - it uses invidious, and plays videos using mpv
I didn't post much about this on reddit as it is missing a feature or two, say subscriptions and running blocking commands (the second is done on github but idk why i didnt push it to crates.io)
from youtube-tui.
I encountered a weird issue, If i have read-only (#o444) config (yml) file, youtube-tui gives me an weird error.
I do it because that is how i manage my dotfiles via org-mode tangle.
Also with this, it breaks the shell prompt and there is misalignment.
Also, running youtube-tui -h
or youtube-tui -help
it gives black screen.
Stats:
Distro - Nixos (unstable)
pkg-Version - 0.7.0
Using wayland (hyprland)
Terminal - Foot
Shell - Zsh
Prompt - Starship
from youtube-tui.
Ok here's what's happening.
- App launches, attempting to load the config files.
- So how it loads the config is that it reads the file, then it writes to the file using default formatting, adding new options and stuff.
- Here it fails to write to the config files, so it just decide to not load the config file at all.
- Because of bad coding, it didn't see any problems with not loading config files.
- Now the TUI starts, and tries to get the config file contents, its not there and so it panics.
- And then your terminal gets screwed up because the restore terminal function is not ran, it just exits.
You cannot fix this problem by editing config files, as they are not read in the first place, so just wait for an update.
Also, the command for help is youtube-tui help
, running youtube-tui [anything else]
will just replace the default launch command
from youtube-tui.
also another thing, i dont really understand orgmode tangle and stuff, but how do you get the config files in the first place if the program dont have write permission?
from youtube-tui.
Ah nice, thanks for quick reply on this!
Org-mode is a different story, Its something like "literate config" where i have source code blocks and documenting texts.
When i execute "tangle" it puts every source code block to the file i mention.
So my flow, is I have single org file to manage all my dotfiles.
Maybe you can direct writing some config to some location/file, say "saved.yml"
No need to force on this, let it work as it seems best.
I see that i can expand this program like scripting with env
in main.yml and run commands.yml
Surely this can go very extensible.
Thank you, as I said earlier, Man oh Man, this needs more attention. Its super fast and works as expected!
from youtube-tui.
oh ok, ty again
from youtube-tui.
Related Issues (20)
- Feature request embedded audio and video HOT 11
- does this have a youtube live chat feature? HOT 1
- How to change video resolution HOT 1
- cargo install fails on Ubuntu 22.04 HOT 4
- Cannot install on mac m2 HOT 4
- use of unstable library feature 'is_some_and' HOT 7
- Feature request: MPRIS support HOT 4
- Version Mismatch Error and Thread Panic on Debian 12 HOT 3
- MPRIS HOT 1
- youtube-tui is being rewritten HOT 6
- How to sign in? HOT 4
- crashing on install HOT 1
- crash HOT 2
- Support for kitty graphics protocol
- Freezing immediately after doing almost anything HOT 3
- Not compiling HOT 3
- Add debian packages HOT 1
- attempting to open annihilates console HOT 5
- Getting error "Invalid Request: This helps protect our community. Learn more" HOT 1
- youtube-tui hangs on "loading channel details" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from youtube-tui.