Commit Graph

69 Commits

Author SHA1 Message Date
Andrzej Rybczak
03f6fd904f new screen: mpd server info 2009-10-11 17:03:00 +02:00
Andrzej Rybczak
833f608d60 shorten long names in messages displayed in statusbar 2009-10-10 18:37:53 +02:00
Andrzej Rybczak
b979189111 pass to MPD::Connection::AddSong() another parameter - position to add 2009-10-10 16:23:00 +02:00
Andrzej Rybczak
8a14d08cd9 fix detection if database has been updated 2009-10-08 16:16:47 +02:00
Andrzej Rybczak
b0943c28c2 fix adding songs to playlist (broken by d82498ea) 2009-10-06 11:11:59 +02:00
Andrzej Rybczak
d82498ea16 throw away isConnected variable and use itsConnection instead 2009-10-06 07:18:46 +02:00
Andrzej Rybczak
b0212a3779 fix MPD::Connection::GetDirectories()
they should return only dirs from main dir, not from all subdirs
2009-10-04 16:14:45 +02:00
Andrzej Rybczak
de6db568c1 fix broken compilation due to lack of setters for mpd_song 2009-10-04 16:10:37 +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
08cb912424 fix Connection::AddSong() 2009-09-23 04:12:53 +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
6843b98627 throw away all NULLs and replace them by 0s 2009-08-30 17:43:13 +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
7a85a15ff2 simplify code responsible for adding items with 'a' more 2009-08-25 02:47:05 +02:00
Andrzej Rybczak
f60cc71b91 some MPD::Song improvements and syntax simplifications 2009-07-05 14:13:18 +02:00
Andrzej Rybczak
df051bf674 remove using declarations 2009-07-05 12:19:22 +02:00
Andrzej Rybczak
9dab25e02c use prefix ++ instead of postfix where available 2009-07-04 06:41:35 +02:00
Andrzej Rybczak
2eb913fe22 define MPD::Connection handler as an object, not pointer 2009-07-04 06:07:00 +02:00
Andrzej Rybczak
ff3e90d91d fix database update 2009-06-29 02:19:40 +02:00
Andrzej Rybczak
c4d88133bd do not attempt to change volume if requested value is <0 or >100 2009-06-28 05:25:50 +02:00
Andrzej Rybczak
450bf1b636 initialize screens only if necessary 2009-06-26 18:48:00 +02:00
Andrzej Rybczak
5a2853b36a new feature: outputs screen 2009-05-26 22:07:08 +02:00
Andrzej Rybczak
dd266b0103 new feature: add random songs to playlist 2009-05-24 22:30:02 +02:00
Andrzej Rybczak
4c8a70aef5 do not allow empty search constraints with mpd < 0.14* 2009-04-28 16:33:20 +02:00
Andrzej Rybczak
00dcadcc8a add support for consume mode
info about this feature can be found in mpd docs.
2009-04-01 14:51:09 +02:00
Andrzej Rybczak
7c205e70eb fix displaying update flag ('U') immediately after succesfully sent command 2009-03-27 17:08:15 +01:00
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
2009-03-27 16:40:55 +01:00
Andrzej Rybczak
f78e88e6aa do not fetch status after succesful setvol command, set it locally 2009-03-23 16:30:12 +01:00
Andrzej Rybczak
8e350292ad ...but at first check if there is callback to invoke. 2009-03-22 20:06:03 +01:00
Andrzej Rybczak
9270a83a78 invoke callback immediately after sending update command succesfully 2009-03-22 20:01:39 +01:00
Andrzej Rybczak
ab265f2fdf do not fetch mpd_Stats from mpd as it's unneded 2009-03-22 17:52:27 +01:00
Andrzej Rybczak
d1d1011eeb make function 'clear' in playlist editor clear selected playlist 2009-03-17 18:24:35 +01:00
Andrzej Rybczak
6768e3cdaa change char * to const char * in libmpdclient where appropriate to avoid casts 2009-03-12 18:29:13 +01:00
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.
2009-03-12 17:30:25 +01:00
Andrzej Rybczak
a4599fffe7 speed up browsing media library
the way media library was searching for albums
was wrong and by the way totally inefficient.
2009-03-07 12:26:16 +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
32bac776e7 cleaning 2009-02-17 08:29:40 +01:00
Andrzej Rybczak
ba6c2db0b1 improve resizing 2009-02-16 00:37:03 +01:00
Andrzej Rybczak
9cc1689a71 make changes from 7b6521a3 compatible with <mpd-0.14 2009-01-30 19:47:14 +01:00
Andrzej Rybczak
bf52375fb5 fix adding selected items to playlist 2009-01-19 15:50:04 +01:00
Andrzej Rybczak
542c121e0a add clock screen (ported from ncmpc) 2009-01-17 20:40:28 +01:00
Andrzej Rybczak
0c9e10091f update fsf address and copyright info 2009-01-17 00:52:08 +01:00
Andrzej Rybczak
24c308dac8 convert filenames to current locale if needed / some implementation improvements 2009-01-15 20:34:35 +01:00
Andrzej Rybczak
497f2dd4ff some improvements for handling mpd connection 2008-12-21 18:59:00 +01:00
Andrzej Rybczak
c71f07df6d eliminate remained compiler warnings 2008-12-12 22:50:22 +01:00
Andrzej Rybczak
284dd6a5be update Menu class and related stuff 2008-12-10 17:34:55 +01:00
Andrzej Rybczak
5c0af01cca put mpd connection related things into namespace 2008-12-09 10:16:38 +01:00
Andrzej Rybczak
c64e3a9b3b use size_t instead of int where it's appropriate 2008-11-06 20:07:42 +01:00
unK
beee0bc9d3 add support for browsing local filesystem 2008-10-27 20:35:02 +01:00