Andrzej Rybczak
f8151904f5
update copyright dates
2012-03-17 16:46:55 +01:00
Andrzej Rybczak
e8f08ea884
fix bug 3409 (there was no '$' char escaping in statusbar for current song)
2011-12-29 17:58:55 +01:00
Andrzej Rybczak
4a8cfcb187
fixes for overwriting not mergable screen displayed on top of merged ones
2011-11-19 20:07:51 +01:00
Andrzej Rybczak
4cd95d6c8d
playlist: disable highlighting if screen is visible (and not necessarily active)
2011-11-13 16:04:30 +01:00
Andrzej Rybczak
56467eaac6
new feature: support for merging screens together
2011-11-12 19:47:47 +01:00
Andrzej Rybczak
ca956c3da3
update copyright dates
2011-11-01 13:43:47 +01:00
Andrzej Rybczak
d9bc1c0950
new feature: support for fetching lyrics for currently playing song in background
2011-10-18 23:15:32 +02:00
Andrzej Rybczak
0db01b7429
status: fix drawing progressbar if third character was not specified
2010-08-24 17:30:01 +02:00
Andrzej Rybczak
80d6b36917
status: fix drawing progressbar if third character is non-ascii
2010-08-24 16:38:00 +02:00
Andrzej Rybczak
a66ab40c25
settings: make progressbar_look support 'empty' part of progressbar
2010-08-22 16:36:47 +02:00
Andrzej Rybczak
3bb3607399
lyrics: pass wrapper around member function to new thread
...
+ some more code refactoring
2010-08-10 01:32:34 +02:00
Andrzej Rybczak
7cd6508496
lyrics: general code refactoring
2010-08-10 01:12:59 +02:00
Andrzej Rybczak
7c75be82bd
browser: if current dir doesn't exists, go down one level automatically
2010-08-10 00:11:44 +02:00
Andrzej Rybczak
b6e6ab1f61
fix statusbar scrolling speed with idle mode and bitrate displayed
...
with this combination scrolling was twice as fast as it should be.
2010-04-30 01:47:47 +02:00
Andrzej Rybczak
e6757c4b20
visualizer: set refresh rate to 0.5 sec if mpd is not playing
2010-04-01 13:34:06 +02:00
Andrzej Rybczak
6b396bfbf2
fix error codes handling
...
MPD_ERROR_* and MPD_SERVER_ERROR_* flags can have the same
value, so we need to store it separately in error_code.
2010-03-23 22:56:14 +01:00
Andrzej Rybczak
80290c183b
reload lyrics with single mode active if track is changed with ncmpcpp
2010-03-09 00:47:58 +01:00
Andrzej Rybczak
6df8ae1694
make displaying volume level in statusbar optional
2010-02-26 21:37:48 +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
9e5700cfd0
fix redrawing bottom line with alternate UI and mpd stopped
2010-01-26 03:48:01 +01:00
Andrzej Rybczak
a27332a825
get rid of using directives
...
these in ncmpcpp.cpp stay since a lot of memebers are used.
2010-01-22 19:17:35 +01:00
Andrzej Rybczak
0d05a550c2
display 'U' in status flags while update is running if idle support is off
2010-01-04 00:22:22 +01:00
Andrzej Rybczak
43dcc8bd54
fix refreshing player state with classic user interface
2009-12-23 16:37:56 +01:00
Andrzej Rybczak
73f9c8c320
display message properly
2009-12-20 21:54:25 +01:00
Andrzej Rybczak
5f6f915a3a
switch from selected items adder to old screen if db was updated
...
not doing so inctroduces a very obscure bug: db update forces modification
of browser, media library etc by clearing them and letting theirs Update()
function populate them. but since selected items adder is active at the
moment, this function is never called and we end up trying to add songs
from screen that is empty, which in most cases leads to an out_of_range
exception being thrown.
2009-12-19 00:27:00 +01:00
Andrzej Rybczak
055cf43af3
handle update "properly" (as it's possible) with <mpd-0.16
...
<mpd-0.16 doesn't support MPD_IDLE_UPDATE, so we need another
extra hack to support that. This whole idle things really starts
to pissing me off.
2009-12-19 00:19:14 +01:00
Andrzej Rybczak
d2d716fd35
fix updating bitrate of current song
2009-12-06 01:21:53 +01:00
Andrzej Rybczak
fdb9bfcd4f
remove a piece of code that was overwriting statusbar without any checks
...
maybe it made a difference in the past, but it's redundant now.
2009-11-13 19:34:08 +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
d4fddf4466
update directory after db update only if current screen is browser
2009-11-13 15:26:17 +01:00
Andrzej Rybczak
c6e26e121f
do not ask if one wants to enter password, just ask for password
2009-11-08 19:34:10 +01:00
Andrzej Rybczak
0a95aebd7c
improve elapsed time handling
...
this also throws away hack that was used to count elapsed
time locally while polling mpd, it's not needed anymore.
2009-10-30 20:04:47 +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
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
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
3e99bba5b8
use idle notifications instead of polling mpd all the time
2009-10-25 02:25:51 +02:00
Andrzej Rybczak
75c4c791fd
clear and refresh statusbar immediately after unlock if mpd is stopped
2009-10-23 02:37:57 +02:00
Andrzej Rybczak
aebc5db0e1
fix segfault that occured if mpd was stopped and window had to be resized
...
we all love null pointer dereferences, don't we?
some methods from Song class need assertion guards to deal with that.
2009-10-11 01:59:09 +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
e84a8ddf98
set max progressbar width to screen width
2009-09-30 19:34:55 +02:00
Andrzej Rybczak
45884e0895
fix a few bugs progressbar related (redrawing, colors)
2009-09-30 18:59:36 +02:00
Andrzej Rybczak
01c138e680
make sure null pointer won't be dereferenced
...
Song::Empty() does the check.
2009-09-23 04:28:26 +02:00
Andrzej Rybczak
e304a6b7de
WIN32 compilation fix
2009-09-23 02:50:10 +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
5a887861d7
move code responsible for marking song as now playing to display functions
2009-09-20 23:52:43 +02:00
Andrzej Rybczak
ad685091bc
rename Menu::BoldOption() to Menu::Bold()
2009-09-19 02:44:44 +02:00
Andrzej Rybczak
2f971147b1
change all Mpd.GetState </> psPlay/psStop to (!)Mpd.isPlaying()
2009-09-18 02:17:30 +00:00