Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix for not creating entries for empty lines in .m3u files.

  • Loading branch information...
commit 10bb39763788f7ff8e1bf597b8ac6b0c7fb277da 1 parent e091d34
@Raptor399 Raptor399 authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  src/main/java/net/pms/dlna/PlaylistFolder.java
View
3  src/main/java/net/pms/dlna/PlaylistFolder.java
@@ -122,7 +122,8 @@ public synchronized void resolve() {
} else {
title = line;
}
- } else if (!line.startsWith("#")) {
+ } else if (!line.startsWith("#") && !line.matches("^\\s*$")) {
+ // Non-comment and non-empty line contains the filename
fileName = line;
Entry entry = new Entry();
entry.fileName = fileName;
Please sign in to comment.
Something went wrong with that request. Please try again.