fileinfo: Add flac and mp3 support
This commit is contained in:
parent
feef1765bf
commit
8590f425c6
1 changed files with 6 additions and 0 deletions
|
@ -12,6 +12,12 @@ const Fileinfo = {
|
|||
if (vnode.attrs.file.filename.indexOf('480 ') >= 0) {
|
||||
return '480p'
|
||||
}
|
||||
if (vnode.attrs.file.filename.indexOf('FLAC') >= 0) {
|
||||
return 'FLAC'
|
||||
}
|
||||
if (vnode.attrs.file.filename.indexOf('MP3') >= 0) {
|
||||
return 'MP3'
|
||||
}
|
||||
return 'Other'
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue