aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist_save.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* update: check return valuesMax Kellermann2008-10-311-1/+2
| | | | | Nearly all mapper functions can fail and will then return NULL. Add checks to all callers.
* stored_playlist: don't map files outside the databaseMax Kellermann2008-10-231-2/+3
| | | | | | Don't attempt to map paths which are already absolute with map_song_fs(): check with song_in_database() instead of song_is_file().
* playlist: don't use uninitialized local variable (typo)Max Kellermann2008-10-141-1/+1
| | | | | Instead of the uninitialized local variable "s", I should have used "uri".
* mapper: new song-to-filesystem mapper libraryMax Kellermann2008-10-141-8/+14
| | | | | | 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.
* playlist: moved code to playlist_save.cMax Kellermann2008-10-141-0/+49
playlist_print_song() and playlist_print_uri() handle charset conversion and (optional) music directory prefixing.