Comments (11)
so how it works is that the entire tui rerenders itself every second when a song is playing, as there is no partial rendering feature in the crate im using
this ofc will increase resource usage and stuff, but since the image is only thing that takes resources to render, and it is only rerendered when absolutely nesessary, the performance impact is still near 0
from youtube-tui.
progress update, its done, but still cannot be published to crates.io for reasons
https://github.com/Siriusmart/youtube-tui/releases/tag/v0.8.0
from youtube-tui.
working on it
from youtube-tui.
heres my current progress
prop
and sprop
(set prop) are the custom commands i added, but loadfile
and stop
are default libmpv commands
now all i need to add is a message bar progress line and now-playing info thing, and the rest can be done using command bindings
2023-08-19.15-15-24.mp4
from youtube-tui.
Omg thats awesome! I love it
from youtube-tui.
2023-08-23.21-52-35.mp4
case closed, embedded video player stuff will not implement, because it already works perfectly
from youtube-tui.
so thats latest git, im gonna refine some config and messages (such as the incorrect "player resumed") before pushing to crates.io, oh and i almost forgot to write docs
btw the audio player stops when tui exits, as expected
from youtube-tui.
also if u see the tui panicking when reaching the end of songs, sometimes, just note that its fixed, not commited yet
the error is on this line and it actually happens because there is an integer overflow when seeker len is not large enough, and .repeat()
just decided to put a basically infinitely large string into ram
in short, the current latest git is not stable, you'll most likely get interrupted by crashes every few minutes, so dont use it
from youtube-tui.
The issue with keybindings is gone && your work on embedded is amazing! Great work!
from youtube-tui.
It's not just good, it's phenomenal!
from youtube-tui.
ty, i took some inspirations from other tuis like darkhz's invidtui, who suggested the same feature on reddit a while back but i didnt feel like doing it
anyways enjoy
from youtube-tui.
Related Issues (20)
- 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.