Andrzej Rybczak
efe2a52382
fix header guards
2012-10-02 16:19:04 +02:00
Andrzej Rybczak
1e335fae02
media library: optimize update
2012-10-02 02:21:56 +02:00
Andrzej Rybczak
9a292ca20d
mpd: make functions take item consumer instead of returning vector of items
2012-10-01 20:44:22 +02:00
Matthew Hague
b487f10f10
media library: add support for sorting by mtime
2012-09-20 20:31:18 +02:00
Andrzej Rybczak
b57428db90
mdp: remove GetCurrentlyPlayingSongPos
2012-09-18 21:34:14 +02:00
Andrzej Rybczak
fcf9ffe668
mpd: separate statistics
2012-09-06 14:46:51 +02:00
Andrzej Rybczak
0147a24add
mpd: adjust indentation
2012-09-06 13:31:07 +02:00
Andrzej Rybczak
a351d07eff
actions: get deleting/cropping/clearing playlists right
2012-09-04 22:56:24 +02:00
Andrzej Rybczak
bb121fbe01
make playlist and playlist editor share code responsible for moving items
2012-09-04 18:14:37 +02:00
Andrzej Rybczak
d47cad1d50
get rid of 'using namespace NCurses' directive
2012-09-02 15:37:42 +02:00
Andrzej Rybczak
6f59a175ec
implement HasSongs interface
2012-09-02 13:52:26 +02:00
Andrzej Rybczak
b77466cc38
browser: read tags from local songs
2012-08-29 18:45:58 +02:00
Andrzej Rybczak
a20a195225
mpd: use lambda closures instead of passing vectors to functions
2012-08-28 06:01:56 +02:00
Andrzej Rybczak
397783d701
reduce usage of pointers / replace std::pair in SearchEngine
2012-08-28 02:44:08 +02:00
Andrzej Rybczak
2096181eb1
playlist editor: disallow cropping/clearing filtered playlists
2012-08-14 18:54:55 +02:00
Andrzej Rybczak
77a3c73d9c
make displayed messages more consistent
2012-08-14 18:18:36 +02:00
Andrzej Rybczak
dad2bba13e
optimize a bit adding playlists/directories to playlist
2012-08-14 17:15:18 +02:00
Andrzej Rybczak
bab756c579
add support for priorities (queueing)
2012-08-14 16:09:45 +02:00
Andrzej Rybczak
2d57f15cad
remove some hacky shit
2012-08-14 01:51:10 +02:00
Andrzej Rybczak
181224b837
keybinding system rewrite
2012-08-14 01:44:14 +02:00
Andrzej Rybczak
a14b77338d
jump to current song at startup even if it's not currently played
2012-07-13 23:25:25 +02:00
Andrzej Rybczak
f8151904f5
update copyright dates
2012-03-17 16:46:55 +01:00
Andrzej Rybczak
57511bb941
local browser: properly check if file extension is supported
2012-01-15 13:23:07 +01:00
Andrzej Rybczak
ca956c3da3
update copyright dates
2011-11-01 13:43:47 +01:00
Andrzej Rybczak
c63780e6e6
support adding last.fm streams to playlist
2010-08-23 17:13:45 +02:00
Andrzej Rybczak
1735a8c7db
handle possible errors while saving playlist properly
2010-08-22 22:04:57 +02:00
Andrzej Rybczak
9c02bbf596
media library/tag editor: block idle while doing hierarchical searches
...
idle should be blocked in such cases since it would be enabled and
disabled a few times by each mpd command, which makes no sense and
slows down the whole process.
2010-06-17 16:41:49 +02:00
Andrzej Rybczak
230b6ae3e3
make MPD::Connection::Version() return integer instead of float
...
full version is always 0.xx.0, where xx is current
version of protocol, so why bother with zeros...
2010-04-01 12:54:05 +02:00
Andrzej Rybczak
08daa61907
update copyright notices
2010-01-30 16:24:24 +01:00
Andrzej Rybczak
df15fe2bf4
add support for adding random artists/albums to playlist
2010-01-22 22:24:44 +01:00
Andrzej Rybczak
153081158d
add support for built-in mpd searching in search engine
2010-01-22 21:35:34 +01:00
Andrzej Rybczak
ef6719f5bb
make media library show more songs (with incomplete tags etc.)
2010-01-05 20:08:30 +01:00
Andrzej Rybczak
2fb20fd572
add config options for communication mode with mpd (polling for default)
...
idle support in ncmpcpp is marked experimental since its support
in mpd is not ready for general use in full featured clients
(see bug 2612)
2009-12-23 16:21:11 +01:00
Andrzej Rybczak
5b2dbe026c
do not delete items from playlist if sending command delete failed
2009-11-05 22:16:54 +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
95ce4065ae
add event handler for MPD_IDLE_OUTPUT notification
2009-10-27 02:30:28 +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
e112e0d975
use select() instead of poll() as it's portable
2009-10-25 03:25:26 +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
1a3e10dab7
new feature: toggle replay gain mode (requires >=mpd-0.16)
2009-10-23 18:20:52 +02:00
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
d82498ea16
throw away isConnected variable and use itsConnection instead
2009-10-06 07:18:46 +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
dec7bd9c0e
make ncmpcpp use external libmpdclient (--without-taglib and --without-iconv)
2009-09-22 22:37:33 +02:00
Andrzej Rybczak
2f971147b1
change all Mpd.GetState </> psPlay/psStop to (!)Mpd.isPlaying()
2009-09-18 02:17:30 +00:00
Andrzej Rybczak
30b8622776
get total time from mpd status, not from currently playing track
...
it seems that even if track info doesn't provide total track length,
mpd status does, which allows for seeking and displaying progressbar.
2009-09-09 18:32:57 +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