do not put empty-names in brackets

This commit is contained in:
Adrian Ulrich 2017-02-02 18:56:13 +01:00
parent de9fa76692
commit 3c15eca5e6

View File

@ -424,7 +424,7 @@ public class MediaScanner implements Handler.Callback {
// Get tags which always must be set
String title = tags.getFirst(MediaMetadataExtractor.TITLE);
if (title == null)
title = "<"+file.getName()+">";
title = file.getName();
String album = tags.getFirst(MediaMetadataExtractor.ALBUM);
if (album == null)