« get me outta code hell

http-music - Command-line music player + utils (not a server!)
about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/playlist-utils.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/playlist-utils.js b/src/playlist-utils.js
index b0eb4f0..ff19ea9 100644
--- a/src/playlist-utils.js
+++ b/src/playlist-utils.js
@@ -33,7 +33,7 @@ function filterPlaylistByPath(playlist, pathParts) {
       b = b.toLowerCase()
     }
 
-    return a === b
+    return a === b || a === b + '/'
   }
 
   const cur = pathParts[0]