Skip to content

Commit

Permalink
Support for dev:mediainfo script
Browse files Browse the repository at this point in the history
  • Loading branch information
rednoah committed Jul 24, 2024
1 parent bfb5611 commit 748ecc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server-nodejs/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ function getCommandArguments(options) {
var args = []
if (options.fn == 'amc') {
args.push('-script')
args.push(options.channel == 'fn' ? 'fn:amc' : 'dev:amc')
args.push(options.channel == 'dev' ? 'dev:amc' : 'fn:amc')
args.push(options.input)
args.push('--output')
args.push(options.output)
Expand Down Expand Up @@ -198,7 +198,7 @@ function getCommandArguments(options) {
args.push(options.name + '=' + options.value)
} else if (options.fn == 'mediainfo') {
args.push('-script')
args.push('fn:mediainfo')
args.push(options.channel == 'dev' ? 'dev:mediainfo' : 'fn:mediainfo')
args.push(options.input)
args.push('--mode')
args.push('raw')
Expand Down

0 comments on commit 748ecc7

Please sign in to comment.