#Zenity is a bit of a winner for knocking together simple UIs. For ages I've been using a wrapper script around #ytdlp which determines the screen resolution of the computer it's running on, updates yt-dlp, then fetches the video supplied as an argument and streams it to #mpv.
However that's not very friendly for folks who share the media device on which the script is available, so I wrapped it in Zenity to present a friendly UI for either playing a previously-watched video, playing a new video (by URL), presenting a list of previously-watched videos, and providing a means to delete one or all previously-watched videos.





👾
