aboutsummaryrefslogtreecommitdiffstats
path: root/src/mapper.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* mapper: don't return database path with leading slashMax Kellermann2008-10-191-1/+1
| | | | | Due to an off-by-one bug in map_fs_to_utf8(), the function returned database paths with a leading slash.
* playlist: added support for adding songs not in the music databaseMax Kellermann2008-10-151-2/+5
| | | | | Clients which have authenticated via unix socket may add local files to the MPD playlist, provided that they own the file.
* mapper: moved musicDir initialization from path.cMax Kellermann2008-10-151-6/+45
| | | | | Moved the musicDir variable and its initialization code from path.c to mapper.c.
* mapper: new song-to-filesystem mapper libraryMax Kellermann2008-10-141-0/+77
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.