Commit Graph

412 Commits

Author SHA1 Message Date
Frank Blendinger
d139f2d8af jump from browser to playlist editor with GoToContainingDir key 2010-03-04 15:13:11 +01:00
Frank Blendinger
6b5ed187a1 add new movement keys: {Up,Down}{Album,Artist} 2010-03-04 15:10:58 +01:00
Andrzej Rybczak
a24736475e put configuration related functions into appropriate structs 2010-02-17 00:15:15 +01:00
Andrzej Rybczak
ad74cfea2e new feature: customizable startup screen 2010-02-13 11:55:59 +01:00
Andrzej Rybczak
4bb1fdb40d simplify code responsible for deleting songs a bit 2010-01-30 18:09:03 +01:00
Andrzej Rybczak
08daa61907 update copyright notices 2010-01-30 16:24:24 +01:00
Andrzej Rybczak
dac2458e1f rename misc.{cpp,h} to sel_items_adder.{cpp,h} 2010-01-30 15:02:41 +01:00
Andrzej Rybczak
f991a41c1a add support for switching between user-defined sequence of screens using Tab 2010-01-24 00:05:03 +01:00
Andrzej Rybczak
4ed9493abd add support for album artist tag 2010-01-23 20:04:02 +01:00
Andrzej Rybczak
df15fe2bf4 add support for adding random artists/albums to playlist 2010-01-22 22:24:44 +01:00
Andrzej Rybczak
ef6719f5bb make media library show more songs (with incomplete tags etc.) 2010-01-05 20:08:30 +01:00
Frank Blendinger
a5882ee27f added a key to jump to a song in the media library
This commit introduces a new key to bind, key_go_to_media_library. It
will switch to the media library and select the song under the cursor.
2010-01-05 10:20:53 +01:00
Andrzej Rybczak
2fb20fd572 add config options for communication mode with mpd (polling for default)
idle support in ncmpcpp is marked experimental since its support
in mpd is not ready for general use in full featured clients
(see bug 2612)
2009-12-23 16:21:11 +01:00
Frank Blendinger
b504b346af screen_switcher between current and last screen
Setting the new config variable "screen_switcher_browser_only" to "no"
will make the "key_screen_switcher" key switch between the current and
the last used screen, sort of like the Alt+Tab window switching
mechanism in many window managers.

This (intendedly) works only for the "main" screens (playlist, browser,
media library, etc.) and not for info/lyrics/server info. Those screens
can be closed with the screen_switcher key, but the will not be
remembered.

indentation correction in config
2009-12-09 00:24:15 +01:00
Andrzej Rybczak
70d1124800 fix refreshing screens with more than one column after seaching/filtering
this bug was caused by db5efc6e
2009-12-06 00:54:50 +01:00
Andrzej Rybczak
6cd420511d perform case insensitive searching in text fields 2009-11-23 20:18:57 +01:00
Andrzej Rybczak
5aa1613cfb make binding responsible for going to parent dir work in tag editor 2009-11-23 19:25:51 +01:00
Andrzej Rybczak
9a5a053ec3 improve handling columns in media library a bit
given column should clear only the first column on its right, not all.
2009-11-13 16:39:43 +01:00
Andrzej Rybczak
495ec25a0a simplify Clear() in Window and its derivatives
it removes argument responsible for immediate refreshing.
since after all calls that were refreshing screen there was
call to Refresh() anyway, this switch doesn't make much sense.
2009-11-13 15:59:18 +01:00
Andrzej Rybczak
5b2dbe026c do not delete items from playlist if sending command delete failed 2009-11-05 22:16:54 +01:00
Andrzej Rybczak
db5efc6eb9 update screen in TraceMpdStatus(), not in the main loop
this makes screen update even if ncmpcpp is in Window::GetString().
2009-10-28 19:21:35 +01:00
Andrzej Rybczak
b9a14e37ab fix screen resize
ncmpcpp was sometimes segfaulting while resizing screen, this commit fixes that.
2009-10-28 15:16:54 +01:00
Andrzej Rybczak
fa9b58627a fix seeking with f/b in visualizer
visualizer specific timeout is too small, so we
need to set it to default value while seeking.
2009-10-27 02:40:40 +01:00
Andrzej Rybczak
95ce4065ae add event handler for MPD_IDLE_OUTPUT notification 2009-10-27 02:30:28 +01:00
Andrzej Rybczak
164d32c079 use one global timer instead of several local ones 2009-10-26 18:14:06 +01:00
Andrzej Rybczak
dd866e9337 fix visualizer 2009-10-25 23:24:12 +01:00
Andrzej Rybczak
b947575528 move code responsible for screen resize to SIGWINCH handler 2009-10-25 22:22:05 +01:00
Andrzej Rybczak
dd04406ee5 poll both stdin and mpd using one select()
this allows for immediate reading mpd events
2009-10-25 20:44:07 +01:00
Andrzej Rybczak
1a3e10dab7 new feature: toggle replay gain mode (requires >=mpd-0.16) 2009-10-23 18:20:52 +02:00
Andrzej Rybczak
62b7df69f3 new feature: refetch lyrics 2009-10-20 00:35:51 +02:00
Andrzej Rybczak
03f6fd904f new screen: mpd server info 2009-10-11 17:03:00 +02:00
Andrzej Rybczak
3551057dbb new feature: sort songs in browser by mtime (optional) 2009-10-10 23:32:05 +02:00
Andrzej Rybczak
b48133a743 change keybinding for changing browse mode
I shouldn't do that, but the old one will be much better for
choosing whether songs in browser have to be sorted by names
or modification date. Besides, binding this to browser key
makes browser behaviour more "compatible" with media library.
2009-10-10 22:32:18 +02:00
Andrzej Rybczak
833f608d60 shorten long names in messages displayed in statusbar 2009-10-10 18:37:53 +02:00
Andrzej Rybczak
6f7b77c84e editing lyrics shouldn't require mpd_music_dir variable to be set 2009-10-06 07:46:50 +02:00
Andrzej Rybczak
f61b4716a2 add support for multiple tags 2009-10-04 21:10:57 +02:00
Andrzej Rybczak
409d60ed18 Merge branch 'libmpdclient2'
Conflicts:
	src/browser.cpp
	src/ncmpcpp.cpp
2009-10-04 16:23:42 +02:00
Andrzej Rybczak
55173cb419 move local_browser variable from settings to Browser class 2009-10-01 00:30:18 +02:00
Andrzej Rybczak
1b2999ef8e fix compilation under mingw32 2009-09-30 23:47:38 +02:00
Andrzej Rybczak
45884e0895 fix a few bugs progressbar related (redrawing, colors) 2009-09-30 18:59:36 +02:00
Andrzej Rybczak
cada9f4355 bold expected keys while waiting for keypress 2009-09-30 16:25:24 +02:00
Andrzej Rybczak
9e20858977 do not show cursor while waiting for only one keypress 2009-09-27 15:50:31 +02:00
Andrzej Rybczak
048fd2ffce refresh status window immediately after prompting user
this fixes #2537.
2009-09-27 15:48:03 +02:00
Andrzej Rybczak
0d9f6fab7d add MPD::Connection::Toggle() and throw away MPD::Connection::Execute() 2009-09-23 05:47:51 +02:00
Andrzej Rybczak
e304a6b7de WIN32 compilation fix 2009-09-23 02:50:10 +02:00
Andrzej Rybczak
66d4883728 fix compilation --with-iconv 2009-09-23 02:45:48 +02:00
Andrzej Rybczak
dec7bd9c0e make ncmpcpp use external libmpdclient (--without-taglib and --without-iconv) 2009-09-22 22:37:33 +02:00
Andrzej Rybczak
70910b77ed make ncmpcpp compile with -fno-exceptions 2009-09-21 06:01:21 +02:00
Andrzej Rybczak
5a887861d7 move code responsible for marking song as now playing to display functions 2009-09-20 23:52:43 +02:00
Andrzej Rybczak
20b0bcc85e define NCURSES_MOUSE_VERSION if pdcurses is used 2009-09-20 18:56:30 +02:00