mirror of
				https://github.com/advplyr/audiobookshelf.git
				synced 2025-10-27 11:18:14 +01:00 
			
		
		
		
	fix wrong display and ignored values
This commit is contained in:
		
							parent
							
								
									c377b57601
								
							
						
					
					
						commit
						9968743a93
					
				@ -143,11 +143,19 @@ export default {
 | 
			
		||||
      localStorage.setItem('embedMetadataCodec', val)
 | 
			
		||||
    },
 | 
			
		||||
    getEncodingOptions() {
 | 
			
		||||
      if (this.showAdvancedView) {
 | 
			
		||||
        return {
 | 
			
		||||
          codec: this.customCodec || this.selectedCodec || 'aac',
 | 
			
		||||
          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() {
 | 
			
		||||
      // If already AAC and not mixed, set copy
 | 
			
		||||
 | 
			
		||||
@ -356,6 +356,8 @@ export default {
 | 
			
		||||
 | 
			
		||||
      const encodeOptions = this.$refs.encoderOptionsCard.getEncodingOptions()
 | 
			
		||||
 | 
			
		||||
      this.encodingOptions = encodeOptions;
 | 
			
		||||
 | 
			
		||||
      const queryParams = new URLSearchParams(encodeOptions)
 | 
			
		||||
 | 
			
		||||
      this.processing = true
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user