🧪 Beta channel — Pre-release. Add the beta repo URL:
https://raw.githubusercontent.com/peterdu1109/NotifySync/main/repository-beta.json. On 5.5.12.6-beta7, Jellyfin offers this as a regular update.
🇬🇧 English
📝 In Short
New admin button Scan collections now — manually trigger a collection scan without waiting for the 15-minute interval. Useful when you just added a collection to monitor.
✨ What's New
- Scan collections now button — In the admin Maintenance section, next to the existing Regenerate history button, a new Scan collections now button lets you force an immediate scan of all monitored Collections (BoxSets) for newly added items. Previously the scan ran every 15 minutes only; the button lets you skip the wait when:
- You just added a new collection to monitor and want to baseline it immediately
- You're debugging why a collection isn't producing notifications and want to force a refresh
🔧 Technical details for the curious
New API endpoint POST /NotifySync/ScanCollections in NotifyController.cs:
- Admin-only authorization (same pattern as
/DeletedItemsand/Refresh) - Fire-and-forget via
Task.Runso the request returns immediately - Catches and logs exceptions to avoid leaking server errors
- No rate-limit lock (collection scans are cheap and bounded by the number of monitored collections — typically 0-10)
Symmetric admin button in ConfigurationPage.html with new localization keys scanColBtn and scanColSuccessMsg (FR + EN). The i18n translation list was updated to bind the new label.
No schema change. Internal version 5.5.12.7 for automatic update from beta7.
🇫🇷 Français
📝 En bref
Nouveau bouton admin Scanner les collections — déclenche manuellement un scan des collections sans attendre l'intervalle de 15 minutes. Utile quand tu viens d'ajouter une collection à surveiller.
✨ Quoi de Neuf
- Bouton Scanner les collections — Dans la section Maintenance de la page admin, à côté du bouton Régénérer l'historique existant, un nouveau bouton Scanner les collections permet de forcer un scan immédiat de toutes les Collections (BoxSets) surveillées pour détecter les nouveaux items ajoutés. Avant, le scan ne tournait qu'une fois toutes les 15 minutes ; le bouton te permet de skip l'attente quand :
- Tu viens d'ajouter une nouvelle collection à surveiller et veux la baseline immédiatement
- Tu débugges une collection qui ne produit pas de notifications et veux forcer un refresh
🔧 Détails techniques pour les curieux
Nouveau endpoint API POST /NotifySync/ScanCollections dans NotifyController.cs :
- Autorisation admin uniquement (même pattern que
/DeletedItemset/Refresh) - Fire-and-forget via
Task.Runpour que la requête retourne immédiatement - Capture et log les exceptions pour ne pas leaker d'erreurs serveur
- Pas de rate-limit lock (les scans de collections sont peu coûteux et bornés par le nombre de collections surveillées — typiquement 0-10)
Bouton admin symétrique dans ConfigurationPage.html avec nouvelles clés de localisation scanColBtn et scanColSuccessMsg (FR + EN). La liste de traductions i18n a été mise à jour pour binder le nouveau label.
Pas de changement de schéma. Version interne 5.5.12.7 pour update automatique depuis beta7.