aboutsummaryrefslogtreecommitdiffstats
path: root/src/SongUpdate.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-09-05InputLegacy: move functions to the input_stream classMax Kellermann1-10/+7
2013-09-04Tag*: move libtag.a sources to src/tag/Max Kellermann1-2/+2
2013-09-04util/Error: new error passing libraryMax Kellermann1-2/+5
Replaces GLib's GError.
2013-09-03input_stream.h: rename to InputLegacy.hxxMax Kellermann1-1/+1
2013-07-30tag: convert to C++Max Kellermann1-13/+10
2013-07-29tag_handler: convert to C++Max Kellermann1-4/+1
2013-07-29ape: convert to C++Max Kellermann1-1/+1
2013-07-28tag_id3: convert to C++Max Kellermann1-1/+1
2013-07-28song: convert header to C++Max Kellermann1-38/+33
2013-07-28decoder_api: convert to C++Max Kellermann1-1/+1
2013-04-08uri: convert to C++Max Kellermann1-1/+1
2013-02-02SongUpdate.cxx: use StatFileDenis Krjuchkov1-1/+2
2013-01-30decoder_list: convert to C++Max Kellermann1-2/+2
2013-01-27DecoderControl, InputStream: use Mutex/Cond instead of GMutex/GCondMax Kellermann1-14/+2
2013-01-22Path: move to fs subdirectoryDenis Krjuchkov1-1/+1
2013-01-18Path: new class "Path" wraps filesystem path stringsMax Kellermann1-9/+9
2013-01-18Playlist, Song: clarify parameter encodingMax Kellermann1-5/+5
2013-01-07decoder_api.h, ...: add "extern C"Max Kellermann1-2/+2
2013-01-03Directory: rename struct directory to DirectoryMax Kellermann1-1/+1
2013-01-02Directory: make the header C++ onlyMax Kellermann1-1/+1
2013-01-02mapper: convert to C++Max Kellermann1-1/+1
2013-01-02song_update: convert to C++Max Kellermann1-2/+9
2012-03-01song_update, udp_server: workarounds for gcc 4.1 warningsMax Kellermann1-0/+5
Annoying false positives.
2012-02-12song_update: update the "has_playlist" flagMax Kellermann1-3/+3
2012-02-12tag_{ape,id3}: remove the _load() functionsMax Kellermann1-27/+6
Use _scan() instead, to have more control.
2012-02-11decoder_plugin: scan tags with callback tableMax Kellermann1-6/+15
Pass a callback table to scan_file() and scan_stream(), instead of returning a tag object.
2011-09-16input_stream: non-blocking I/OMax Kellermann1-3/+15
Add GMutex, GCond attributes which will be used by callers to conditionally wait on the stream. Remove the (now-useless) plugin method buffer(), wait on GCond instead. Lock the input_stream before each method call. Do the same with the playlist plugins.
2011-03-31fix common misspellingsJonathan Neuschäfer1-1/+1
These fixes were mostly generated with `codespell' [0] and manually reviewed. [0] http://git.profusion.mobi/cgit.cgi/lucas/codespell/
2011-01-29copyright year 2011Max Kellermann1-1/+1
2010-01-01input_stream: return allocated input_stream objectsMax Kellermann1-9/+8
Major API redesign: don't let the caller allocate the input_stream object. Let each input plugin allocate its own (derived/extended) input_stream pointer. The "data" attribute can now be removed, and all input plugins simply cast the input_stream pointer to their own structure (with an "struct input_stream base" as the first attribute).
2009-12-31Update copyright notices.Avuton Olrich1-1/+1
2009-12-31decoder_plugin: added method stream_tag()Max Kellermann1-0/+26
This is like tag_dup(), but works with an input_stream object instead of a file path.
2009-12-31song_update: use decoder_plugin_tag_dup()Max Kellermann1-1/+1
Minor code simplification.
2009-11-11added missing config.h includes for extended LFS supportMax Kellermann1-0/+1
All sources which might work with large files must include config.h, to get Large File Support on 32 bit platforms.
2009-11-07decoder_list: pass previous plugin pointer to lookup functionsMax Kellermann1-2/+2
Remove the static integer hack, that's not thread safe and sucks.
2009-10-20mapper, update, ...: use g_build_filename(), G_DIR_SEPARATOR, ...Max Kellermann1-1/+1
Try to be as portable as possible, use GLib path name functions and macros.
2009-10-13song: renamed attribute "url" to "uri"Max Kellermann1-2/+2
2009-10-12song: moved code to song_update.cMax Kellermann1-56/+0
Moved all the code which depends on the decoder plugins to a separate source. That allows leaner test programs.
2009-07-06song: initialize mtime in song_alloc()Max Kellermann1-0/+1
2009-07-06song: initialize mtime in song_alloc()Max Kellermann1-0/+1
2009-03-13all: Update copyright header.Avuton Olrich1-6/+7
This updates the copyright header to all be the same, which is pretty much an update of where to mail request for a copy of the GPL and the years of the MPD project. This also puts all committers under 'The Music Player Project' umbrella. These entries should go individually in the AUTHORS file, for consistancy.
2009-02-28tag: moved APE code to tag_ape.cMax Kellermann1-0/+1
2009-02-25ls: moved generic URI utilities to uri.cMax Kellermann1-1/+1
"ls" is a bad name for a library which parses URIs. We'll move the rest of the "ls" library later.
2009-02-15decoder_api: moved struct decoder_plugin to decoder_plugin.hMax Kellermann1-1/+3
The decoder_plugin struct is used by both the MPD core and the decoder plugin implementations. Move it to a shared header file, to minimize header dependencies.
2009-01-23song: include cleanupMax Kellermann1-2/+0
Removed unused includes.
2009-01-17song: skip archive check for non-musicdir filesMax Kellermann1-1/+1
If a song is not within the music directory ("file:///..."), it has no "parent directory". The archive code nonetheless dereferences the parent pointer, causing a segmentation fault. Check parent!=NULL.
2009-01-17moved fallback APE/ID3 tag loader to song.cMax Kellermann1-0/+36
Some plugins used the APE or ID3 tag loader as a fallback when their own methods of loading tags did not work. Move this code out of all decoder plugins, into song_file_update().
2009-01-04song: allocate the result of song_get_url()Max Kellermann1-6/+4
2009-01-04directory: added directory_is_root()Max Kellermann1-1/+1
directory_is_root() is cheaper than isRootDirectory(directory_get_path()).
2009-01-04ls: renamed functions, no CamelCaseMax Kellermann1-2/+2