mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-06-25 20:22:32 +02:00
fix wrong display and ignored values
This commit is contained in:
parent
c377b57601
commit
9968743a93
@ -143,10 +143,18 @@ export default {
|
|||||||
localStorage.setItem('embedMetadataCodec', val)
|
localStorage.setItem('embedMetadataCodec', val)
|
||||||
},
|
},
|
||||||
getEncodingOptions() {
|
getEncodingOptions() {
|
||||||
return {
|
if (this.showAdvancedView) {
|
||||||
codec: this.selectedCodec || 'aac',
|
return {
|
||||||
bitrate: this.selectedBitrate || '128k',
|
codec: this.customCodec || this.selectedCodec || 'aac',
|
||||||
channels: this.selectedChannels || 2
|
bitrate: this.customBitrate || this.selectedBitrate || '128k',
|
||||||
|
channels: this.customChannels || this.selectedChannels || 2
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
return {
|
||||||
|
codec: this.selectedCodec || 'aac',
|
||||||
|
bitrate: this.selectedBitrate || '128k',
|
||||||
|
channels: this.selectedChannels || 2
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
setPreset() {
|
setPreset() {
|
||||||
|
@ -356,6 +356,8 @@ export default {
|
|||||||
|
|
||||||
const encodeOptions = this.$refs.encoderOptionsCard.getEncodingOptions()
|
const encodeOptions = this.$refs.encoderOptionsCard.getEncodingOptions()
|
||||||
|
|
||||||
|
this.encodingOptions = encodeOptions;
|
||||||
|
|
||||||
const queryParams = new URLSearchParams(encodeOptions)
|
const queryParams = new URLSearchParams(encodeOptions)
|
||||||
|
|
||||||
this.processing = true
|
this.processing = true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user