diff options
author | Liam <towerofnix@gmail.com> | 2017-06-12 21:41:43 -0300 |
---|---|---|
committer | Liam <towerofnix@gmail.com> | 2017-06-12 21:41:43 -0300 |
commit | 785cb5f6b6d3e30822db78d85accc743a5d0e741 (patch) | |
tree | c881d07e628b79a7fa750e5b40f71fe897e7c3dd /src | |
parent | 27a65ba0f50529bfb0c72b7c9967b86bcd186e05 (diff) |
Fix a filter issue
Diffstat (limited to 'src')
-rw-r--r-- | src/playlist-utils.js | 2 |
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] |