chidiwilliams / buzz

Buzz transcribes and translates audio offline on your personal computer. Powered by OpenAI's Whisper.
https://chidiwilliams.github.io/buzz
MIT License
12.61k stars 948 forks source link

[Suggestion]Display Video Title Instead of URL in File Name/URL Column #978

Open mriamnobody opened 2 weeks ago

mriamnobody commented 2 weeks ago

I noticed a small thing that could make the interface a bit more user-friendly. Right now, in the GUI, the File Name/URL column displays exactly that: the filename if it’s a file, or the URL if it’s a link. When I import a file, it’s easy to see what’s what since the file name is pretty clear. But when I put in a YouTube URL, I see the full URL in that column, which doesn’t exactly make it easy to identify the video at a glance.

How about displaying the title of the YouTube video in the File Name/URL column instead of the URL itself? That way, it’s a lot easier to see which video is being transcribed right away. Also, maybe add another column right next or before the File Name/URL (could be called Source Type or something similar) to indicate whether the entry is a URL or a file. This small tweak would make it much easier to scan through transcriptions when there’s a mix of files and links.

I use this yt-dlp command, which generates an output file with the exact filename as the YouTube video title:

yt-dlp -x --audio-format wav --audio-quality 0 -o "%(title)s.%(ext)s" "URL"