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.

#!/bin/bash
notify-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 &

yt-dlp -f b --simulate --exec video:'vlc --play-and-exit --meta-title=%(title)#q %(url)#q' $1
Map: Alma Pond
Map: Dobbins Memorial State Forest
Map: Little John Wildlife Management Area
Map: Otter Lake
Map: South Hill State Forest (Oneida 23)
Map: Summer Hill State Forest
Map: West Parishville State Forest
SVGZ Graphic: albany-snow-depth
SVGZ Graphic: college-rate
SVGZ Graphic: december-holidays
SVGZ Graphic: ht2025
SVGZ Graphic: lt2025
SVGZ Graphic: Places Named Bethlehem
SVGZ Graphic: Towns with Most Similiar Land Cover to the Town of Bethlehem
Terrain Map: Happy World Milk Day!
Photo: Mud Lock of the Old Oswego Canal
Photo: Vanderwhacker Brook
Photo: Quiet Waters
Photo: Golden Arches 🍔
Photo: Kipp Hill From Pratt Rock
Photo: No, it doesn't work
Photo: Pitch Pine Forest
Photo: Wooded Meadows In Northern Catskills
Photo: Shoreline
Photo: Double Bridges

Leave a Reply

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