aboutsummaryrefslogtreecommitdiffstats
path: root/src/input (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-06-22InputStream: add ReadFull methodThomas Guillem2-1/+49
Convenient method that behave differently than Read, and that will be used by tag scanners. This method will return in case of error, if the whole data is read or is EOF is reached.
2015-06-19input/curl: trigger the condition variable in RequestDone()Max Kellermann1-0/+2
Fixes deadlock on small responses.
2015-05-29input/smbclient: fix DFF playbackjai1-0/+1
2015-03-17*: doxygen fixupsMax Kellermann1-1/+0
2015-03-05input/Open: convert UTF-8 to filesystem charset for OpenLocalInputStream()Max Kellermann1-3/+8
2015-03-05input/Open: use PathTraitsUTF8 to check UTF-8 pathMax Kellermann1-1/+1
2015-03-03input/file: use class FileReaderMax Kellermann1-30/+17
2015-03-03input/file: pass UTF-8 URI to InputStream ctorMax Kellermann1-1/+3
2015-03-03input/file: add missing fcntl.h include for posix_fadvise()Max Kellermann1-1/+1
2015-03-03*: change C-style prototypes, drop "(void)"Max Kellermann2-2/+3
2015-03-03system/FileDescriptor: new wrapper class for a file descriptorMax Kellermann1-14/+12
2015-01-31decoder/sndfile, ...: update API documentationMax Kellermann2-4/+4
2015-01-26{playlist,input}/despotify: remove defunct pluginMax Kellermann2-259/+0
2015-01-21config/Param: split block-specific attributes to new struct ConfigBlockMax Kellermann7-25/+25
The old struct config_param remains only for top-level string options.
2015-01-21config/Option: convert to strictly-typed enumMax Kellermann2-5/+6
2015-01-21input/curl: work around format warning on WIN32Max Kellermann1-0/+3
2015-01-21ConfigData: move struct config_param to Param.hxxMax Kellermann3-3/+3
2015-01-06input/async: reset the "open" flag after seeking successfullyMax Kellermann1-0/+5
Fixes a problem with the "curl" input plugin: IsEOF() always returns true because the "open" flag was cleared by CurlInputStream::RequestDone() when end-of-stream was reached. This flag stays false even when seeking to another position has succeeded. This patch resets the "open" flag to true after seeking successfully.
2015-01-01Copyright year 2015Max Kellermann45-45/+45
2014-12-26db/lazy, input/mms: add "override" keywordsMax Kellermann1-1/+1
Fixes -Winconsistent-missing-override (clang 3.6).
2014-12-23input/mms: limit the mmsx_read() sizeMax Kellermann1-0/+7
2014-12-21input/ffmpeg: use FfmpegInit() instead of av_register_all()Max Kellermann1-2/+2
Make sure that the log callback is installed.
2014-12-14input/nfs: include cleanupMax Kellermann1-4/+0
2014-12-14input/async: add API documentationMax Kellermann1-0/+4
2014-12-12input/Init: eliminate double colon from log messageMax Kellermann1-1/+1
2014-12-01input/cdio_paranoia: use CopyString() instead of g_strlcpy()Max Kellermann1-2/+1
2014-11-25event/DeferredMonitor: include cleanupMax Kellermann1-0/+2
2014-11-21configure.ac: add macro MPD_ENABLE_AUTO_PKGMax Kellermann1-4/+4
Simplify the definition of many build options.
2014-11-10input/curl: ignore ResponseBoundary() while seekingMax Kellermann1-0/+4
While seeking, metadata must not be updated. ResponseBoundary() was added in MPD 0.19.1, but I forgot to add the IsSeeking() check there. This caused the "seekable" flag to reset.
2014-11-07input/AsyncInputStream: set Error when seeking unseekableMax Kellermann1-1/+4
Fixes crash in the "audiofile" decoder while logging the seek error.
2014-11-07input/Open: expose input_domainMax Kellermann3-2/+52
2014-11-02input/curl: forget Content-Length (and more) after redirectMax Kellermann1-0/+26
Fixes playback of redirected streams.
2014-11-02AsyncInputStream: add method ClearTag()Max Kellermann1-0/+4
2014-11-02InputStream: add method ClearMimeType()Max Kellermann1-0/+4
2014-11-02input/curl: fix curl_easy_setopt() parameter typesMax Kellermann1-4/+4
2014-11-01input/curl: fix curl_easy_setopt() parameter typesMax Kellermann1-3/+3
2014-10-28TextInputStream: don't ignore unterminated last lineMax Kellermann1-4/+16
2014-10-19TextInputStream: manually shift the buffer before readingMax Kellermann1-0/+2
Fixes truncated lines in m3u and cue files (regression by commit 67958f7).
2014-10-11ThreadInputStream: call ThreadRead() inside the thread instead of Read()Max Kellermann1-1/+1
Fixes deadlock bug in the "mms" plugin.
2014-10-11ThreadInputStream: add assertionsMax Kellermann1-0/+8
2014-10-02input/Open: use OpenLocalInputStream()Max Kellermann4-30/+33
Make the "open" method of plugins "file" and "archive" dummy methods that always fail. Instead, let InputStream::Open() hard-code access to these two plugins by using OpenLocalInputStream(). This allows simplifyin the algorithm for falling back to probing archive plugins.
2014-10-02input/LocalOpen: new library for opening local filesMax Kellermann2-0/+86
Combines the "file" and the "archive" input plugins.
2014-10-02input/archive: export function OpenArchiveInputStream()Max Kellermann2-16/+33
2014-10-02input/file: export function OpenFileInputStream()Max Kellermann2-13/+37
2014-10-02input/file: generate Error when errno==ENOENTMax Kellermann1-1/+1
This special case was useless. Fixes the dreaded "Unrecognized URI" error message when a file does not exist.
2014-10-02input/file: make the "fd" attribute "const"Max Kellermann1-1/+1
2014-10-02input/file: make variables more localMax Kellermann1-6/+3
2014-10-02input/file: convert to classMax Kellermann1-1/+2
2014-09-16CurlInputPlugin: fix crash after second init callThomas Guillem1-0/+1
The second time init was called, http_200_aliases pointed to a freed pointer and leaded to a SEGFAULT.
2014-09-02input/nfs: auto-reconnect if failed while pausedMax Kellermann1-1/+46