Commit Graph

264 Commits

Author SHA1 Message Date
Přemysl Eric Janouch 627cb0dee9
Add and bind backward/forward seeks 2017-06-05 19:57:00 +02:00
Přemysl Eric Janouch 77c78d8866
Fix a little glitch 2017-06-05 19:50:04 +02:00
Přemysl Eric Janouch 7b41ae1658
Simplify view code
Now we beep if selection movement is impossible.

It still looks a bit more obfuscated than it needs to be.
2017-06-05 19:39:06 +02:00
Přemysl Eric Janouch e62c41f4a1
Use the ARRAY abstraction 2017-06-05 18:59:23 +02:00
Přemysl Eric Janouch b050113eed
Show playlist length time
Now we look distinctly Sonata-like.
2017-06-05 18:51:18 +02:00
Přemysl Eric Janouch 0541b7e179
Uncapitalize cURL errors 2017-06-05 13:05:33 +02:00
Přemysl Eric Janouch 99f2117d4c
Implement L/M/H bindings 2017-06-05 01:24:10 +02:00
Přemysl Eric Janouch 8c260c3fc3
Only display enabled options 2017-06-05 01:09:55 +02:00
Přemysl Eric Janouch a343156930
Show the current path in Library
The UI code is totally ad-hoc and ugly.
2017-06-05 00:56:34 +02:00
Přemysl Eric Janouch 2223680504
Add interface for database updates 2017-06-05 00:18:53 +02:00
Přemysl Eric Janouch 92f350ef04
Stop eating errors
Instead show them up in the status bar with a timeout.
2017-06-04 23:58:04 +02:00
Přemysl Eric Janouch c4965726f4
Add a basic statusbar
Unfortunately so far the user can't toggle the options.
2017-06-04 23:08:36 +02:00
Přemysl Eric Janouch e808d06651
Cleanup 2017-06-04 04:32:30 +02:00
Přemysl Eric Janouch 939c9e2d5e
Bump liberty 2017-06-04 04:32:30 +02:00
Přemysl Eric Janouch 8c3b0670ce
Remember the position when browsing Library 2017-06-04 04:32:30 +02:00
Přemysl Eric Janouch e8a0864ead
Add an attribute for directories
Completely overrides row colors though.
2017-06-04 04:32:29 +02:00
Přemysl Eric Janouch 57b4a9688d
Only change path when we get its contents 2017-06-04 04:32:25 +02:00
Přemysl Eric Janouch 653ff1373f
Don't default to negative selection 2017-06-04 03:04:35 +02:00
Přemysl Eric Janouch 86b87bee74
Cleanup 2017-06-04 03:04:35 +02:00
Přemysl Eric Janouch 5721074b48
Make backspace go up a level 2017-06-03 23:33:08 +02:00
Přemysl Eric Janouch a1436318b6
Improve SIGWINCH handling 2017-06-03 23:03:38 +02:00
Přemysl Eric Janouch b7975dac8e
Update README 2017-06-03 23:02:53 +02:00
Přemysl Eric Janouch a1548bed00
Fix and update LICENSE 2017-02-03 23:09:25 +01:00
Přemysl Eric Janouch f9c85e3ef2
Don't show "playing" when we don't know 2017-01-29 18:21:27 +01:00
Přemysl Eric Janouch 4cc079b6b6
Fix segfault on insufficient privileges 2017-01-29 18:18:58 +01:00
Přemysl Eric Janouch 87a738161a
Factor out app_fitting_items() 2017-01-29 17:56:59 +01:00
Přemysl Eric Janouch d95eb500f7
ATTRIBUTE_HEADER -> ATTRIBUTE_NORMAL 2017-01-29 17:55:50 +01:00
Přemysl Eric Janouch 993fe3f2d6
g_ctx -> g
Because it's just plain noise.  But I still enjoy the indicator.
2017-01-29 15:26:55 +01:00
Přemysl Eric Janouch 36e726eca0
Resolve the APP_ATTR situation 2017-01-29 15:17:35 +01:00
Přemysl Eric Janouch 5939c7135a
Handle disconnects better
Reset all state and update the UI.
2017-01-29 15:03:00 +01:00
Přemysl Eric Janouch ae67595c3e
Rewrite mpd_update_playback_state()
- no longer make destructive changes to the state
 - use "duration" and support millisecond precision
 - clean up
2017-01-28 01:53:57 +01:00
Přemysl Eric Janouch efc14a94f0
Trivial source code fixes 2017-01-27 23:53:09 +01:00
Přemysl Eric Janouch e0f005a723
Travis CI: brevify notifications 2017-01-27 23:52:21 +01:00
Přemysl Eric Janouch acd6e32983
Fix memory leaks in uses of the MPD_SIMPLE macro 2017-01-24 16:25:42 +01:00
Přemysl Eric Janouch 912b424515
Use binary search for key bindings 2017-01-24 16:23:20 +01:00
Přemysl Eric Janouch 9697898b42
Update copyright years 2017-01-24 00:18:03 +01:00
Přemysl Eric Janouch 30498ff856
Fix visual regression 2017-01-24 00:12:46 +01:00
Přemysl Eric Janouch f76b060dc2
Mark some memory leaks to be fixed 2017-01-23 23:32:59 +01:00
Přemysl Eric Janouch a1e9d660bd
Bump liberty 2017-01-23 23:32:30 +01:00
Přemysl Eric Janouch fc5981a361
Cleanup 2017-01-17 19:29:39 +01:00
Přemysl Eric Janouch e22eb22d29
Add .travis.yml 2017-01-17 19:26:32 +01:00
Přemysl Eric Janouch 4aea3239b9
Improve double click detection 2016-11-20 23:15:28 +01:00
Přemysl Eric Janouch 1fa2ddbdfd
Fix launch w/o configuration 2016-11-20 23:14:47 +01:00
Přemysl Eric Janouch b9a27cf187
Use case insensitive ordering 2016-10-23 18:51:07 +02:00
Přemysl Eric Janouch 214c6e848b
Show song length in the playlist 2016-10-23 01:01:07 +02:00
Přemysl Eric Janouch 1a1347839c
Handle double clicks on items 2016-10-13 14:03:17 +02:00
Přemysl Eric Janouch 62ac29993e
Nicer playlist 2016-10-13 02:03:32 +02:00
Přemysl Eric Janouch a8deb3c218
Factor out mpd_parse_kv() 2016-10-13 01:50:00 +02:00
Přemysl Eric Janouch 62a08ad4d3
Clean up mpd_process_info(), bump liberty
"command_list_ok_begin" allows us to partition the response easily.
2016-10-13 01:50:00 +02:00
Přemysl Eric Janouch 5bf0410587
Simplify mpd_process_info()
At a cost but still a win as I see it.
2016-10-13 01:49:56 +02:00