mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-15 13:51:35 +00:00
Added minBitrate
This commit is contained in:
parent
47cf7c94d0
commit
f2e677d971
1 changed files with 4 additions and 0 deletions
|
|
@ -244,6 +244,10 @@ export default {
|
|||
const maxBitrate = this.audioFiles.reduce((max, current) => Math.max(max, current.bitRate), 0);
|
||||
return maxBitrate === 0 ? this.encodingOptions.bitrate : (maxBitrate/1000) + "k"
|
||||
},
|
||||
minBitrate() {
|
||||
const minBitrate = this.audioFiles.reduce((min, current) => Math.min(min, current.bitRate), 0);
|
||||
return minBitrate === 0 ? this.encodingOptions.bitrate : (minBitrate/1000) + "k"
|
||||
},
|
||||
libraryItemId() {
|
||||
return this.libraryItem.id
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue