Watching Youtube Videos in VLC

I use external-app-launcher and yt-dlp to watch Youtube videos in VLC without ads and full-screen. By using yt-dlp, it tends to be most up to date to Youtube changes, which isn’t always the case with VLC or other players like freetube.

I have this file saved in my ~/bin directory as pyt to load the video in VLC.

1#!/bin/bash
2notify-send -t 15000 "Loading Youtube Video in VLC ..." "Should open in a few seconds." -i /usr/share/icons/Adwaita/symbolic/mimetypes/video-x-generic-symbolic.svg &
3 
4yt-dlp -f b --simulate --exec video:'vlc --play-and-exit --meta-title=%(title)#q %(url)#q' $1

Leave a Reply

Your email address will not be published. Required fields are marked *