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
Andrzej Rybczak
ad685091bc
rename Menu::BoldOption() to Menu::Bold()
2009-09-19 02:44:44 +02:00
Andrzej Rybczak
3bdb798852
clean NCurse::List class a bit and remove a few redundant functions
2009-09-19 01:18:41 +02:00
Andrzej Rybczak
2f971147b1
change all Mpd.GetState </> psPlay/psStop to (!)Mpd.isPlaying()
2009-09-18 02:17:30 +00:00
Andrzej Rybczak
8109d26daf
refresh main screen only if necessary
2009-09-17 00:59:30 +00:00
Andrzej Rybczak
ff84ba8d9d
reverse evaluation order so SetFormatting() won't be invoked if findme is empty
2009-09-16 22:25:40 +00:00
Andrzej Rybczak
6723808c4f
remove wrapper for Scrollpad::SetFormating() used with --enable-unicode
2009-09-16 22:21:17 +00:00
Andrzej Rybczak
d7491f8acb
limit trigger for mouse actions to prevent execution of the same action twice
2009-09-09 21:47:38 +02:00
Andrzej Rybczak
30b8622776
get total time from mpd status, not from currently playing track
...
it seems that even if track info doesn't provide total track length,
mpd status does, which allows for seeking and displaying progressbar.
2009-09-09 18:32:57 +02:00
Andrzej Rybczak
3108fbf0c0
fix two minor bugs with colors
...
1. I used statusbar_color instead of header_color by accident
2. state_line_color has to be explicitely turned off before setting new color
2009-09-06 12:55:46 +02:00
Andrzej Rybczak
56be1cb753
make Window::SetColor protected as it doesn't respect stacked colors
...
it should only be used internally by Window and derives.
2009-09-06 12:51:48 +02:00
Andrzej Rybczak
3aa0f6a03b
make color of separators used in alternative user interface customizable
2009-09-06 12:15:39 +02:00
Andrzej Rybczak
b5445bfe5b
remove myPlaylist->EnableHighlighing() since it's not needed here anymore
...
myPlaylist->Sort() doesn't block main loop anymore.
2009-09-06 10:48:27 +02:00
Andrzej Rybczak
6843b98627
throw away all NULLs and replace them by 0s
2009-08-30 17:43:13 +02:00
Andrzej Rybczak
0a22debf0e
block displaying elapsed time while seeking properly (alternative ui)
2009-08-30 06:53:15 +02:00
Andrzej Rybczak
762f233b96
do not destroy screen at exit if pdcurses library is used
2009-08-30 06:48:01 +02:00
Andrzej Rybczak
0959336040
move TinyTagEditor class to separate file / a bit of code cleaning
2009-08-30 06:37:53 +02:00
Andrzej Rybczak
18e611bee2
make sorting window use main ncmpcpp loop
2009-08-30 02:47:46 +02:00
Andrzej Rybczak
4f3040e0ec
move code responsible for adding selected items to playlists to misc.cpp
2009-08-29 23:53:36 +02:00
Andrzej Rybczak
ab54ceaf71
do not display '>' char if progressbar's width is equal to screen's width
2009-08-29 21:34:24 +02:00
Andrzej Rybczak
7c593fa90c
make visualizer work after mpd restart
2009-08-29 21:21:20 +02:00
Andrzej Rybczak
75f9f840f7
new screen: music visualizer
2009-08-28 00:38:29 +02:00
Andrzej Rybczak
bc1a8a2d1a
allow for unicode characters in progressbar_look
2009-08-26 18:13:33 +02:00
Andrzej Rybczak
b13479e014
do not restrict statusbar_visibility option if alternative ui is active
2009-08-26 05:11:20 +02:00