GithubHelp home page GithubHelp logo

Comments (11)

Siriusmart avatar Siriusmart commented on September 7, 2024 1

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.

Siriusmart avatar Siriusmart commented on September 7, 2024 1

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.

Siriusmart avatar Siriusmart commented on September 7, 2024

working on it

from youtube-tui.

Siriusmart avatar Siriusmart commented on September 7, 2024

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.

ryanmusante avatar ryanmusante commented on September 7, 2024

Omg thats awesome! I love it

from youtube-tui.

Siriusmart avatar Siriusmart commented on September 7, 2024
2023-08-23.21-52-35.mp4

case closed, embedded video player stuff will not implement, because it already works perfectly

from youtube-tui.

Siriusmart avatar Siriusmart commented on September 7, 2024

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.

Siriusmart avatar Siriusmart commented on September 7, 2024

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.

ryanmusante avatar ryanmusante commented on September 7, 2024

The issue with keybindings is gone && your work on embedded is amazing! Great work!

from youtube-tui.

ryanmusante avatar ryanmusante commented on September 7, 2024

It's not just good, it's phenomenal!

from youtube-tui.

Siriusmart avatar Siriusmart commented on September 7, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.