Commit Graph

65 Commits

Author SHA1 Message Date
5bf0410587
Simplify mpd_process_info()
At a cost but still a win as I see it.
2016-10-13 01:49:56 +02:00
fd1d918832
Clean up library_tab_on_data() 2016-10-13 00:48:02 +02:00
0c65af91d9
First round of Library tab cleanups 2016-10-12 23:45:48 +02:00
e92a23d679
Rename "user actions" to "actions" 2016-10-12 16:06:23 +02:00
0999159b3d
Update README
Add a picture since people like pictures.
2016-10-12 15:51:50 +02:00
ea6b12ba7d
Hack together a Library tab
This needs serious clean up.  Even though it's not the first iteration.
2016-10-12 15:23:38 +02:00
d364f28039
Fix view after playlist update 2016-10-12 15:10:38 +02:00
7b79dc3e57
Try to optimize playlists
I'm not entirely sure about this.
2016-10-12 15:10:32 +02:00
4542bdd239
Move the MPD client interface to liberty
It seems like there aren't going to be any big changes any time soon.
2016-10-11 10:58:38 +02:00
fb75841154
Simplify mpd_client_on_timeout()
No real need to ping the daemon.
2016-10-11 10:58:38 +02:00
b3d9ac2514
Allow switching tabs with just numbers 2016-10-11 10:58:38 +02:00
c0e07ec5d1
Add some actions, implement playlist control 2016-10-11 10:58:14 +02:00
0b9e21c7fe
Fix regression in appearance 2016-10-10 16:30:15 +02:00
d9f992b23d
Add a dumb Current tab 2016-10-10 16:25:16 +02:00
01ab646b11
Clean up initialization a bit 2016-10-10 11:13:52 +02:00
e513102318
Rewrite Streams code to be more asynchronous
Also made cURL troubleshooting easier by adding a debug callback.
2016-10-10 10:40:12 +02:00
29bc035ecf
Ensure UTF-8 when parsing playlists 2016-10-10 10:16:28 +02:00
44e19d68f0
Bump liberty 2016-10-10 07:48:18 +02:00
7944a91707
Factor out an abstraction for cURL multi interface 2016-10-10 07:45:17 +02:00
43da7cd3c9
Generate a manual page
Also mention our fancy new stream feature in the README.
2016-10-09 15:47:25 +02:00
1f565b4d32
Make the Streams tab actually work
Clean up work is required now.
2016-10-09 09:48:47 +02:00
4480d3c0cf
Further simplify terminal output
Most mess has been eliminated now, I believe.

Also fixing a bug in row_buffer_space().
2016-10-07 22:15:46 +02:00
44f114fc3b
Omitted part of the beeping commit 2016-10-07 21:41:32 +02:00
6edf3d945e
Improve row_buffer_ellipsis()
Fixing a minor appearance regression from one of the last commits.
2016-10-07 00:51:49 +02:00
4a1646c7e9
Beep on unhandled events
We have app_quit(), let's use the return booleans for something better.
2016-10-07 00:36:43 +02:00
f9744711b5
Simplify row_buffer_ellipsis() invocation 2016-10-07 00:19:22 +02:00
74e6dd22ff
Factor out stupid column alignment loops 2016-10-06 07:21:36 +02:00
54936c4bcb
Further optimize terminal output
By calling addstr() once instead of several addch() calls.

As a side effect, it's becoming easier to ditch ncurses altogether.
2016-10-06 07:03:51 +02:00
ca38c1d91a
Add CMakeLists.txt, link with cURL
My global .gitignore seems to be more trouble than it's worth.
2016-10-06 03:29:32 +02:00
c6e337e5c5
Add some actions for songs 2016-10-06 03:29:32 +02:00
53ac2cf2c0
Clean up tab code, prepare for custom handlers 2016-10-06 03:29:32 +02:00
2c7e8e3311
Add a non-functional Streams tab
Bump liberty.
2016-10-06 03:29:32 +02:00
dff58b1c16
Fill the Info tab with actual information 2016-10-05 02:54:43 +02:00
d723f9523f
Fix regression in Home/End handling 2016-10-05 02:53:09 +02:00
16a19282cb
Some further shuffling and renaming 2016-10-05 01:55:06 +02:00
a59f0b237e
Rearrange code
I need to update tabs from MPD message handlers.
2016-10-05 01:13:48 +02:00
319d0faffa
Don't advance the timer when not playing
Stupid regression.
2016-10-05 00:13:15 +02:00
515d11114b
Postpone redraws
This solves a performance problem in debug mode.

But overall the has been simplified, with some renames taking place.
2016-10-04 23:44:43 +02:00
07e3aafd84
Simplify some terminal output 2016-10-04 22:40:58 +02:00
fec9f83cbc
Optimize row_buffer
It was one of two obvious hotspots.
2016-10-04 21:32:13 +02:00
859c9d2737
Enhance time tracking
Now with eliminated timer drift.
2016-10-04 18:33:14 +02:00
87f5eddea0
Bump termo, use termo_strpkey_utf8() 2016-10-04 13:27:48 +02:00
4a5be612c5
Stubplement an Info tab, make Help special 2016-10-04 07:13:24 +02:00
8dff378617
Fix crash when not in debug mode 2016-10-04 06:47:30 +02:00
ac2c7d5108
Make the help tab useful 2016-10-04 06:43:24 +02:00
2b77d65d4b
Add alternative bindings for home/end 2016-10-04 06:17:50 +02:00
93e76a2221
Fix display of >=60 minute songs 2016-10-04 06:17:27 +02:00
1e39ae52c5
Make the debug tab prettier
And the MPD code a little bit more generic.
2016-10-03 19:43:51 +02:00
91b6a799c8
Handle mouse clicks on the scrollbar 2016-10-03 08:26:17 +02:00
49c6a31742
Add a scrollbar 2016-10-03 08:14:43 +02:00