Commit 03e3d9dda2
Unsigned
Layout: unified · split
internal/player.go +4
| @@ -123,6 +123,10 @@ func StartVideo(link string, args []string, title string, anime *Anime) (string, | |||
| 123 | command = exec.Command("mpv", mpvArgs...) | 123 | command = exec.Command("mpv", mpvArgs...) |
| 124 | 124 | ||
| 125 | } else { | 125 | } else { |
| 126 | Log("Failed to get mpv path.") | ||
| 127 | return "", err | ||
| 128 | } | ||
| 129 | } else { | ||
| 126 | // Create command for Unix-like systems | 130 | // Create command for Unix-like systems |
| 127 | command = exec.Command("mpv", mpvArgs...) | 131 | command = exec.Command("mpv", mpvArgs...) |
| 128 | } | 132 | } |