Webinterface: Fixed usage of filenames as titles.
This commit is contained in:
parent
fcbbdce118
commit
651843fb06
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user