diff --git a/sunrise2mm.py b/sunrise2mm.py index 9f6240d..6b3c0d0 100644 --- a/sunrise2mm.py +++ b/sunrise2mm.py @@ -53,8 +53,7 @@ if not os.path.isdir(output_dir): print(f"Error: The directory {output_dir} does not exist. The video may not have been created yet.") exit(1) -target_secs = config.get('SUNRISE_TARGET_SECS', '10') -final_video_file = os.path.join(output_dir, f"{today_date_str}-sunrise-{target_secs}s.mp4") +final_video_file = os.path.join(output_dir, f"{today_date_str}-daily-sunrise.mp4") # Debugging: print the full path of the video file to make sure it's correct print(f"Looking for video file: {final_video_file}") diff --git a/sunrise_video.10s.sh b/sunrise_video.10s.sh index 70b9485..04082bd 100644 --- a/sunrise_video.10s.sh +++ b/sunrise_video.10s.sh @@ -116,7 +116,7 @@ speed_up_factor=$(echo "scale=3; $total_seconds / $target_duration" | bc) echo "Calculated speed-up factor: $speed_up_factor" # Output filename for the second movie (speed-adjusted) -final_video="$output_dir/$current_date-sunrise-${SUNRISE_TARGET_SECS}s.mp4" +final_video="$output_dir/$current_date-daily-sunrise.mp4" # Apply the speed adjustment using the setpts filter echo "Adjusting video speed to ${SUNRISE_TARGET_SECS}s..."