Re:Marion Stokes: A woman who taped 30 years of TV news
by mmcwilliams on Wednesday May 08, 2019 @09:18AM
(#19858531)
Do you maintain any kind of database or additional metadata alongside all of those video files? I only ask because the default filenames generated by youtube-dl don't give you anything more than the title and ID for a particular video and I imagine it's difficult to search among tens of thousands of media files without contextual data about the files.
[ Parent
| on HN ]
Re:Marion Stokes: A woman who taped 30 years of TV news
by rndgermandude on Wednesday May 08, 2019 @09:47AM
(#19858752)
yt-dl has a full-fledged output template system. It's just the default output template that is only the title+id.
https://github.com/ytdl-org/youtube-dl/blob/master/README.md...
Also, it has the --write-* switches, in particular --write-info-json, which allow to store metadata data. in files, and --add-metadata to embed (some) of the metadata in the file itself.
Of course, the metadata is only as good as the site in question provides + the yt-dl plugin handing a particular site supports.
Re:Marion Stokes: A woman who taped 30 years of TV news
by mmcwilliams on Wednesday May 08, 2019 @12:25PM
(#19860399)
I was familiar with the -o template system for filenames, but wasn't aware of the --write-info-json flag which is very useful to me. It makes a lot more sense than overloading the filenames with usernames and everything else only to parse it out after download.
Re:Marion Stokes: A woman who taped 30 years of TV news
by rwmj on Wednesday May 08, 2019 @09:44AM
(#19858717)
No, just filenames and whatever metadata is stored inside the file. For get_iplayer this isn't very much unless you have "AtomicParsely" installed too, but I uninstalled AP after it segfaulted once too often. Note for BBC TV programmes you can search on the "PID" (which is part of the filename), eg: try searching for "m000427z".
However I also download subtitles where available so I guess I could search those as they are just text.