Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2012-06-13 | update_walk: add "pure" attributes | Max Kellermann | 1 | -0/+2 | |
2012-06-13 | update_walk: move code to make_directory_if_modified() | Max Kellermann | 1 | -21/+39 | |
2012-06-13 | update_walk: fix coding style | Max Kellermann | 1 | -94/+67 | |
2012-06-12 | Work around incorrect g_file_test() behavior on Win32 | Denis Krjuchkov | 1 | -0/+1 | |
g_file_test is redefined to be g_file_test_utf8 and thus can't handle non-ASCII characters. This fix adds simple wrapper (taken from glib) that fixes encoding and calls g_file_test_utf8. All required inclusions of glib_compat.h are added as well. | |||||
2012-04-04 | update: properly skip symlinks in path that is to be updated. | Anton Khirnov | 1 | -1/+5 | |
2012-02-13 | playlist_vector: require database lock for all functions | Max Kellermann | 1 | -1/+6 | |
2012-02-12 | playlist_vector: use the list_head library | Max Kellermann | 1 | -6/+3 | |
2012-02-12 | update_walk: move code to update_db.c | Max Kellermann | 1 | -85/+4 | |
2012-02-12 | update_walk: move code to update_io.c | Max Kellermann | 1 | -100/+1 | |
2012-02-12 | update_walk: move code to update_song_file() | Max Kellermann | 1 | -59/+64 | |
2012-02-11 | decoder_plugin: scan tags with callback table | Max Kellermann | 1 | -1/+5 | |
Pass a callback table to scan_file() and scan_stream(), instead of returning a tag object. | |||||
2012-02-02 | directory: require the caller to lock the db_mutex | Max Kellermann | 1 | -3/+65 | |
Reduce the number of lock/unlock cycles, and make database handling safer. | |||||
2012-02-02 | update_walk: use directory_make_child() | Max Kellermann | 1 | -5/+2 | |
2012-01-24 | directory: replace songvec with doubly linked list | Max Kellermann | 1 | -47/+28 | |
2012-01-24 | directory: add function directory_get_song(), ... | Max Kellermann | 1 | -10/+8 | |
Wrap songvec_find() and other songvec methods. | |||||
2012-01-24 | directory: replace dirvec with doubly linked list | Max Kellermann | 1 | -17/+9 | |
Random access is not needed, and a linked list is easier to manage: we don't need to (re-)allocate the pointer array. | |||||
2012-01-24 | directory: simplify constructors and clarify API documentation | Max Kellermann | 1 | -51/+22 | |
Pass only the "name" to a directory, instead of the full (relative) path. | |||||
2011-12-13 | update_walk: print debug message for song_file_load() | Max Kellermann | 1 | -0/+2 | |
2011-11-27 | directory: rename attribute "stat" to "have_stat" | Max Kellermann | 1 | -2/+2 | |
"stat" is a macro on mingw32, which is a pretty stupid thing, and this commit works around this build failure. | |||||
2011-11-27 | directory: convert "stat" to a bool | Max Kellermann | 1 | -1/+1 | |
2011-07-20 | update_walk: apply follow_inside_symlinks to absolute symlinks | Max Kellermann | 1 | -2/+8 | |
2011-03-18 | update_walk: ignore parameter "mode" on WIN32 | Max Kellermann | 1 | -0/+1 | |
Fix compiler warning. | |||||
2011-01-29 | copyright year 2011 | Max Kellermann | 1 | -1/+1 | |
2010-11-08 | update_walk: explicitly check for permission problems | Max Kellermann | 1 | -0/+33 | |
Call access() and print an extra error message when EACCES is returned. Hopefully this will reduce the number of support requests due to wrong file permissions. | |||||
2010-09-07 | update_walk: update existing playlist entry | Max Kellermann | 1 | -1/+3 | |
Fixes duplicate playlist entries. | |||||
2010-07-21 | update: store playlist files in database | Max Kellermann | 1 | -0/+31 | |
Don't open the music directory for each "lsinfo" call. Get the list of playlist files from the memory database. | |||||
2010-05-19 | update_walk: don't check recursive symlinks on WIN32 | Max Kellermann | 1 | -0/+8 | |
inode numbers don't work on WIN32, and very few WIN32 users actually use symlinks - seems ok to disable that check. | |||||
2009-12-31 | Update copyright notices. | Avuton Olrich | 1 | -1/+1 | |
2009-12-16 | archive_plugin: use GError in the open() method | Max Kellermann | 1 | -2/+4 | |
2009-12-16 | archive_plugin: wrap method calls | Max Kellermann | 1 | -4/+4 | |
Make archive_file a "real" struct, extended by all plugins. Add the plugin pointer to it. Wrap all method calls in functions. | |||||
2009-12-15 | archive_api.h: moved struct archive_plugin to archive_plugin.h | Max Kellermann | 1 | -1/+1 | |
2009-12-15 | archive_list: don't include archive_api.h | Max Kellermann | 1 | -0/+1 | |
Use struct forward declarations. | |||||
2009-11-11 | update: added missing config.h includes | Max Kellermann | 1 | -0/+5 | |
This broke sticker and archive support. | |||||
2009-11-07 | update_walk: log new container files | Max Kellermann | 1 | -1/+4 | |
2009-11-05 | update_walk: log unrecognized files | Max Kellermann | 1 | -2/+9 | |
When a song's tags could not be loaded during database update, log this as a debug message. Same for a song being removed because its updated tag could not be read. | |||||
2009-10-20 | mapper, update, ...: use g_build_filename(), G_DIR_SEPARATOR, ... | Max Kellermann | 1 | -4/+3 | |
Try to be as portable as possible, use GLib path name functions and macros. | |||||
2009-10-16 | update: obey .mpdignore files | Max Kellermann | 1 | -2/+57 | |
2009-09-24 | command: added command "rescan" | Max Kellermann | 1 | -5/+9 | |
"rescan" is the same as "update", but it discards existing songs in the database. | |||||
2009-09-24 | update: splitted update.c into several sources | Max Kellermann | 1 | -190/+26 | |
2009-09-24 | update: pass const string to update_enqueue() | Max Kellermann | 1 | -7/+11 | |
Duplicate the path string within update.c, do not expect an allocated string as parameter. | |||||
2009-09-24 | update: renamed directory_update_init() to update_enqueue() | Max Kellermann | 1 | -1/+1 | |
2009-08-19 | update: don't re-read unchanged container files | Igor Kuzmin | 1 | -1/+2 | |
MPD checks if every flac (possibly other types as well) file contains cuesheet on every update, which produces unneeded I/O. My music collection is on NFS share, so it's quite noticeable. IMHO, it shouldn't re-read unchanged files, so I wrote simple patch to fix it. | |||||
2009-08-14 | update: free temporary string in container scan (memleak) | Max Kellermann | 1 | -2/+6 | |
The return value of map_directory_child_fs() must be freed. | |||||
2009-08-14 | update: free empty path string (memleak) | Max Kellermann | 1 | -1/+2 | |
When you pass an empty string to directory_update_init(), it was not freed by update_task(). | |||||
2009-07-28 | playlist: CamelCaseIsBad | Courtney Cavin | 1 | -1/+1 | |
Renamed all playlist functions to non-CamelCase. | |||||
2009-07-14 | playlist: no CamelCase | Max Kellermann | 1 | -1/+1 | |
2009-07-05 | idle: added "update" event | Max Kellermann | 1 | -0/+5 | |
Some clients have visual feedback for "database update is running". Using the "database" idle event is unreliable, because it is only emitted when the database was actually modified. This patch adds the "update" event, which is emitted when the update is started, and again when the update is finished, disregarding whether it has been modified. | |||||
2009-03-14 | Removed superfluous if statement in update.c:453 | Jochen Keil | 1 | -28/+22 | |
Check for NULL not necessary here | |||||
2009-03-13 | all: Update copyright header. | Avuton Olrich | 1 | -7/+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-03-10 | Cleaned up update_regular_file() method in update.c | Jochen Keil | 1 | -83/+88 | |
After adding the container_scan() method the update_regular_file() method was quite hard to read. Now there's update_container_file() which deals with container files. That way normal container files (i.e. without embedded tracks) are handled by the old code like a regular file. This will fix some of the odd behaviour observed. |