Claude 89c3644d57 Script the Jellyfin library retirement
Matches libraries by path, never by name, and reads the name to delete back
from the API rather than assuming it: the endpoint takes a name, matches
loosely on some versions, and "YouTube" is a prefix of "YouTube (stream)".
Refuses to retire the old library unless ytstream's has episodes, so a
broken replacement cannot leave the server with no YouTube library. Dry run
by default.

Also records that /opt/youtube-automate is verified fully pushed to its bare
repo -- clean tree, specs.md tracked -- so it is safe to delete, while
/var/lib/youtube-automate holds subs.db, which is state and not in the repo.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-13 11:00:47 +01:00
2026-08-13 11:00:47 +01:00
S
Description
Streams YouTube subscriptions into Jellyfin — resolve proxy, channel discovery and NFO metadata, with a 345-test suite.
234 KiB
Languages
Python 96.8%
Shell 3.2%