Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | input/curl: move _easy_init() into the CurlInputStream class | Max Kellermann | 2014-03-15 | 1 | -30/+30 | |
| | | ||||||
* | | input/curl: pass std::string&& to HeaderReceived() | Max Kellermann | 2014-03-15 | 1 | -25/+8 | |
| | | | | | | | | Code simplification. | |||||
* | | input/curl: move code to CurlInputStream methods | Max Kellermann | 2014-03-15 | 1 | -178/+231 | |
| | | ||||||
* | | input/curl: rename "error" to "error_buffer" | Max Kellermann | 2014-03-15 | 1 | -3/+3 | |
| | | ||||||
* | | input/curl: rename struct input_curl to CurlInputStream | Max Kellermann | 2014-03-15 | 1 | -32/+32 | |
| | | ||||||
* | | InputPlugin: allow init() to soft-fail | Max Kellermann | 2014-03-02 | 6 | -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 Kellermann | 2014-03-01 | 1 | -1/+1 | |
| | | ||||||
* | | input/curl: include cleanup | Max Kellermann | 2014-02-22 | 1 | -1/+0 | |
| | | ||||||
* | | input/nfs: move nfs_domain to lib/nfs/Domain.cxx | Max Kellermann | 2014-02-08 | 1 | -3/+1 | |
| | | ||||||
* | | ArchivePlugin: pass Path to open() | Max Kellermann | 2014-02-08 | 1 | -1/+2 | |
| | | ||||||
* | | ArchivePlugin: rename struct archive_plugin to ArchivePlugin | Max Kellermann | 2014-02-08 | 1 | -1/+1 | |
| | | ||||||
* | | */smbclient: protect all libsmbclient calls with a mutex | Max Kellermann | 2014-02-06 | 1 | -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 libnfs | Max Kellermann | 2014-02-06 | 3 | -0/+234 | |
| | | ||||||
* | | input/smbclient: move code to lib/smbclient/Init.cxx | Max Kellermann | 2014-01-25 | 1 | -19/+2 | |
| | | ||||||
* | | ConfigGlobal: add config_find_block() | Max Kellermann | 2014-01-24 | 1 | -34/+1 | |
| | | | | | | Merge duplicate code. | |||||
* | | DespotifyUtils, Expat: move to lib/ | Max Kellermann | 2014-01-24 | 1 | -1/+1 | |
| | | ||||||
* | | Input*: move to input/ | Max Kellermann | 2014-01-24 | 29 | -20/+1027 | |
| | | ||||||
* | | Config*: move to config/ | Max Kellermann | 2014-01-24 | 2 | -4/+4 | |
| | | ||||||
* | | archive/*: move to archive/plugins/ | Max Kellermann | 2014-01-24 | 1 | -5/+5 | |
| | | ||||||
* | | input/alsa: fix memory leak | Max Kellermann | 2014-01-14 | 1 | -1/+1 | |
| | | | | | | | | Don't duplicate the MIME type when it gets passed to a std::string. | |||||
* | | input/despotify: change name to "despotify" | Max Kellermann | 2014-01-13 | 1 | -1/+1 | |
| | | | | | | | | The name "spt" didn't make much sense for this plugin. | |||||
* | | copyright year 2014 | Max Kellermann | 2014-01-13 | 20 | -20/+20 | |
| | | ||||||
* | | DespotifyUtils: return Tag, not pointer | Max Kellermann | 2014-01-08 | 1 | -5/+6 | |
| | | ||||||
* | | DespotifyUtils: pass const ds_track reference | Max Kellermann | 2014-01-08 | 1 | -1/+1 | |
| | | ||||||
* | | tag/TagBuilder: overload Commit() returning a Tag object | Max Kellermann | 2014-01-08 | 1 | -1/+1 | |
| | | ||||||
* | | tag/TagBuilder: rename Commit() to CommitNew() | Max Kellermann | 2014-01-08 | 1 | -1/+1 | |
| | | ||||||
* | | input/AlsaInputPlugin: remove unnecessary alsa s/w param setting to fix high ↵ | Steven O'Brien | 2014-01-08 | 1 | -9/+0 | |
| | | | | | | | | CPU load issue | |||||
* | | util/Alloc: new library replacing GLib's g_malloc() | Max Kellermann | 2014-01-07 | 1 | -6/+7 | |
| | | ||||||
* | | input/AlsaInputPlugin.cxx: use I/O thread to poll for available data | Steven O'Brien | 2014-01-06 | 1 | -55/+289 | |
| | | | | | | | | [mk: modified to use MultiSocketMonitor instead of SocketMonitor] | |||||
* | | event/SocketMonitor: don't close the socket automatically | Max Kellermann | 2014-01-06 | 1 | -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 plugin | Max Kellermann | 2013-12-29 | 2 | -0/+228 | |
| | | ||||||
* | | Merge tag 'release-0.18.6' | Max Kellermann | 2013-12-24 | 1 | -1/+1 | |
|\| | ||||||
| * | input/cdio: fix typo in #include path | Max Kellermann | 2013-12-17 | 1 | -1/+1 | |
| | | | | | | | | Broken by commit 3b0fea5f | |||||
* | | input/alsa: fix build with gcc 4.6 | Max Kellermann | 2013-12-21 | 1 | -12/+12 | |
| | | ||||||
* | | add draft ALSA input plugin | Steven O'Brien | 2013-12-19 | 2 | -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 it | Max Kellermann | 2013-12-14 | 1 | -1/+1 | |
| | | ||||||
* | | input/despotify: convert to class | Max Kellermann | 2013-12-14 | 1 | -45/+73 | |
| | | ||||||
* | | Merge branch 'v0.18.x' | Max Kellermann | 2013-12-14 | 1 | -0/+5 | |
|\| | ||||||
| * | input/cdio_paranoia: support libcdio-paranoia 0.90 | Gaetan Bisson | 2013-11-27 | 1 | -0/+5 | |
| | | ||||||
* | | fs/Traits: split PathTraits type into PathTraitsFS and PathTraitsUTF8 | Denis Krjuchkov | 2013-12-05 | 2 | -2/+2 | |
| | | ||||||
* | | input/curl: use class TagBuilder | Max Kellermann | 2013-12-03 | 1 | -4/+10 | |
| | | ||||||
* | | Util/StringUtil: add StringStartsWith() | Max Kellermann | 2013-11-28 | 4 | -17/+16 | |
| | | | | | | | | Replaces GLib's g_str_has_prefix(). | |||||
* | | include cleanup using iwyu | Max Kellermann | 2013-11-28 | 5 | -8/+0 | |
|/ | ||||||
* | input/curl: work around stream resume bug (fixed in libcurl 7.32.0) | Max Kellermann | 2013-11-23 | 1 | -0/+17 | |
| | ||||||
* | input/curl: add global variable "curl_version" | Max Kellermann | 2013-11-23 | 1 | -0/+7 | |
| | ||||||
* | input/curl: dump version number | Max Kellermann | 2013-11-23 | 1 | -0/+8 | |
| | ||||||
* | input/cdio_paranoia: add setting "default_byte_order" | Max Kellermann | 2013-11-07 | 1 | -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 epoll | Max Kellermann | 2013-11-07 | 1 | -1/+9 | |
| | | | | Fixes a crash bug. See code comment. | |||||
* | input/curl: fix bug with redirected streams | Max Kellermann | 2013-11-06 | 1 | -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 CurlMulti | Max Kellermann | 2013-11-06 | 1 | -43/+66 | |
| | | | | | Move all global variables there, and keep just one global variable: the pointer to the CurlMulti instance. Prepares for the next commit. |