mirror of
https://github.com/IrosTheBeggar/mStream.git
synced 2025-10-27 07:31:02 +00:00
Forgot a file
This commit is contained in:
parent
24686c28c4
commit
be4f4c489e
@ -128,7 +128,7 @@ var VUEPLAYER = function() {
|
||||
|
||||
console.log(MSTREAM.playerStats.metadata);
|
||||
|
||||
return '\u00A0\u00A0\u00A0' + filepathArray[filepathArray.length-1] + '\u00A0\u00A0\u00A0';
|
||||
|
||||
return '\u00A0\u00A0\u00A0' + returnText + '\u00A0\u00A0\u00A0';
|
||||
}
|
||||
},
|
||||
@ -143,6 +143,21 @@ var VUEPLAYER = function() {
|
||||
});
|
||||
|
||||
|
||||
var metadataPanel = new Vue({
|
||||
el: '#metadata-panel',
|
||||
data: {
|
||||
meta: MSTREAM.playerStats.metadata
|
||||
},
|
||||
computed: {
|
||||
albumArtPath: function(){
|
||||
if(!this.meta['album-art']){
|
||||
return '/album-art/default.png';
|
||||
}
|
||||
return '/album-art/' + this.meta['album-art'];
|
||||
}
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user