HNHacker News
TopNewBestAskShowJobs

_avatar

153 karma · joined May 20, 2017

submissionscomments
_avatar··on Show HN: Musikcube, a terminal-based music player, library, and streaming server
I tried to find some external tooling to help with this, but was unsuccessful. In the end, I just built a (hidden) feature into the app that intercepts and displays the key presses in that little bar on the bottom before dispatching the events to the actual handlers.
_avatar··on Show HN: Musikcube, a terminal-based music player, library, and streaming server
I'd like to add support for various streaming services in the future. There is already a preliminary API that allows plugins to add music to the data store, which can be paired with other plugins that control downloading and decoding of audio data. It should be technically possible with the current system, but I haven't had the time to implement any services yet.
_avatar··on Show HN: Musikcube, a terminal-based music player, library, and streaming server
Not currently; the only client right now is a native Android app[1]. However, the server[2] uses vanilla HTTP (for audio) and WebSockets (for data and eventing), so it should be relatively straight forward to build a web frontend.

[1] https://github.com/clangen/musikcube/tree/master/src/musikdr...

[2] https://github.com/clangen/musikcube/wiki/remote-api-documen...

_avatar··on Show HN: Musikcube, a terminal-based music player, library, and streaming server
These are all common libraries that most distributions should have.

1. "asound" refers to ALSA. 2. "pulse" is PulseAudio 3. "libmp3lame" is LAME

A quick google search looks like these may be the packages you need:

1. alsa-lib-devel 2. pulseaudio and pulseaudio-libs-devel 3. liblame-devel, maybe?

Looks like I'll need to spend some time here soon installing a few more popular distros and figuring out the exact package names.

_avatar··on Show HN: Musikcube, a terminal-based music player, library, and streaming server
Not yet, unfortunately. This is on my list of things to do.

You can however, in most contexts, switch to the "category filter" view by pressing "f" without explicitly engaging command mode. This will switch the view, then focus the search field. So you can type "fcan" and get artist, album, and genre search results for "can". Not ideal, but does work and is still pretty quick.

_avatar··on Show HN: Musikcube, a terminal-based music player, library, and streaming server
Gapless playback should more or less work out of the box for most file formats (flac, ogg, etc). For MP3 files it's still a bit hit-or-miss, and depends on what settings were used when encoding the files. This should improve over time.
_avatar··on Show HN: Musikcube, a terminal-based music player, library, and streaming server
mpd and cmus are both awesome. I found mpd cumbersome to setup, and couldn't find a frontend I liked. cmus was closer to hitting the sweet spot, but I didn't find a remote control (or streaming) solution that worked the way I wanted it to. I also wanted something super lightweight that I could use in Windows without needing to install something like WSL or Cygwin.

In a nutshell: musikcube probably has fewer features than these alternatives, but packages everything together with a clean, straight forward user interface.