Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change the mpv binding for rust to something else #6

Open
sudipghimire533 opened this issue Dec 7, 2021 · 3 comments
Open

Change the mpv binding for rust to something else #6

sudipghimire533 opened this issue Dec 7, 2021 · 3 comments

Comments

@sudipghimire533
Copy link
Owner

Ytui-music currently use https://github.com/ParadoxSpiral/libmpv-rs. While it is pretty good but seems like recently, it is not in great sight of author and haven't received any update since 2002.

Also cross compiling of ytui is not possible only because of this crate. So it might be preferable to have something else. I can't find nothing similar so another binding should be created?

If you happen to clash here anytime I would be very much glad to see you pushing it forward.

@gvolpe
Copy link

gvolpe commented Oct 11, 2022

Hi @sudipghimire533 , perhaps this one can help? https://github.com/RustAudio/rodio

it's not a drop-in replacement for mpv but it serves the purpose of playing audio files and it is well maintained.


Unrelated news: I've been trying to package this application for nixpkgs, and even though it builds and runs, I can't get it to play any audio. MPV by itself works fine, though.

Does the application produce any logs when something goes wrong with mpv? I could not find anything.

@sudipghimire533
Copy link
Owner Author

Hello @gvolpe Thanks for your suggestion but rodio will not handle playback from youtube links which mpv does.

Also thank you very much for taking time to package it :)

Currently the app is not producing any logs. You might try playing some other video from ytui-music, When you play something what shows in the bottom status bar.

Also I am working to re-manage this project here, might be of your interest: new.ytui-music

@JuniorSuperTux
Copy link

What about libvlc?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants