|
@@ -108,7 +108,7 @@ function peertube_import_from_syncthing {
|
108
|
108
|
echo " if ! grep -q \"\$video_file\" /root/.peertube_uploading; then";
|
109
|
109
|
echo " echo \"\$video_file\" >> /root/.peertube_uploading";
|
110
|
110
|
echo " peertubetitle=\$(basename \"\$video_file\" | awk -F '.' '{print \$1}' | sed 's|_| |g' | sed 's|-| |g')";
|
111
|
|
- echo " if $nodecmd \$import_script -n \$peertubetitle \$peertubensfw \$peertubeprivate -u \"\$peertubedomain\" -U \"\$peertubeuser\" --password \"\$peertubepassword\" -f \"\$video_file\"; then";
|
|
111
|
+ echo " if $nodecmd \$import_script -n \"\$peertubetitle\" \$peertubensfw \$peertubeprivate -u \"\$peertubedomain\" -U \"\$peertubeuser\" --password \"\$peertubepassword\" -f \"\$video_file\"; then";
|
112
|
112
|
echo " echo \"\$video_file\" >> /root/.peertube_uploaded";
|
113
|
113
|
echo " sed -i \"/\$(basename \$video_file)/d\" /root/.peertube_uploading";
|
114
|
114
|
echo " exit 0";
|