Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Do not run cURL fully synchronously | Přemysl Eric Janouch | 2021-12-08 | 1 | -42/+54 | |
| | | | | The improvement is very minor in character. | |||||
* | Add rudimentary incremental search facility | Přemysl Eric Janouch | 2021-12-08 | 1 | -2/+52 | |
| | ||||||
* | Clean up mpd_process_info() better | Přemysl Eric Janouch | 2021-12-07 | 1 | -9/+9 | |
| | ||||||
* | Do not jump to beginning after unqueueing | Přemysl Eric Janouch | 2021-12-07 | 1 | -0/+13 | |
| | | | | | Instead, assume that the whole previously selected range has been removed, and try to go after or before it accordingly. | |||||
* | Clean up unreadable code | Přemysl Eric Janouch | 2021-12-07 | 1 | -12/+11 | |
| | ||||||
* | Do not show both volumes if unnecessary | Přemysl Eric Janouch | 2021-11-16 | 1 | -18/+32 | |
| | | | | Also, make it apparent which value comes from where. | |||||
* | Fix the comment for settings.pulseaudio | Přemysl Eric Janouch | 2021-11-08 | 1 | -1/+1 | |
| | ||||||
* | Generate actions from a text file | Přemysl Eric Janouch | 2021-11-08 | 1 | -111/+5 | |
| | | | | | | | Mostly because I wanted to nest preprocessing. This makes the build more complex and slightly less portable, but the code itself is much cleaner. | |||||
* | Add ability to control PulseAudio volume | Přemysl Eric Janouch | 2021-11-07 | 1 | -69/+456 | |
| | | | | | | | | I know, son, it might be hard to accept, but you're imported. Your true parents are wmstatus and paswitch, from the desktop-tools family. Also, fix unnecessary linking of optional dependencies. | |||||
* | Add a comment about the music directory | Přemysl Eric Janouch | 2021-11-07 | 1 | -0/+1 | |
| | ||||||
* | Do not beep on focus changes | Přemysl Eric Janouch | 2021-11-04 | 1 | -3/+5 | |
| | ||||||
* | CMakeLists.txt: fix macOS build | Přemysl Eric Janouch | 2021-11-02 | 1 | -2/+0 | |
| | ||||||
* | Add clang-format configuration | Přemysl Eric Janouch | 2021-10-30 | 1 | -1/+1 | |
| | ||||||
* | Fix the line editor/spectrum analyser interaction | Přemysl Eric Janouch | 2021-10-21 | 1 | -0/+6 | |
| | | | | The updater assumed the terminal cursor was invisible. | |||||
* | Add program arguments to MPD's current playlist | Přemysl Eric Janouch | 2021-09-07 | 1 | -10/+79 | |
| | | | | | | | | I was tired of using `mpv --no-video`, this is a bit better. It's all rather quirky, but very little code is involved. I've added a few related TODO entries. | |||||
* | Clean up connection initialisation | Přemysl Eric Janouch | 2021-09-06 | 1 | -10/+10 | |
| | | | | | | | Also, do not set up the spectrum visualiser before a password is sent. It would look a bit weird to have it run but display "Disconnected", even though technically, it would probably work. | |||||
* | Improve terminal initialisation | Přemysl Eric Janouch | 2021-09-06 | 1 | -3/+3 | |
| | | | | | | | | | | | | | Don't just abort() on failures, print a proper error message. Also, set up ncurses as late as possible. This should be alright wrt. signal handlers according to ncurses code, as well as XSI: > Curses implementations may provide for special handling of > the SIGINT, SIGQUIT and SIGTSTP signals if their disposition > is SIG_DFL at the time initscr is called ... termo blocks job control, so SIGTSTP is not a concern at all. | |||||
* | Spetrum analyser: expand my favourite comment | Přemysl Eric Janouch | 2021-07-09 | 1 | -1/+2 | |
| | ||||||
* | Spectrum analyser: add some useful comments | Přemysl Eric Janouch | 2021-07-09 | 1 | -0/+4 | |
| | ||||||
* | Spectrum analyser: optimise the x:16:2 case | Přemysl Eric Janouch | 2021-07-08 | 1 | -8/+21 | |
| | | | | | | | | nncmpp CPU usage went from 2 to 1.7 percent, a 15% improvement. Sort of worth it, given that it's a constant load. The assembly certainly looks nicer. | |||||
* | Rectify an obsolete comment | Přemysl Eric Janouch | 2021-07-08 | 1 | -1/+1 | |
| | ||||||
* | Expand the last comment once again | Přemysl Eric Janouch | 2021-07-08 | 1 | -0/+1 | |
| | ||||||
* | Expand the comment on spectrum frequency filtering | Přemysl Eric Janouch | 2021-07-05 | 1 | -2/+11 | |
| | ||||||
* | Silence a compiler warning | Přemysl Eric Janouch | 2021-07-05 | 1 | -1/+2 | |
| | | | | The statement can be eliminated, then it suggests braces. | |||||
* | Add an optional spectrum visualiser | Přemysl Eric Janouch | 2021-07-05 | 1 | -0/+464 | |
| | | | | | | This is really more of a demo. It's doable, just rather ugly. It would deserve some further tuning, if anyone cared enough. | |||||
* | Update a comment about mouse modes | Přemysl Eric Janouch | 2021-07-04 | 1 | -2/+2 | |
| | | | | We might even depend on termo now more than is stated. | |||||
* | Process focus events | Přemysl Eric Janouch | 2021-06-29 | 1 | -3/+17 | |
| | | | | Should help prevent accidents in other windows. | |||||
* | Minor clarifications | Přemysl Eric Janouch | 2020-11-05 | 1 | -1/+3 | |
| | ||||||
* | Comment the "poll_elapsed_time" option | Přemysl Eric Janouch | 2020-10-24 | 1 | -0/+6 | |
| | ||||||
* | Show song duration in the library | Přemysl Eric Janouch | 2020-10-24 | 1 | -4/+11 | |
| | | | | | | | | Ideally we'd make columns configurable, which isn't trivial. This brings the "Current" and "Library" tabs closer together. Closes #2 | |||||
* | Skip playlists in lsinfo responses | Přemysl Eric Janouch | 2020-10-24 | 1 | -4/+11 | |
| | | | | Instead of merging the fields into other items. | |||||
* | Refactor the library tab, track duration | Přemysl Eric Janouch | 2020-10-24 | 1 | -66/+73 | |
| | | | | | | The `struct strv` was clunky, it's better to store items directly in the format we use for all processing. The additional memory cost is negligible. | |||||
* | Use '-' instead of '?' for unknown duration | Přemysl Eric Janouch | 2020-10-24 | 1 | -34/+33 | |
| | | | | | | | | It is less distracting. Also use mpd_read_time() and load "duration" as well. This value isn't rounded to whole seconds, so we load it before "time" as a fail-safe measure. | |||||
* | Improve the MPD time parser | Přemysl Eric Janouch | 2020-10-24 | 1 | -9/+18 | |
| | | | | | | - reject negative values, which strtoul() happily accepts - deal with an arbitrary number of decimal digits - don't return milliseconds when we fail to parse seconds | |||||
* | Bind M-Up to the "up" action | Přemysl Eric Janouch | 2020-10-23 | 1 | -0/+1 | |
| | | | | Taken from Windows Explorer, which abandoned the Backspace binding. | |||||
* | Cleanup | Přemysl Eric Janouch | 2020-10-23 | 1 | -25/+30 | |
| | | | | No functional change. | |||||
* | Avoid jumping around in polling mode | Přemysl Eric Janouch | 2020-10-23 | 1 | -7/+18 | |
| | | | | | | | | While still avoiding busy loops. It works well enough to enable this by default. Closes #1 | |||||
* | Add a comment and update another one | Přemysl Eric Janouch | 2020-10-18 | 1 | -0/+4 | |
| | ||||||
* | Give up and implement elapsed time polling | Přemysl Eric Janouch | 2020-10-18 | 1 | -4/+35 | |
| | | | | | | | | | | | Playback may sometimes stall but it won't produce any events. This popular workaround likes to jump around, though. It might be a good idea to use some kind of hybrid approach. Therefore this is disabled by default so far. Updates #1 | |||||
* | Explain the ticking mechanism | Přemysl Eric Janouch | 2020-10-18 | 1 | -1/+7 | |
| | | | | Took time to read. Also fix an invalid comment. | |||||
* | Bump liberty and termo | Přemysl Eric Janouch | 2020-10-10 | 1 | -10/+6 | |
| | ||||||
* | Make direct SHOUTcast streams work again | Přemysl Eric Janouch | 2020-10-10 | 1 | -0/+4 | |
| | | | | | | Might be an issue specific to my bbc-on-ice, since we're not asking for SHOUTcast by including "Icy-MetaData: 1" in request headers but the proxy always outputs an "ICY 200 OK" header. | |||||
* | Remove unnecessary quotes from macro definitions | Přemysl Eric Janouch | 2020-09-20 | 1 | -73/+73 | |
| | | | | The behaviour is defined by the standard. | |||||
* | Support iterating tabs with C-PgUp/Down and C-Left/Right | Přemysl Eric Janouch | 2020-09-07 | 1 | -7/+29 | |
| | ||||||
* | Support vi-like scrolling with C-y and C-e | Přemysl Eric Janouch | 2020-08-01 | 1 | -0/+2 | |
| | ||||||
* | Name change | Přemysl Eric Janouch | 2020-08-01 | 1 | -1/+1 | |
| | ||||||
* | Workaround cURL bug | Přemysl Janouch | 2019-02-24 | 1 | -0/+3 | |
| | ||||||
* | Fix unmarking behaviour, cleanup | Přemysl Janouch | 2018-10-29 | 1 | -18/+26 | |
| | ||||||
* | Allow moving multiple items in the Current tab | Přemysl Janouch | 2018-10-29 | 1 | -13/+29 | |
| | ||||||
* | Remove an outdated comment | Přemysl Janouch | 2018-10-29 | 1 | -1/+0 | |
| |