configs: a Domain with Archives is kept when missing from domains.yaml

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Roland 2026-10-07 13:33:08 -06:00
parent 11a462c0e1
commit d399cfa2f0
No known key found for this signature in database
GPG key ID: 1BA620CE6C9A4680

View file

@ -74,6 +74,8 @@ Imports are designed to be safe, but you should know the rules:
* Removing a Channel, Playlist or Repo from a non-empty `channels.yaml` / `playlists.yaml` / `repos.yaml` **will
delete it** (and a Channel's videos; a Repo's files are kept) on the next import — this is how you can remove
Collections by editing configs.
* Removing a Domain from `domains.yaml` only deletes it if it has no Archives. A Domain with Archives is kept (and written
back to `domains.yaml` the next time Domains are saved), because deleting it would also delete its Archives.
* Removing a Tag from `tags.yaml` only deletes it if it is no longer used by anything.
## Backup and Restore