diff options
author | Max Kellermann <max@duempel.org> | 2014-02-07 21:29:31 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-02-07 21:30:49 +0100 |
commit | 77de23311792b6df7fb7b82ea5db3bc6643196fc (patch) | |
tree | 1459f8ca28253c75211c3217034bc2d3250d4094 /src/playlist/PlaylistMapper.cxx | |
parent | 02b67edaf5c24a44d1dacce0533f2851cfbe35e7 (diff) |
Playlist{Any,Registry,Mapper}: move functions to PlaylistStream.cxx
Diffstat (limited to 'src/playlist/PlaylistMapper.cxx')
-rw-r--r-- | src/playlist/PlaylistMapper.cxx | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/playlist/PlaylistMapper.cxx b/src/playlist/PlaylistMapper.cxx index 1211e892c..141e0563f 100644 --- a/src/playlist/PlaylistMapper.cxx +++ b/src/playlist/PlaylistMapper.cxx @@ -20,6 +20,7 @@ #include "config.h" #include "PlaylistMapper.hxx" #include "PlaylistFile.hxx" +#include "PlaylistStream.hxx" #include "PlaylistRegistry.hxx" #include "Mapper.hxx" #include "fs/AllocatedPath.hxx" @@ -27,16 +28,6 @@ #include <assert.h> -static SongEnumerator * -playlist_open_path(const char *path_fs, Mutex &mutex, Cond &cond) -{ - auto playlist = playlist_list_open_uri(path_fs, mutex, cond); - if (playlist == nullptr) - playlist = playlist_list_open_path(path_fs, mutex, cond); - - return playlist; -} - /** * Load a playlist from the configured playlist directory. */ |