Webinterface: Fixed usage of filenames as titles.

This commit is contained in:
fabian committed 2019-11-28 06:20:07 +01:00
1 parent fcbbdce118
commit 651843fb06
1 file changed
+1 -2
+1 -2
View File
@@ -207,8 +207,7 @@ update_playlist = function(data) {
if (file) {
file = file.substr(1);
$('#album').html(file.substr(0, file.indexOf('/')));
file = file.substr(file.indexOf('/')+1);
$('#track').html(file.substr(0, file.lastIndexOf('.')));
$('#track').html(file.title);
}
}