News for hackers. Stuff that matters.
Re:Marion Stokes: A woman who taped 30 years of TV news by rwmj on Wednesday May 08, 2019 @06:23AM (#19857495)
I only watch TV through downloads (get_iplayer & youtube-dl), and I have kept it all [edit: only things I downloaded intending to watch, not all TV]. This is since about 2008:

    fs:/volume1/media   14T  8.0T  5.6T  59% /mnt/media
The reason? Why not - disks are cheap. The hard thing is deleting something since I don't know if I might want to watch it again. And at almost no real cost I don't have to make that decision.

Edit: Some stats: 20,269 TV programmes; 11,830 radio programmes; 925 movies

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.
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.

Re:Marion Stokes: A woman who taped 30 years of TV news by vthriller on Wednesday May 08, 2019 @07:48AM (#19857911)
I wish I started doing similar thing way earlier, because now I can't refer to a lot of content that vanished from the net for a number of reasons (creators getting bored, flagged out from youtube by bots that random haters set up, bogus copyright claims from impostors that upload all sorts of stolen things into contentid in order to create a quick buck, UMG taking down videos from music theory channels despite it obviously falling under the Fair Use and so on)
Re:Marion Stokes: A woman who taped 30 years of TV news by rwmj on Wednesday May 08, 2019 @09:45AM (#19858731)
For music on youtube, this trivial ytdl wrapper is essential:

    $ cat bin/youtube-mp3 
    #!/bin/bash -
    exec $HOME/d/youtube-dl/youtube-dl -t -x --audio-format=mp3 "$@"
Saved to my Squeezebox library, it's available to play forever.
Re:Marion Stokes: A woman who taped 30 years of TV news by qplex on Wednesday May 08, 2019 @10:11AM (#19858934)
Doesn't the audio quality take a hit when you transcode to MP3 though?
Re:Marion Stokes: A woman who taped 30 years of TV news by asveikau on Wednesday May 08, 2019 @11:46AM (#19859974)
YouTube audio is usually aac. Sometimes I have saved audio as an .aac file without re-encoding. (Not using the same scripts, what I have done typically is get the mp4 and do: ffmpeg -i foo.mp4 -acodec copy foo.aac)

Any audio player worth its salt should play .aac files. I think for the most common types [low-complexity] the patents are expired. (Curious if somebody has one that doesn't.)

Re:Marion Stokes: A woman who taped 30 years of TV news by rwmj on Wednesday May 08, 2019 @10:40AM (#19859217)
Possibly, but on the flip side neither my car nor my first-gen SLIMP3 can play other formats natively.
Re:Marion Stokes: A woman who taped 30 years of TV news by rhizome on Wednesday May 08, 2019 @11:52AM (#19860041)
Probably, but it's already down to ~150kb by the time you download it.
Re:Marion Stokes: A woman who taped 30 years of TV news by R_Macdonald on Monday May 13, 2019 @03:29PM (#19903008)
Would you consider donating a copy of the TV news programs and radio to the internet archive?
Re:Marion Stokes: A woman who taped 30 years of TV news by brian_herman__ on Wednesday May 08, 2019 @10:20AM (#19859001)
Nice man!