mapper: make the music_directory optional
Without a music_directory, MPD is an excellent streaming client.
This commit is contained in:
@@ -23,6 +23,8 @@
|
||||
#ifndef MPD_MAPPER_H
|
||||
#define MPD_MAPPER_H
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
#define PLAYLIST_FILE_SUFFIX "m3u"
|
||||
|
||||
struct directory;
|
||||
@@ -32,6 +34,12 @@ void mapper_init(void);
|
||||
|
||||
void mapper_finish(void);
|
||||
|
||||
/**
|
||||
* Returns true if a music directory was configured.
|
||||
*/
|
||||
bool
|
||||
mapper_has_music_directory(void);
|
||||
|
||||
/**
|
||||
* Determines the absolute file system path of a relative URI. This
|
||||
* is basically done by converting the URI to the file system charset
|
||||
|
||||
Reference in New Issue
Block a user