Live data from Hacker News

Show HN: Musikcube, a terminal-based music player, library, and streaming server

musikcube.com

21–30 of 85 posts

Re: Show HN: Musikcube, a terminal-based music player, library, and streaming server

#21
So it can only play a handful of the most popular formats and it requires a metric ton of dependencies. Why are you not using ffmpeg? It can handle decoding, encoding, streaming, tagging, filtering and output without any external libraries.

Re: Show HN: Musikcube, a terminal-based music player, library, and streaming server

#22
Clickables:

- Permissively licensed: https://github.com/clangen/musikcube/blob/master/LICENSE.txt

- CMake: https://github.com/clangen/musikcube/blob/master/CMakeLists....

- Lean n' mean plug-in system to support audio codecs and sound systems? Check, https://github.com/clangen/musikcube/tree/master/src/plugins

- CURSES (TUI) C++ abstraction layer: https://github.com/clangen/musikcube/tree/master/src/musikcu.... Based off https://github.com/clangen/cursespp.

- Indexes (a la mpd?): https://github.com/clangen/musikcube/tree/master/src/core/li...

- Cross-platform audio abstraction interfaces? https://github.com/clangen/musikcube/tree/master/src/core/au...

This could stand a chance of uprooting the mpd + ncmpcpp combo that's been pretty standard for many terminal lovers.

That's not even to mention this app also has an android client (https://raw.githubusercontent.com/clangen/clangen-projects-s...), and something looks like it's being cooked up for windows, too: https://github.com/clangen/musikcube/tree/master/src/musikwi...

Amazing skills. Just 2 main contributors: https://github.com/clangen/musikcube/graphs/contributors. If the git history is pristine (information could have been lost/altered during a cross VCS import), the project was also around since at least 2008: https://github.com/clangen/musikcube/tree/b272bf6

Re: Show HN: Musikcube, a terminal-based music player, library, and streaming server

#23
Would be great if it could somehow drag & drop, or have a hack to load the currently selected track in another app such as Traktor. I know this is a weird feature to ask, but I'm looking for something keyboard based to efficiently organize & tag my collection for DJing. Simply bring down a terminal window and select the next song.

Re: Show HN: Musikcube, a terminal-based music player, library, and streaming server

#24
post #9

Unfortunate naming - I used this other graphical MS Windows music player back in high school: https://en.wikipedia.org/wiki/MusikCube EDIT: oh, same developer, so all links are "legitimately" taken over for the new version, and the old version homepage is https://musikcube.com/old/

The Wikipedia page is in serious need of updating. For instance, it's cross-platform with multiple front ends now. clangen seems to be a reliable head developer as well too, so dev status is active.

Re: Show HN: Musikcube, a terminal-based music player, library, and streaming server

#25

Would be great if it could somehow drag & drop, or have a hack to load the currently selected track in another app such as Traktor. I know this is a weird feature to ask, but I'm looking for something keyboard based to efficiently organize & tag my collection for DJing. Simply bring down a terminal window and select the next song.

I use Resonic for that, really fast, not terminal based, but pretty good with waveform support. You can move tracks by drag&drop to folders.

Re: Show HN: Musikcube, a terminal-based music player, library, and streaming server

#27

So it can only play a handful of the most popular formats and it requires a metric ton of dependencies. Why are you not using ffmpeg? It can handle decoding, encoding, streaming, tagging, filtering and output without any external libraries.

This is a great question. Unfortunately I don't have a good answer, at least from a technical standpoint. ffmpeg is super stable, battle tested, and does just about everything.

I think there were a couple reasons we (myself and the original developers) didn't go with ffmpeg initially: (1) we really wanted to learn how to build a medium-sized C++ app from scratch. Passing everything through to ffmpeg sounded boring. (2) it was difficult to build ffmpeg on Windows in 2007, when we started work on the audio engine. (3) ffmpeg is LGPL/GPL licensed. We originally planned on statically linking everything into a single executable, and were worried the LGPL license would require us to change our license to LGPL. We really wanted BSD.

I don't think any of these are concerns anymore. To be honest, I've sat down a couple times to write an ffmpeg decoder plugin, but always get distracted by missing features and end up working on those instead.

All of that said, I think we should consider looking into ffmpeg again sometime soon, for exactly the reasons you've listed.

Re: Show HN: Musikcube, a terminal-based music player, library, and streaming server

#28

Would be great if it could somehow drag & drop, or have a hack to load the currently selected track in another app such as Traktor. I know this is a weird feature to ask, but I'm looking for something keyboard based to efficiently organize & tag my collection for DJing. Simply bring down a terminal window and select the next song.

For tagging and organizing you should definitely check out "beets": http://beets.io
Post reply on HN