diff --git a/src/freedombone-app-peertube b/src/freedombone-app-peertube index 28a89ac7..9d32999c 100755 --- a/src/freedombone-app-peertube +++ b/src/freedombone-app-peertube @@ -108,7 +108,7 @@ function peertube_import_from_syncthing { echo " if ! grep -q \"\$video_file\" /root/.peertube_uploading; then"; echo " echo \"\$video_file\" >> /root/.peertube_uploading"; echo " peertubetitle=\$(basename \"\$video_file\" | awk -F '.' '{print \$1}' | sed 's|_| |g' | sed 's|-| |g')"; - echo " if $nodecmd \$import_script -n \$peertubetitle \$peertubensfw \$peertubeprivate -u \"\$peertubedomain\" -U \"\$peertubeuser\" --password \"\$peertubepassword\" -f \"\$video_file\"; then"; + echo " if $nodecmd \$import_script -n \"\$peertubetitle\" \$peertubensfw \$peertubeprivate -u \"\$peertubedomain\" -U \"\$peertubeuser\" --password \"\$peertubepassword\" -f \"\$video_file\"; then"; echo " echo \"\$video_file\" >> /root/.peertube_uploaded"; echo " sed -i \"/\$(basename \$video_file)/d\" /root/.peertube_uploading"; echo " exit 0";