aboutsummaryrefslogtreecommitdiffstats
path: root/src/input (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | input/curl: move _easy_init() into the CurlInputStream classMax Kellermann2014-03-151-30/+30
| |
* | input/curl: pass std::string&& to HeaderReceived()Max Kellermann2014-03-151-25/+8
| | | | | | | | Code simplification.
* | input/curl: move code to CurlInputStream methodsMax Kellermann2014-03-151-178/+231
| |
* | input/curl: rename "error" to "error_buffer"Max Kellermann2014-03-151-3/+3
| |
* | input/curl: rename struct input_curl to CurlInputStreamMax Kellermann2014-03-151-32/+32
| |
* | InputPlugin: allow init() to soft-failMax Kellermann2014-03-026-16/+65
| | | | | | | | | | Add enum InputResult which is a tri-state. Input plugins may now fail and just become unavailable.
* | util/{Const,Writable}Buffer: add operator[]Max Kellermann2014-03-011-1/+1
| |
* | input/curl: include cleanupMax Kellermann2014-02-221-1/+0
| |
* | input/nfs: move nfs_domain to lib/nfs/Domain.cxxMax Kellermann2014-02-081-3/+1
| |
* | ArchivePlugin: pass Path to open()Max Kellermann2014-02-081-1/+2
| |
* | ArchivePlugin: rename struct archive_plugin to ArchivePluginMax Kellermann2014-02-081-1/+1
| |
* | */smbclient: protect all libsmbclient calls with a mutexMax Kellermann2014-02-061-0/+9
| | | | | | | | | | libsmbclient is not thread-safe nor reentrant. We must protect all function calls with a global mutex, unfortunately.
* | input/nfs: new plugin using libnfsMax Kellermann2014-02-063-0/+234
| |
* | input/smbclient: move code to lib/smbclient/Init.cxxMax Kellermann2014-01-251-19/+2
| |
* | ConfigGlobal: add config_find_block()Max Kellermann2014-01-241-34/+1
| | | | | | Merge duplicate code.
* | DespotifyUtils, Expat: move to lib/Max Kellermann2014-01-241-1/+1
| |
* | Input*: move to input/Max Kellermann2014-01-2429-20/+1027
| |
* | Config*: move to config/Max Kellermann2014-01-242-4/+4
| |
* | archive/*: move to archive/plugins/Max Kellermann2014-01-241-5/+5
| |
* | input/alsa: fix memory leakMax Kellermann2014-01-141-1/+1
| | | | | | | | Don't duplicate the MIME type when it gets passed to a std::string.
* | input/despotify: change name to "despotify"Max Kellermann2014-01-131-1/+1
| | | | | | | | The name "spt" didn't make much sense for this plugin.
* | copyright year 2014Max Kellermann2014-01-1320-20/+20
| |
* | DespotifyUtils: return Tag, not pointerMax Kellermann2014-01-081-5/+6
| |
* | DespotifyUtils: pass const ds_track referenceMax Kellermann2014-01-081-1/+1
| |
* | tag/TagBuilder: overload Commit() returning a Tag objectMax Kellermann2014-01-081-1/+1
| |
* | tag/TagBuilder: rename Commit() to CommitNew()Max Kellermann2014-01-081-1/+1
| |
* | input/AlsaInputPlugin: remove unnecessary alsa s/w param setting to fix high ↵Steven O'Brien2014-01-081-9/+0
| | | | | | | | CPU load issue
* | util/Alloc: new library replacing GLib's g_malloc()Max Kellermann2014-01-071-6/+7
| |
* | input/AlsaInputPlugin.cxx: use I/O thread to poll for available dataSteven O'Brien2014-01-061-55/+289
| | | | | | | | [mk: modified to use MultiSocketMonitor instead of SocketMonitor]
* | event/SocketMonitor: don't close the socket automaticallyMax Kellermann2014-01-061-2/+0
| | | | | | | | | | | | Users now have to call Close() explicitly. This simplifies using the class, as most users have automatic socket management already, and Steal() had to be used often.
* | input/smbclient: new input pluginMax Kellermann2013-12-292-0/+228
| |
* | Merge tag 'release-0.18.6'Max Kellermann2013-12-241-1/+1
|\|
| * input/cdio: fix typo in #include pathMax Kellermann2013-12-171-1/+1
| | | | | | | | Broken by commit 3b0fea5f
* | input/alsa: fix build with gcc 4.6Max Kellermann2013-12-211-12/+12
| |
* | add draft ALSA input pluginSteven O'Brien2013-12-192-0/+234
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I've created an elementary input plugin that plays sound from the soundcard, so you can use MPD to listen to anything connected to the line-in jack, or to Video4Linux FM radio cards that send audio through the soundcard. There has been a small number of posts here in the past requesting line-in input, so here is a first, simplistic stab at it. The patch adds a new sheme, alsa://, which causes mpd to play data read directly from a souncdard. It defaults to hw:0,0, but you can pass any ALSA device name in the URI. So, using mpc for example: mpc add alsa:// mpc play will play from device hw:0,0. To use a diffferent device: mpc add alsa://hw:1,0
* | input/despotify: don't log "eof" flag after setting itMax Kellermann2013-12-141-1/+1
| |
* | input/despotify: convert to classMax Kellermann2013-12-141-45/+73
| |
* | Merge branch 'v0.18.x'Max Kellermann2013-12-141-0/+5
|\|
| * input/cdio_paranoia: support libcdio-paranoia 0.90Gaetan Bisson2013-11-271-0/+5
| |
* | fs/Traits: split PathTraits type into PathTraitsFS and PathTraitsUTF8Denis Krjuchkov2013-12-052-2/+2
| |
* | input/curl: use class TagBuilderMax Kellermann2013-12-031-4/+10
| |
* | Util/StringUtil: add StringStartsWith()Max Kellermann2013-11-284-17/+16
| | | | | | | | Replaces GLib's g_str_has_prefix().
* | include cleanup using iwyuMax Kellermann2013-11-285-8/+0
|/
* input/curl: work around stream resume bug (fixed in libcurl 7.32.0)Max Kellermann2013-11-231-0/+17
|
* input/curl: add global variable "curl_version"Max Kellermann2013-11-231-0/+7
|
* input/curl: dump version numberMax Kellermann2013-11-231-0/+8
|
* input/cdio_paranoia: add setting "default_byte_order"Max Kellermann2013-11-071-2/+26
| | | | | | Allows big-endian users to configure the fallback byte order to little-endian. Without this setting, MPD assumes native byte order if the CD drive can't decide.
* input/curl: unregister removed sockets from epollMax Kellermann2013-11-071-1/+9
| | | | Fixes a crash bug. See code comment.
* input/curl: fix bug with redirected streamsMax Kellermann2013-11-061-110/+138
| | | | | | | | | | | Migrate from the old curl_multi_perform() API to the newer curl_multi_socket_action() API (since CURL 7.16). This allows working around a bug with HTTP redirections with epoll: when CURL closes a socket and the new one happens to have the same file number, MPD did not have a chance to remove the old one from epoll and subsequently attempted to use EPOLL_CTL_MOD, which was not allowed by epoll, because it's a new socket now.
* input/curl: move code into class CurlMultiMax Kellermann2013-11-061-43/+66
| | | | | Move all global variables there, and keep just one global variable: the pointer to the CurlMulti instance. Prepares for the next commit.