aboutsummaryrefslogtreecommitdiffstats
path: root/src/command (follow)
Commit message (Collapse)AuthorAgeFilesLines
* SongLoader: new class that merges duplicate codeMax Kellermann2014-02-032-56/+33
| | | | | There was quite a lot of duplicate code for loading DetachedSong objects, with different semantics for "securely" loading local files.
* FileCommands: use PathTraitsUTF8::IsAbsolute()Max Kellermann2014-02-031-1/+1
|
* ClientFile: move client_allow_file() into the Client classMax Kellermann2014-02-023-7/+4
|
* db: add compile-time option to disable databaseMax Kellermann2014-01-307-4/+56
|
* OtherCommands: merge duplicate code from handle_update(), handle_rescan()Max Kellermann2014-01-301-31/+10
|
* db/update: convert to OO APIMax Kellermann2014-01-302-8/+23
| | | | | Move global variables into the new classes. That may allow multiple update threads for multiple databases one day.
* db/Directory: move isRootDirectory() to Uri.hxxMax Kellermann2014-01-291-1/+1
| | | | Decouple command/OtherCommands.cxx from the "simple" database plugin.
* sticker: don't use classes Directory and SongMax Kellermann2014-01-291-11/+4
| | | | | Don't depend on the "simple" database plugin. This fixes an assertion failure / crash and allows using stickers with other plugins.
* OutputAll: convert to class, move instance to class PartitionMax Kellermann2014-01-283-18/+14
| | | | Another big chunk of code for multi-player support.
* Playlist{Info,Vector}: move to db/Max Kellermann2014-01-272-2/+2
|
* NeighborCommands: convert assertion to runtime checkMax Kellermann2014-01-261-1/+5
|
* neighbor: new subsystem to detect file servers on the local networkMax Kellermann2014-01-263-0/+98
| | | | | | | | | | | | | This commit adds the NeighborPlugin API which can be used to detect nearby file servers that can be used by input plugins. This list of servers is exported using the new "listneighbors" command. The idle even "neighbor" notifies interested clients when a new neighbor is found or an existing one is lost. There's a lot missing currently: protocol&user documentation, and a way to "mount" remote servers into the music database. Obviously, some code from the UPnP database plugin can be moved to a neighbor plugin.
* Mixer*: move to mixer/Max Kellermann2014-01-242-2/+2
|
* Database*: move to db/Max Kellermann2014-01-247-15/+15
|
* Sticker*: move to sticker/Max Kellermann2014-01-242-4/+4
|
* Client*: move to client/Max Kellermann2014-01-2410-14/+14
|
* Update*: move to update/Max Kellermann2014-01-242-2/+2
|
* decoder/*: move to decoder/plugins/Max Kellermann2014-01-241-1/+1
|
* output/*: move to output/plugins/Max Kellermann2014-01-232-3/+3
|
* playlist/*: move to playlist/plugins/Max Kellermann2014-01-231-1/+2
|
* LightDirectory: new struct replacing Directory in the DB APIMax Kellermann2014-01-221-0/+1
|
* LightSong: new class to be used by DatabasePlugin callbacksMax Kellermann2014-01-191-5/+5
| | | | | Detach the Song class completely from the public API, only to be used by SimpleDatabase and the update thread.
* DetachedSong: add method Update()Max Kellermann2014-01-151-5/+4
| | | | | Don't create an intermediate Song instance when all we want is a DetachedSong.
* copyright year 2014Max Kellermann2014-01-1327-27/+27
|
* SongUpdate: move code to handle_lsinfo()Max Kellermann2014-01-081-5/+17
| | | | | Don't create a temporary Song object in handle_lsinfo(). Instead, print all tags while parsing the remote file.
* SongSticker: use Song referencesMax Kellermann2014-01-081-5/+5
|
* command: "lsinfo" and "readcomments" allowed for remote filesMax Kellermann2013-12-292-0/+44
|
* TagFile: pass reference instead of pointerMax Kellermann2013-12-291-1/+1
|
* system/SocketError, ...: use strerror() instead of g_strerror()Max Kellermann2013-12-151-4/+3
| | | | Avoid GLib.
* command: add commands "addtagid", "cleartagid"Max Kellermann2013-12-023-0/+114
|
* include cleanup using iwyuMax Kellermann2013-11-286-16/+0
|
* ClientRead: "close" flushes the output bufferMax Kellermann2013-11-062-1/+7
| | | | | | Add a new CommandResult code called "FINISH" which, unlike "CLOSE", will attempt to flush the output buffer. This is a one-shot attempt; it will do one write, and not try again.
* *: update copyright year to 2013Max Kellermann2013-10-3015-15/+15
|
* PlayerCommands: show CrossFade/MixRamp only if enabledMax Kellermann2013-10-301-4/+10
|
* Revert "command: new commands "findin", "searchin" with base URI"Max Kellermann2013-10-293-25/+4
| | | | | | | This reverts commit a577944ab5a1f4d688e5901fa3efaf7cd1673588. Will be replaced by new options for the old commands "search" and "find".
* *: use nullptr instead of NULLMax Kellermann2013-10-282-3/+3
|
* command: new commands "findin", "searchin" with base URIMax Kellermann2013-10-263-4/+25
|
* FileCommands: "readcomments" understands APE and ID3v2 tagsMax Kellermann2013-10-261-0/+5
| | | | Implements Mantis ticket 3843.
* FileCommands: fix wrong control character check in IsValidValue()Max Kellermann2013-10-261-1/+1
| | | | Check was the wrong way around, and made all valid values invisible.
* TagFile: use Path instead of const char *Max Kellermann2013-10-261-1/+1
|
* command: new command "readcomments" lists arbitrary file tagsMax Kellermann2013-10-253-0/+154
|
* OtherCommands: re-add the "volume" commandMax Kellermann2013-10-253-0/+37
| | | | | | This command was removed by commit 206392ad (MPD 0.16), even though it was been proven useful for some very simple clients. On request, I add it to the protocol again.
* Util/ASCII: add function StringEqualsCaseASCII()Max Kellermann2013-10-201-3/+2
| | | | Replaces GLib's g_ascii_strcasecmp().
* *Commands: move to src/command/Max Kellermann2013-10-2023-0/+3197