aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder_print.h
diff options
context:
space:
mode:
authorJesús Bravo Álvarez <bugs@suso.me>2011-10-06 22:21:24 +0200
committerMax Kellermann <max@duempel.org>2011-10-06 22:21:24 +0200
commit039b3544902fe479fa2ce31f06de2c08377e0fc5 (patch)
treeced1e3ccfec40bf3f57f1fc4fc1edb0a20004f42 /src/decoder_print.h
parentb2f03e76ffd3af918d8eda0968f54c0b81bbff54 (diff)
downloadmpd-039b3544902fe479fa2ce31f06de2c08377e0fc5.tar.gz
mpd-039b3544902fe479fa2ce31f06de2c08377e0fc5.tar.xz
mpd-039b3544902fe479fa2ce31f06de2c08377e0fc5.zip
playlist_song: fix absolute path support in playlists
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.
Diffstat (limited to 'src/decoder_print.h')
0 files changed, 0 insertions, 0 deletions