Skip to content

Commit 538d492

Browse files
committed
Fix .pls playlist parsing
b/6508278 Change-Id: I015ecf3fa599601ba4e9d018be24d0685e153239
1 parent a7ea0d3 commit 538d492

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

media/java/android/media/MediaScanner.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1623,7 +1623,7 @@ private void processPlsPlayList(String path, String playListDirectory, Uri uri,
16231623
if (line.startsWith("File")) {
16241624
int equals = line.indexOf('=');
16251625
if (equals > 0) {
1626-
cachePlaylistEntry(line, playListDirectory);
1626+
cachePlaylistEntry(line.substring(equals + 1), playListDirectory);
16271627
}
16281628
}
16291629
line = reader.readLine();

0 commit comments

Comments
 (0)