- 06 Feb, 2014 2 commits
-
-
Max Kellermann authored
libsmbclient is not thread-safe nor reentrant. We must protect all function calls with a global mutex, unfortunately.
-
Max Kellermann authored
-
- 25 Jan, 2014 1 commit
-
-
Max Kellermann authored
-
- 24 Jan, 2014 3 commits
-
-
Max Kellermann authored
Merge duplicate code.
-
Max Kellermann authored
-
Max Kellermann authored
-
- 23 Jan, 2014 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 14 Jan, 2014 1 commit
-
-
Max Kellermann authored
Don't duplicate the MIME type when it gets passed to a std::string.
-
- 13 Jan, 2014 2 commits
-
-
Max Kellermann authored
The name "spt" didn't make much sense for this plugin.
-
Max Kellermann authored
-
- 08 Jan, 2014 5 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Steven O'Brien authored
-
- 07 Jan, 2014 1 commit
-
-
Max Kellermann authored
-
- 06 Jan, 2014 2 commits
-
-
Steven O'Brien authored
[mk: modified to use MultiSocketMonitor instead of SocketMonitor]
-
Max Kellermann authored
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.
-
- 29 Dec, 2013 1 commit
-
-
Max Kellermann authored
-
- 21 Dec, 2013 1 commit
-
-
Max Kellermann authored
-
- 19 Dec, 2013 1 commit
-
-
Steven O'Brien authored
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
-
- 17 Dec, 2013 1 commit
-
-
Max Kellermann authored
Broken by commit 3b0fea5f
-
- 14 Dec, 2013 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 04 Dec, 2013 1 commit
-
-
Denis Krjuchkov authored
-
- 03 Dec, 2013 1 commit
-
-
Max Kellermann authored
-
- 28 Nov, 2013 2 commits
-
-
Max Kellermann authored
Replaces GLib's g_str_has_prefix().
-
Max Kellermann authored
-
- 27 Nov, 2013 1 commit
-
-
Gaetan Bisson authored
-
- 23 Nov, 2013 3 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
- 07 Nov, 2013 2 commits
-
-
Max Kellermann authored
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.
-
Max Kellermann authored
Fixes a crash bug. See code comment.
-
- 06 Nov, 2013 5 commits
-
-
Max Kellermann authored
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.
-
Max Kellermann authored
Move all global variables there, and keep just one global variable: the pointer to the CurlMulti instance. Prepares for the next commit.
-
Max Kellermann authored
Unused.
-
Max Kellermann authored
Eliminate some complicated code that's not worth the trouble.
-
Max Kellermann authored
Replaces the loop in input_curl_find_request().
-