feat: simplify language support in quality profiles

- moved language field in quality profile general page
- simplify transformation for sonarr by making languages optional
This commit is contained in:
Sam Chau
2026-01-22 14:02:43 +10:30
parent 12ba7540f7
commit 4efefe63ca
23 changed files with 5153 additions and 440 deletions

View File

@@ -345,7 +345,7 @@ export class QualityProfileSyncer extends BaseSyncer {
syncedProfiles.push({
name: arrProfile.name,
action: isUpdate ? 'updated' : 'created',
language: arrProfile.language.name,
language: arrProfile.language?.name ?? 'N/A',
cutoffFormatScore: arrProfile.cutoffFormatScore,
minFormatScore: arrProfile.minFormatScore,
formats: scoredFormats