nixos-config/modules/nixos/tasks/multimedia-archive
Gabriel Arazas 75ab01a683 tasks/multimedia-archive: update the import OPML script
It's certainly better and more flexible for other formats. Except I'm
still not going to cater much for odder Thunderbird feed folder
structures. This is mainly for myself anyways. I'll just avoid setting
it up like that. :)
2022-11-19 10:36:13 +08:00
..
data tasks/multimedia-archive: update to schema and restructuring 2022-10-01 12:59:17 +08:00
scripts tasks/multimedia-archive: update the import OPML script 2022-11-19 10:36:13 +08:00
default.nix tasks/multimedia-archive: add more links for gallery-dl service 2022-11-02 14:09:34 +08:00
README.adoc tasks/multimedia-archive: clean up 2022-10-03 16:43:26 +08:00

More like offline delivery, really. Just wait for the task to complete and you have your videos, pictures, music, and whatever questionable files you want to download. Its a nice offline repository for it especially that internet usually randomly disconnects so thats nice while I still have something working, yeah?

Project structure

The following listing block shows the files and folders that this project should have.

./modules/nixos/tasks/multimedia-archive/
├── data/
├── scripts/
├── default.nix
└── README.adoc

Some points of interests include…

Integrating with Newpipe subscriptions

In this task, I usually just download videos from YouTube. While I could note every preferred creator manually, I could automate them by getting a list of subscriptions from my Newpipe config which I use surprisingly more often than I thought. This is done by running the ./scripts/create-jobs-from-newpipe-db script and specifying the exported Newpipe database (as a ZIP file).

Caution

Please dont run the task with all of the subscriptions. You should select only a few categories and clean them up.

./convert-newpipe-db-to-json ~/Downloads/NewPipeData-20220714_185126.zip

You can run the script with the -h flag for more information. There are nifty things you can do with the script. Such as the following code block which you can interactively select which folders to export.

./convert-newpipe-db-to-json ~/Downloads/NewPipeData-20220714_185126.zip --list-categories \
  | fzf --multi --prompt "Choose which categories to export " \
  | ./convert-newpipe-db-to-json ~/Downloads/NewPipeData-20220714_185126.zip -o ./newpipe-db.json

Remember the larger the list, the larger the chances for a throttling. Thus, it is heavily encouraged that you clean up your list (and/or get good at organizing your categories) before activating the updated version.