forked from j62/ctbrec
1
0
Fork 0

Reactivate "rerun post-processing" for standalone

This commit is contained in:
0xboobface 2020-05-10 12:19:06 +02:00
parent e6dae3b2af
commit 2956098d2c
2 changed files with 2 additions and 3 deletions

View File

@ -1,5 +1,6 @@
3.6.3
========================
* Reactivated "Rerun post-processing" for the standalone version
* Fixed regression in last release. Only a few players would start
* Fixed possible error in code for merged downloads

View File

@ -422,9 +422,7 @@ public class RecordingsTab extends Tab implements TabSelectionListener {
MenuItem rerunPostProcessing = new MenuItem("Rerun Post-Processing");
rerunPostProcessing.setOnAction(e -> triggerPostProcessing(first));
if (first.getStatus() == FAILED || first.getStatus() == WAITING || first.getStatus() == FINISHED) {
if (!first.isSingleFile() || first.isSingleFile() && first.getPath().endsWith(".part")) {
contextMenu.getItems().add(rerunPostProcessing);
}
contextMenu.getItems().add(rerunPostProcessing);
}
if(recordings.size() > 1) {