Commit Graph

138 Commits

Author SHA1 Message Date
Matthew Hague
67550d4607 mpd: fix fetching mtime in getDirectoryRecursive
getdirectoryrecursive was using mpd_recv_song after a listall
including directories, changed to use mpd_recv_entity instead
(else incorrect mtime reported)
2014-08-25 04:53:54 +02:00
Andrzej Rybczak
4db97e5502 mpd: make Status/Statistics accessors inlineable 2013-05-27 23:48:54 +02:00
Andrzej Rybczak
7deeecee20 get rid of Playlist::PlayNewlyAddedSongs / correct adding songs in Media Library 2013-05-17 16:55:50 +02:00
Andrzej Rybczak
2f9ab8f267 mpdpp: make all consumers take values, not rvalue references 2013-05-17 15:18:17 +02:00
Andrzej Rybczak
2880ac950e mpdpp: make it possible to send playlist_delete command in commands list
this fixes #3749
2013-04-27 19:18:21 +02:00
Andrzej Rybczak
2184fb7c73 get rid of global mpd status object 2013-04-07 17:29:32 +02:00
Andrzej Rybczak
1d4e006986 update copyright info 2013-04-07 13:31:58 +02:00
Andrzej Rybczak
6a3eb73a49 rewrite communication system with mpd 2013-04-07 13:22:50 +02:00
Andrzej Rybczak
ead12406e3 actions: new action: set_volume 2013-04-06 14:07:35 +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
63413368c8 remove remaining exclamation marks from messages 2012-09-11 21:53:35 +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
5e8d1673e0 implement ProxySongList for handling general operations on lists 2012-09-02 20:51:20 +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
4cb0e2232a fix compilation --without-taglib 2012-08-29 09:07:55 +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
a270fc8402 rewrite MPD::Song object 2012-08-28 00:09:39 +02:00
Andrzej Rybczak
e729ab0a38 playlist: rewrite sorting so it's much less cryptic 2012-08-14 23:56:39 +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
efbcb31f04 fix bug #3424 (crash when adding amount of random songs equal to total number of songs) 2012-03-17 16:28:55 +01:00
Andrzej Rybczak
d338fad9ec fix copypaste bug from previous commit 2012-01-15 14:05:48 +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
e0eff99175 mpd: do not rely on idle event itself in case of playlist change 2010-08-18 18:23:54 +02:00
Andrzej Rybczak
7c75be82bd browser: if current dir doesn't exists, go down one level automatically 2010-08-10 00:11:44 +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
3b39d417a1 if connection to mpd is lost, change mpd state to unknown 2010-03-25 00:26:01 +01:00
Andrzej Rybczak
6b396bfbf2 fix error codes handling
MPD_ERROR_* and MPD_SERVER_ERROR_* flags can have the same
value, so we need to store it separately in error_code.
2010-03-23 22:56:14 +01: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
a27332a825 get rid of using directives
these in ncmpcpp.cpp stay since a lot of memebers are used.
2010-01-22 19:17:35 +01:00