- Refactor author_menu.go to support multiple menu templates - Add Simple, Dark, and Poster menu templates - Add UI for selecting menu template and background image
27 lines
530 B
Go
27 lines
530 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"os"
|
|
"path/filepath"
|
|
)
|
|
|
|
func main() {
|
|
if len(os.Args) < 2 {
|
|
fmt.Println("Usage: ./diagnostic_tool <video_path>")
|
|
return
|
|
}
|
|
|
|
videoPath := os.Args[1]
|
|
|
|
fmt.Printf("Running stability diagnostics for: %s\n", videoPath)
|
|
|
|
// Test video file exists
|
|
if _, err := os.Stat(videoPath); os.IsNotExist(err) {
|
|
fmt.Printf("Error: video file not found: %v\n", err)
|
|
return
|
|
}
|
|
|
|
fmt.Println("Diagnostics completed successfully")
|
|
}
|