Andrzej Rybczak
3710d3bafd
fix blocking playlist update
17 years ago
Andrzej Rybczak
ffbcfb7e18
poll mpd once per second, no need to do it more often
17 years ago
Andrzej Rybczak
cf3746f301
always poll mpd twice per second
17 years ago
Andrzej Rybczak
b58864e682
fix bolding np song with 'repeat one' function enabled
17 years ago
Andrzej Rybczak
1e511d1d8d
fix now playing update if playlist is filtered
17 years ago
Andrzej Rybczak
aad83e9b6c
fix clearing statusbar if playing is stopped
17 years ago
Andrzej Rybczak
1a7fd6d332
update window title only when playlist or songid changed
17 years ago
Andrzej Rybczak
a20469b403
never get full playlist from mpd, always request for changes
17 years ago
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.
17 years ago
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.
17 years ago
Andrzej Rybczak
0aa36f3fb2
move Global::Timer to Playlist class
17 years ago
Andrzej Rybczak
eed4fb03ff
use CamelCase for variables in Global namespace / some cleaning
17 years ago
Andrzej Rybczak
b9cbacebff
new function: stop playing after current song
17 years ago
Andrzej Rybczak
2856d5cd78
make playlist's stats scrollable, also display remaining time on demand
17 years ago
Andrzej Rybczak
3b32d84a76
make Playlist::NowPlayingSong() return pointer, not reference
17 years ago
Andrzej Rybczak
b210d3f270
change var = time(NULL) to time(&var)
17 years ago
Andrzej Rybczak
f162a7b880
new feature: playlist sorting (Ctrl-V by default)
17 years ago
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.
17 years ago
Andrzej Rybczak
32f959d1ec
use streams instead of Window::WriteXY()
17 years ago
Andrzej Rybczak
ba6c2db0b1
improve resizing
17 years ago
Andrzej Rybczak
f9cdfa5d2b
another externs removed
17 years ago
Andrzej Rybczak
26365d9832
rename status_checker -> status / + some cleaning
17 years ago
Andrzej Rybczak
9dd21b7653
get rid of some externs
17 years ago
Andrzej Rybczak
e6bd98e0a7
general code cleaning
17 years ago
Andrzej Rybczak
17352e821c
change namespace Lyrics into class
17 years ago
Andrzej Rybczak
d6a6bca3e6
change namespace TagEditor into class
17 years ago
Andrzej Rybczak
7148762b0c
change namespace PlaylistEditor into class
17 years ago
Andrzej Rybczak
5a06f2a4fc
change namespace MediaLibrary into class
17 years ago
Andrzej Rybczak
111652e2d6
change namespace SearchEngine into class
17 years ago
Andrzej Rybczak
11622b7ba5
remove extern int now_playing
17 years ago
Andrzej Rybczak
8653232a2a
change namespace Browser into class
17 years ago
Andrzej Rybczak
6e167d67e2
change namespace Playlist into class
17 years ago
Andrzej Rybczak
29301aefd5
move all externs to global.h
17 years ago
Andrzej Rybczak
cecb11c3d8
move WindowTitle() to local unnamed namespace
17 years ago
Andrzej Rybczak
f9f5149b76
includes cleaning
17 years ago
Andrzej Rybczak
4943dea1d3
do not display mpd password in clear text
17 years ago
Andrzej Rybczak
5e757ff999
fix/improve detecting playlist's changes
17 years ago
Andrzej Rybczak
9cc1689a71
make changes from 7b6521a3 compatible with <mpd-0.14
17 years ago
Andrzej Rybczak
542c121e0a
add clock screen (ported from ncmpc)
17 years ago
Andrzej Rybczak
0c9e10091f
update fsf address and copyright info
17 years ago
Andrzej Rybczak
24c308dac8
convert filenames to current locale if needed / some implementation improvements
17 years ago
Andrzej Rybczak
42172bff2d
set lock_statusbar_delay to -1 to prevent entering this section all the time
17 years ago
Andrzej Rybczak
0d9aea79c2
convert id3 tags, directories and playlist names to current locale if needed
...
notice: this feature needs unicode disabled.
17 years ago
Andrzej Rybczak
3b91f57ef7
refresh header window only if it really exists
17 years ago
Andrzej Rybczak
d92dde1fb1
move some functions from helpers to status_checker
17 years ago
Andrzej Rybczak
b4d8c273bb
remove unnecessary, commented out code
17 years ago
Andrzej Rybczak
8785f77b18
update window title if elapsed time changes
17 years ago
Andrzej Rybczak
a84067d1ab
put scrolling code into function and use it also in lyrics screen
17 years ago
Andrzej Rybczak
e4ce0d9c95
fix deleting last item from playlist if playing
17 years ago
Andrzej Rybczak
f787895054
comment out usage of redraw_screen variable (it's not needed for now)
17 years ago