Andrzej Rybczak
1a7fd6d332
update window title only when playlist or songid changed
2009-03-13 15:11:59 +01:00
Andrzej Rybczak
a20469b403
never get full playlist from mpd, always request for changes
2009-03-13 12:58:17 +01:00
Andrzej Rybczak
c7689d72d6
improve playlist updating
...
the case when sizes of mpd's and ncmpcpp's are equal is redundant.
what is more, it caused unneded overhead, because it was comparing
whole playlists. plchanges commands returns only songs that have
really changed, so this piece of code was simply wrong.
2009-03-12 21:26:56 +01:00
Andrzej Rybczak
502ce9be6a
handle now playing song properly
...
np song was sometimes wrongly taken, if user was moving items in playlist.
fix this by taking it directly from mpd, but do this as seldom as possible.
2009-03-12 21:24:00 +01:00
Andrzej Rybczak
0aa36f3fb2
move Global::Timer to Playlist class
2009-03-12 20:20:26 +01:00
Andrzej Rybczak
eed4fb03ff
use CamelCase for variables in Global namespace / some cleaning
2009-03-08 01:58:49 +01:00
Andrzej Rybczak
b9cbacebff
new function: stop playing after current song
2009-03-01 11:26:39 +01:00
Andrzej Rybczak
2856d5cd78
make playlist's stats scrollable, also display remaining time on demand
2009-02-20 15:30:30 +01:00
Andrzej Rybczak
3b32d84a76
make Playlist::NowPlayingSong() return pointer, not reference
2009-02-19 00:00:31 +01:00
Andrzej Rybczak
b210d3f270
change var = time(NULL) to time(&var)
2009-02-18 20:12:40 +01:00
Andrzej Rybczak
f162a7b880
new feature: playlist sorting (Ctrl-V by default)
2009-02-18 20:08:50 +01:00
Andrzej Rybczak
5d2daab416
new feature: apply filter to screen (Ctrl-F)
...
if one applies a filter, only items that contain this
filter will be displayed. works on all screens.
2009-02-17 17:57:55 +01:00
Andrzej Rybczak
32f959d1ec
use streams instead of Window::WriteXY()
2009-02-16 19:32:43 +01:00
Andrzej Rybczak
ba6c2db0b1
improve resizing
2009-02-16 00:37:03 +01:00
Andrzej Rybczak
f9cdfa5d2b
another externs removed
2009-02-15 23:08:15 +01:00
Andrzej Rybczak
26365d9832
rename status_checker -> status / + some cleaning
2009-02-15 22:56:41 +01:00