aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist_song.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* playlist_song: fix absolute path support in playlistsJesús Bravo Álvarez2011-10-061-3/+2
| | | | | | | | | | | | | Right now, a playlist with absolute pathnames can only add songs that are in the same the directory of the playlist or under it. If uri is an absolute pathname and base_uri is set, playlist_check_translate_song() will check that base_uri is a prefix of uri, excluding every other song in the music directory outside base_uri. I think in this case base_uri should be completely ignored (and made NULL) and uri should just be checked against music root directory.
* playlist_song: fix playlist files in base music directoryMax Kellermann2011-05-091-0/+7
| | | | | g_path_get_dirname() returns "." when there is no directory name in the given path. This patch adds a workaround for that.
* playlist_song: fix NULL pointer dereferenceMax Kellermann2011-05-091-1/+1
|
* playlist_song: calculate duration of last CUE trackMax Kellermann2010-11-081-0/+8
|
* playlist_song: fix memory leakMax Kellermann2010-07-251-0/+2
| | | | Free the temporary path string in apply_song_metadata().
* playlist_queue: moved check_translate_song() to playlist_song.cMax Kellermann2010-02-081-0/+139