sudipghimire533 / ytui-music

Youtube client in terminal for music ( lightweight youtube client )
GNU General Public License v2.0
467 stars 19 forks source link

Change the mpv binding for rust to something else #6

Open sudipghimire533 opened 2 years ago

sudipghimire533 commented 2 years ago

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 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

What about libvlc?