@@ -216,6 +221,7 @@ export default {
isCancelingEncode: false,
showEncodeOptions: false,
shouldBackupAudioFiles: true,
+ mergeWithoutEncoding: false,
encodingOptions: {
bitrate: '128k',
channels: '2',
@@ -352,7 +358,7 @@ export default {
if (this.$refs.codecInput) this.$refs.codecInput.blur()
let queryStr = ''
- if (this.showEncodeOptions) {
+ if (this.showEncodeOptions && !this.mergeWithoutEncoding) {
const options = []
if (this.encodingOptions.bitrate) options.push(`bitrate=${this.encodingOptions.bitrate}`)
if (this.encodingOptions.channels) options.push(`channels=${this.encodingOptions.channels}`)
@@ -360,6 +366,8 @@ export default {
if (options.length) {
queryStr = `?${options.join('&')}`
}
+ } else if (this.mergeWithoutEncoding) {
+ queryStr = '?codec=copy'
}
this.processing = true
this.$axios
diff --git a/client/strings/en-us.json b/client/strings/en-us.json
index ef43d4f5..511679ae 100644
--- a/client/strings/en-us.json
+++ b/client/strings/en-us.json
@@ -432,6 +432,7 @@
"LabelMaxEpisodesToKeepHelp": "Value of 0 sets no max limit. After a new episode is auto-downloaded this will delete the oldest episode if you have more than X episodes. This will only delete 1 episode per new download.",
"LabelMediaPlayer": "Media Player",
"LabelMediaType": "Media Type",
+ "LabelMergeWithoutEncoding": "Merge files without encoding",
"LabelMetaTag": "Meta Tag",
"LabelMetaTags": "Meta Tags",
"LabelMetadataOrderOfPrecedenceDescription": "Higher priority metadata sources will override lower priority metadata sources",