orchid - 非常小的音乐播放器

网友投稿 812 2022-11-04 17:07:02

orchid - 非常小的音乐播放器

orchid

“What does an orchid have to do with playing music? You sort of get tons of orchids in the jungle and they require very little water to live. You should name it after some musical instrument, but that's probably already taken.”

Very tiny MP3 player for my needs. Mostly an excuse for me to learn how to use termbox (after being inspired by Brandon Rhode's talk on terminal animations), as well as how to write my own UI loop. Start it up in a directory where there are MP3 files, and orchid will do the rest:

$ git clone https://github.com/eugene-eeo/orchid$ cd orchid$ make install$ cd totally-legit-music$ orchid -h

Ideally ran in a terminal with size 50x8; you could run it on something larger, but it doesn't respond to larger/smaller sizes. You'll need a terminal with true-colour support (see iTerm on OSX) for the album art to display properly.

prerequisites

Requires golang/dep and hajemoshi/oto so make sure you can follow the instructions (especially on Linux/FreeBSD).

screenshots

Screenshots are taken in iTerm with vertical and horizontal margin 15 and title-less windows. Font used is 14px Iosevka Term with the Twilight colour profile.

controls

r toggle repeat song/playlist / to adjust volume pause/playf find mode confirm selection cancel s toggle shuffle moden next trackp prev trackq quit

future plans

Split it in to a client-server architecture (like mpd).More customizable UI.

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:selenium驱动IE常见问题解决Message: Currently focused window has been closed.
下一篇:springboot的日志的默认格式,logback默认日志格式
相关文章