mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-15 05:41:34 +00:00
Advanced options set to highest bitrate of input files
This commit is contained in:
parent
038ad7018a
commit
814abd53da
1 changed files with 5 additions and 1 deletions
|
|
@ -240,6 +240,10 @@ export default {
|
||||||
isM4BTool() {
|
isM4BTool() {
|
||||||
return this.selectedTool === 'm4b'
|
return this.selectedTool === 'm4b'
|
||||||
},
|
},
|
||||||
|
maxBitrate() {
|
||||||
|
const maxBitrate = this.audioFiles.reduce((max, current) => Math.max(max, current.bitRate), 0);
|
||||||
|
return maxBitrate === 0 ? this.encodingOptions.bitrate : (maxBitrate/1000) + "k"
|
||||||
|
},
|
||||||
libraryItemId() {
|
libraryItemId() {
|
||||||
return this.libraryItem.id
|
return this.libraryItem.id
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue