diff --git a/internal/player.go b/internal/player.go index c89737b..b43359f 100644 --- a/internal/player.go +++ b/internal/player.go @@ -46,8 +46,8 @@ func StartVideo(link string, args []string, title string) (string, error) { } // Add the title to MPV arguments - titleArg := fmt.Sprintf("--title=%s", title) - args = append(args, titleArg) + titleArgs := []string{fmt.Sprintf("--title=%s", title),fmt.Sprintf("--force-media-title=%s", title)} + args = append(args, titleArgs...) // Prepare arguments for mpv var mpvArgs []string