Andrzej Rybczak
dd04406ee5
poll both stdin and mpd using one select()
...
this allows for immediate reading mpd events
17 years ago
Andrzej Rybczak
e112e0d975
use select() instead of poll() as it's portable
17 years ago
Andrzej Rybczak
3e99bba5b8
use idle notifications instead of polling mpd all the time
17 years ago
Andrzej Rybczak
1a3e10dab7
new feature: toggle replay gain mode (requires >=mpd-0.16)
17 years ago
Andrzej Rybczak
03f6fd904f
new screen: mpd server info
17 years ago
Andrzej Rybczak
833f608d60
shorten long names in messages displayed in statusbar
17 years ago
Andrzej Rybczak
b979189111
pass to MPD::Connection::AddSong() another parameter - position to add
17 years ago
Andrzej Rybczak
8a14d08cd9
fix detection if database has been updated
17 years ago
Andrzej Rybczak
b0943c28c2
fix adding songs to playlist (broken by d82498ea)
17 years ago
Andrzej Rybczak
d82498ea16
throw away isConnected variable and use itsConnection instead
17 years ago
Andrzej Rybczak
b0212a3779
fix MPD::Connection::GetDirectories()
...
they should return only dirs from main dir, not from all subdirs
17 years ago
Andrzej Rybczak
de6db568c1
fix broken compilation due to lack of setters for mpd_song
17 years ago
Andrzej Rybczak
0d9f6fab7d
add MPD::Connection::Toggle() and throw away MPD::Connection::Execute()
17 years ago
Andrzej Rybczak
08cb912424
fix Connection::AddSong()
17 years ago
Andrzej Rybczak
dec7bd9c0e
make ncmpcpp use external libmpdclient (--without-taglib and --without-iconv)
17 years ago
Andrzej Rybczak
6843b98627
throw away all NULLs and replace them by 0s
17 years ago
Andrzej Rybczak
4f3040e0ec
move code responsible for adding selected items to playlists to misc.cpp
17 years ago
Andrzej Rybczak
7a85a15ff2
simplify code responsible for adding items with 'a' more
17 years ago
Andrzej Rybczak
f60cc71b91
some MPD::Song improvements and syntax simplifications
17 years ago
Andrzej Rybczak
df051bf674
remove using declarations
17 years ago
Andrzej Rybczak
9dab25e02c
use prefix ++ instead of postfix where available
17 years ago
Andrzej Rybczak
2eb913fe22
define MPD::Connection handler as an object, not pointer
17 years ago
Andrzej Rybczak
ff3e90d91d
fix database update
17 years ago
Andrzej Rybczak
c4d88133bd
do not attempt to change volume if requested value is <0 or >100
17 years ago
Andrzej Rybczak
450bf1b636
initialize screens only if necessary
17 years ago
Andrzej Rybczak
5a2853b36a
new feature: outputs screen
17 years ago
Andrzej Rybczak
dd266b0103
new feature: add random songs to playlist
17 years ago
Andrzej Rybczak
4c8a70aef5
do not allow empty search constraints with mpd < 0.14*
17 years ago
Andrzej Rybczak
00dcadcc8a
add support for consume mode
...
info about this feature can be found in mpd docs.
17 years ago
Andrzej Rybczak
7c205e70eb
fix displaying update flag ('U') immediately after succesfully sent command
17 years ago
Andrzej Rybczak
5f41640cd9
handle single command and remove hacks used as substitute for it
...
mpd-git has single command, which provides functionality
of both "repeat one" and "stop after current track" modes.
repeat one = single && repeat
stop after current track = single && !repeat
17 years ago
Andrzej Rybczak
f78e88e6aa
do not fetch status after succesful setvol command, set it locally
17 years ago
Andrzej Rybczak
8e350292ad
...but at first check if there is callback to invoke.
17 years ago
Andrzej Rybczak
9270a83a78
invoke callback immediately after sending update command succesfully
17 years ago
Andrzej Rybczak
ab265f2fdf
do not fetch mpd_Stats from mpd as it's unneded
17 years ago
Andrzej Rybczak
d1d1011eeb
make function 'clear' in playlist editor clear selected playlist
17 years ago
Andrzej Rybczak
6768e3cdaa
change char * to const char * in libmpdclient where appropriate to avoid casts
17 years ago
Andrzej Rybczak
24c37eb592
do not store commands list in MPD::Connection
...
it should have sent commandlist begin and end commands from the beginning,
having separated functions just to handle queueing commands was plainly ugly.
17 years ago
Andrzej Rybczak
a4599fffe7
speed up browsing media library
...
the way media library was searching for albums
was wrong and by the way totally inefficient.
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
32bac776e7
cleaning
17 years ago
Andrzej Rybczak
ba6c2db0b1
improve resizing
17 years ago
Andrzej Rybczak
9cc1689a71
make changes from 7b6521a3 compatible with <mpd-0.14
17 years ago
Andrzej Rybczak
bf52375fb5
fix adding selected items to playlist
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
497f2dd4ff
some improvements for handling mpd connection
17 years ago
Andrzej Rybczak
c71f07df6d
eliminate remained compiler warnings
18 years ago