Nowadays listen to favorite songs are not easy. For online services, the copyrights are owned by several different softwares and websites. Local player becomes the best choice.
As a contributor of GOMU(https://github.com/issadarkthing/gomu), I met serious problems during development. The main problem is data race condition. So I basically rewrite the player in rust, and hope to solve the problem.
As for now, mp3 and m4a are supported. m4a is not fully tested as I have no itune musics downloaded. Please help testing it if possible.
Need gstreamer and related plugins installed to play mp3/m4a. Please check below:
gstreamer
gstreamer-plugins-base(gst-plugins-base)
gstreamer-plugins-good(gst-plugins-good)
gstreamer-plugins-bad(gst-plugins-bad)
gstreamer-plugins-ugly(gst-plugins-ugly)
Optionally you need youtube-dl installed to download mp3 from youtube.
cargo install termusic
Or install manually:
git clone https://github.com/tramhao/termusic.git
cd termusic
make
make install
~/.local/share/cargo/bin/termusic
GPLv3 for netease api code under src/lyric/netease. MIT License for other code.