summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/api/LightMediaScanner.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/api/LightMediaScanner.qml b/app/api/LightMediaScanner.qml
index 112cb98..b61ff0d 100644
--- a/app/api/LightMediaScanner.qml
+++ b/app/api/LightMediaScanner.qml
@@ -38,7 +38,7 @@ WebSocket {
function validateItem(media) {
for (var i = 0; i < media.length; i++) {
- var item = media[i]
+ var item = media[i].path
if (root.items.indexOf(item) < 0) {
playlist.addItem(item)
root.items.push(item)