CLI utility to ingest embedded json metadata from yt-dlp downloads to a SQLite database file
yt-dlp
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: Minor spelling mistake and shell script fix

0xBA5E64 0dd1541f 20c89b73

+3 -4
+2 -3
download-test-files.sh
··· 1 - #/bin/bash 2 - mkdir test-files 3 - cd test-files 1 + #!/bin/bash 2 + mkdir test-files && cd "$_" || exit 4 3 yt-dlp --merge-output-format mkv --embed-info-json -o "1.%(ext)s" https://www.youtube.com/watch?v=FBgLytbB-uE 5 4 yt-dlp --merge-output-format mkv --embed-info-json -o "2.%(ext)s" https://www.youtube.com/watch?v=l1uaX5hBByw 6 5 yt-dlp --merge-output-format mkv --embed-info-json -o "3.%(ext)s" https://www.youtube.com/watch?v=KSTQCf6BAFM
+1 -1
src/lib.rs
··· 21 21 .context(format!("Unable to parse JSON for file: {:?}", file)) 22 22 } 23 23 24 - // Renames "file" to "new_name" without changing it's directory 24 + // Renames "file" to "new_name" without changing its directory 25 25 fn rename_file(file: &PathBuf, new_name: &str) -> Result<()> { 26 26 let mut new_path = file.clone(); 27 27 new_path.set_file_name(new_name);