Commit a0fb5543b8
Unsigned
Layout: unified · split
internal/player.go +2 −2
| @@ -46,8 +46,8 @@ func StartVideo(link string, args []string, title string) (string, error) { | ||
| 46 | 46 | } |
| 47 | 47 | |
| 48 | 48 | // Add the title to MPV arguments |
| 49 | titleArg := fmt.Sprintf("--title=%s", title) | |
| 50 | args = append(args, titleArg) | |
| 49 | titleArgs := []string{fmt.Sprintf("--title=%s", title),fmt.Sprintf("--force-media-title=%s", title)} | |
| 50 | args = append(args, titleArgs...) | |
| 51 | 51 | |
| 52 | 52 | // Prepare arguments for mpv |
| 53 | 53 | var mpvArgs []string |