fix(playlists): the push side spends its own allowance, so a scripted loop cannot drain the shared YouTube budget

push-plan reads the live list and push reads and writes it, both against the
instance-wide budget, and neither had a limit. They now share one per-user
allowance of 20 calls per 10 minutes, far above a person's plan-then-push,
refused as playlist/push_cooldown with a sentence in both languages.
This commit is contained in:
2026-11-06 04:11:36 +01:00
parent 5a93a9a8e7
commit 995a493bd3
4 changed files with 83 additions and 3 deletions
@@ -89,6 +89,7 @@
"watch_later_not_pushable": "The Watch later list can't be sent to YouTube",
"watch_later_undeletable": "The Watch later list can't be deleted",
"youtube_editing_off": "Enable YouTube editing in Settings first",
"push_cooldown": "You've synced to YouTube many times just now — give it a few minutes",
"quota_exceeded": "Not enough YouTube quota left today for this sync",
"sync_busy": "This playlist is already syncing with YouTube — try again when it finishes",
"sync_all_busy": "Your playlists are already syncing with YouTube — try again when it finishes"
@@ -89,6 +89,7 @@
"watch_later_not_pushable": "A „Megnézem később” listát nem lehet a YouTube-ra küldeni",
"watch_later_undeletable": "A „Megnézem később” lista nem törölhető",
"youtube_editing_off": "Előbb engedélyezd a YouTube-szerkesztést a Beállításokban",
"push_cooldown": "Az imént sokszor szinkronizáltál a YouTube-ra — várj pár percet",
"quota_exceeded": "Mára nem maradt elég YouTube-keret ehhez a szinkronhoz",
"sync_busy": "Ez a lista épp szinkronizál a YouTube-bal — próbáld újra, ha végzett",
"sync_all_busy": "A listáid épp szinkronizálnak a YouTube-bal — próbáld újra, ha végzett"