quotes around video title
This commit is contained in:
parent
9f42792e6a
commit
c094386951
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue