diff --git a/convert_myth_afl_vid_to_plex b/convert_myth_afl_vid_to_plex index 4cc8da9..84d741d 100755 --- a/convert_myth_afl_vid_to_plex +++ b/convert_myth_afl_vid_to_plex @@ -1,5 +1,7 @@ #!/bin/bash +echo "THIS SCRIPT NEEDS TO BE REVIEWED BEFORE WE RUN IT, ALSO should be in container?" +exit -1 function fix_desc() { @@ -113,6 +115,8 @@ do echo "ffmpeg -i $input_filename -codec copy -metadata title=\"$title\" -metadata description=\"$description\" -metadata album=\"$category\" -metadata date=\"$date\" /myth/opt/storage/other-videos/AFL/$year/$input_base.mp4" if [ ! -f /myth/opt/storage/other-videos/AFL/$year/$input_base.mp4 ] then + echo "REALLY WOULD HAVE DONE SOMETHING" + exit 9 ffmpeg -i $input_filename -codec copy -metadata title="$title" -metadata description="$description" -metadata album="$category" -metadata date="$date" /myth/opt/storage/other-videos/AFL/$year/$input_base.mp4 else echo "Skip: /myth/opt/storage/other-videos/AFL/$year/$input_base.mp4 -- Already exists!"