Skip to content

Commit

Permalink
Fixed progress not being parsed correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
MMauro94 committed Mar 1, 2020
1 parent 7c14588 commit 1fc6b72
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,9 @@ repositories {

dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
testCompile group: 'junit', name: 'junit', version: '4.12'

compile 'com.beust:klaxon:5.0.5'
implementation 'com.beust:klaxon:5.0.5'

testCompile group: 'junit', name: 'junit', version: '4.12'
testImplementation "org.jetbrains.kotlin:kotlin-test:1.3.61"
testImplementation "org.jetbrains.kotlin:kotlin-reflect:1.3.61"
}
Expand All @@ -49,7 +48,7 @@ compileTestKotlin {
// - `gpg2 --list-keys` to list keys
// - publish the key with `gpg2 --keyserver hkp://pool.sks-keyservers.net --send-keys XXXXX` where XXXXX is the id of the key
// - signing.keyId, signing.password and signing.secretKeyRingFile variables (use short key id)
// - singing.secretKeyRingFile should be a gpg file, if not present export one eith `gpg --export-secret-keys > secring.gpg`
// - singing.secretKeyRingFile should be a gpg file, if not present export one with `gpg --export-secret-keys > secring.gpg`

modifyPom {
//noinspection GroovyAssignabilityCheck
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ sealed class MkvToolnixCommandResult<COMMAND : MkvToolnixCommand<*>>(val command
}

companion object {
private val PROGRESS_PATTERN = Pattern.compile("^Progress:\\s+\\[=*\\s*]\\s+(\\d+)%$")
private val PROGRESS_PATTERN = Pattern.compile("^Progress:\\s+(\\d+)%$")
}
}

Expand Down

0 comments on commit 1fc6b72

Please sign in to comment.