aboutsummaryrefslogtreecommitdiffstats
path: root/src/mapper.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-01-02mapper: allocate the result of map_directory_child_fs(), map_song_fs()Max Kellermann1-5/+4
Don't use fixed stack buffers.
2009-01-02mapper: allocate the result of map_uri_fs(), map_directory_fs()Max Kellermann1-4/+4
Don't use fixed stack buffers.
2009-01-01mapper: allocate playlist path from heapMax Kellermann1-3/+4
Don't pass a static buffer to map_spl_utf8_to_fs().
2008-12-24playlist: fix stored playlist modifications with absolute pathsMax Kellermann1-0/+8
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.
2008-10-31path: moved playlist_dir to mapper.cMax Kellermann1-0/+15
Added the function map_spl_utf8_to_fs() which replaces utf8_to_fs_playlist_path().
2008-10-31added prefix to header macrosMax Kellermann1-2/+2
"LOG_H" is a macro which is also used by ffmpeg/log.h. This is ffmpeg's fault, because short macros should be reserved for applications, but since it's always a good idea to choose prefixed macro names, even for applications, we are going to do that in MPD.
2008-10-15mapper: moved musicDir initialization from path.cMax Kellermann1-0/+4
Moved the musicDir variable and its initialization code from path.c to mapper.c.
2008-10-14mapper: new song-to-filesystem mapper libraryMax Kellermann1-0/+74
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.