aboutsummaryrefslogtreecommitdiffstats
path: root/src/database.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/database.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/database.c b/src/database.c
index cb79c1d39..e3fa7442b 100644
--- a/src/database.c
+++ b/src/database.c
@@ -104,8 +104,7 @@ db_get_song(const char *file)
if (db == NULL)
return NULL;
- struct directory *music_root = db_get_root();
- return directory_lookup_song(music_root, file);
+ return db_plugin_get_song(db, file, NULL);
}
bool