summaryrefslogtreecommitdiff
path: root/src/playlist/PlaylistMapper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/playlist/PlaylistMapper.cxx')
-rw-r--r--src/playlist/PlaylistMapper.cxx11
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.
*/