- 01 Jan, 2010 1 commit
-
-
Avuton Olrich authored
-
- 08 Dec, 2009 2 commits
-
-
Max Kellermann authored
This fixes an inconsistency in the stored playlist subsystem: when obtaining the list of playlists (listplaylist, listplaylistinfo), the file names in the playlist directory are converted to UTF-8 (according to filesystem_charset), but when saving or loading playlists, the filesystem_charset setting was ignored.
-
Max Kellermann authored
Don't allocate the file name before the playlist_dir==NULL check.
-
- 12 Nov, 2009 1 commit
-
-
Max Kellermann authored
After we've been hit by Large File Support problems several times in the past week (which only occur on 32 bit platforms, which I don't have), this is yet another attempt to fix the issue.
-
- 20 Oct, 2009 1 commit
-
-
Max Kellermann authored
Try to be as portable as possible, use GLib path name functions and macros.
-
- 13 Oct, 2009 1 commit
-
-
Max Kellermann authored
-
- 15 Jul, 2009 2 commits
-
-
Max Kellermann authored
The GLib functions are more portable.
-
Max Kellermann authored
Added another glue function in main().
-
- 13 Mar, 2009 1 commit
-
-
Avuton Olrich authored
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.
-
- 28 Feb, 2009 1 commit
-
-
Max Kellermann authored
Use GLIB_CHECK_VERSION() instead of manually checking GLIB_MAJOR_VERSION, ...
-
- 30 Jan, 2009 2 commits
-
-
Max Kellermann authored
When there are duplicate slashes in the song paths, eliminate them; example: /var/lib/mpd/music//foo.mp3 becomes: /var/lib/mpd/music/foo.mp3 The slash is only detected at the border between the music_directory and the local part.
-
Max Kellermann authored
When the user configures a music_directory with a trailing slash, it may break playlist loading, because MPD expects a double slash. Chop off the trailing slash.
-
- 25 Jan, 2009 1 commit
-
-
Max Kellermann authored
Some code will be a little bit simpler if the dot is part of the string literal.
-
- 18 Jan, 2009 3 commits
-
-
Max Kellermann authored
Use config_get_path() instead in mapper.c.
-
Max Kellermann authored
Without a music_directory, MPD is an excellent streaming client.
-
Max Kellermann authored
-
- 17 Jan, 2009 1 commit
-
-
Max Kellermann authored
Renamed functions, types, variables.
-
- 15 Jan, 2009 1 commit
-
-
Max Kellermann authored
g_get_user_special_dir() was introduced with GLib 2.14. Don't use it in older versions.
-
- 08 Jan, 2009 3 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
Don't use fixed static buffers. GLib allocates a new string for us anyway, let's just return this one instead of copying it.
-
Stepan Pologov authored
-
- 07 Jan, 2009 1 commit
-
-
Max Kellermann authored
-
- 04 Jan, 2009 1 commit
-
-
Max Kellermann authored
-
- 02 Jan, 2009 2 commits
-
-
Max Kellermann authored
Don't use fixed stack buffers.
-
Max Kellermann authored
Don't use fixed stack buffers.
-
- 01 Jan, 2009 2 commits
-
-
Max Kellermann authored
Don't pass a static buffer to map_spl_utf8_to_fs().
-
Max Kellermann authored
If no music_directory is configured, fall back to the XDG music directory, determined by g_get_user_special_dir(G_USER_DIRECTORY_MUSIC).
-
- 29 Dec, 2008 1 commit
-
-
Max Kellermann authored
Only include headers which are really needed. os_compat.h aimed to make MPD easily portable, but was never actually made portable.
-
- 24 Dec, 2008 1 commit
-
-
Max Kellermann authored
When save_absolute_paths_in_playlists was enabled in mpd.conf, MPD broke all playlists when manipulated using the "playlistdelete" command. The reason was that map_directory_child_fs() was used, which doesn't accept slashes in the file name. Use the new map_uri_fs() function instead.
-
- 20 Nov, 2008 1 commit
-
-
Konstantin Sobolev authored
In map_directory_child_fs(), the result of utf8_to_fs_charset() was never used, because it passed the unmodified "name" parameter to pfx_dir().
-
- 31 Oct, 2008 3 commits
-
-
Max Kellermann authored
Make map_directory_child_fs() refuse the names "." and "..". This is currently the interface where an attacker may inject a manipulated path (through the "update" command).
-
Max Kellermann authored
Added the function map_spl_utf8_to_fs() which replaces utf8_to_fs_playlist_path().
-
Max Kellermann authored
g_error() is fatal by default. Use g_warning() for non-fatal initialization errors.
-
- 18 Oct, 2008 1 commit
-
-
Max Kellermann authored
Due to an off-by-one bug in map_fs_to_utf8(), the function returned database paths with a leading slash.
-
- 15 Oct, 2008 2 commits
-
-
Max Kellermann authored
Clients which have authenticated via unix socket may add local files to the MPD playlist, provided that they own the file.
-
Max Kellermann authored
Moved the musicDir variable and its initialization code from path.c to mapper.c.
-
- 14 Oct, 2008 1 commit
-
-
Max Kellermann authored
The mapper library maps directory and song objects to file system paths. With this central library, the code mixture in path.c should be cleaned up, and we will be able to add neat features like aliasing.
-