aboutsummaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-09-10 13:31:24 +0200
committerdec05eba <dec05eba@protonmail.com>2021-09-10 14:07:31 +0200
commit6eb8d7fbcbc64bcb89083ab46d591d9f9ed5b388 (patch)
treeacfd12e231bc1a8fd9905b4035cf58d089f88343 /src/plugins
parentb88c367c48da452f0100bd8cffaba5d76cd83f0d (diff)
Convert file-manager --dir to absolute path
Fixes parent navigation when using relative path for --dir. Submit should not be async for peertube. Fixes peertube video length.
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/Peertube.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/Peertube.cpp b/src/plugins/Peertube.cpp
index df715c1..db55584 100644
--- a/src/plugins/Peertube.cpp
+++ b/src/plugins/Peertube.cpp
@@ -50,6 +50,7 @@ namespace QuickMedia {
if(hours >= 1) {
minutes -= (hours * 60);
seconds -= (hours * 60 * 60);
+ seconds -= (minutes * 60);
snprintf(buffer, sizeof(buffer), "%02d:%02d:%02d", hours, minutes, seconds);
} else if(minutes >= 1) {
seconds -= (minutes * 60);