feat: dynamic provider order, hoster routing, MKV sample fix
- Replace fixed primary/secondary/tertiary slots with unlimited ordered providerOrder: DebridProvider[] list; supports as many accounts as needed - Provider list reorderable via up/down buttons in Accounts settings tab - Migration: derives order from legacy primary/secondary/tertiary if empty - Mega-Debrid split into megadebrid-api and megadebrid-web as separate providers - Add per-hoster routing (hosterRouting) to assign specific debrid provider per hoster - Fix duplicate MKV files in library: filter out sample files from Sample subfolders - Remove legacy provider-selection dropdowns from hidden settings section - Add CSS for provider-order-list/row/num/label/actions classes - Update debrid tests: add providerOrder: [] to use legacy fallback path Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
0003d786d8
commit
716b516900
+4
-5
@@ -1993,11 +1993,10 @@ export class DebridService {
|
||||
}
|
||||
}
|
||||
|
||||
const order = toProviderOrder(
|
||||
settings.providerPrimary,
|
||||
settings.providerSecondary,
|
||||
settings.providerTertiary
|
||||
);
|
||||
// Dynamische Reihenfolge: providerOrder hat Vorrang, Fallback auf altes primary/secondary/tertiary
|
||||
const order: DebridProvider[] = (settings.providerOrder && settings.providerOrder.length > 0)
|
||||
? uniqueProviderOrder(settings.providerOrder)
|
||||
: toProviderOrder(settings.providerPrimary, settings.providerSecondary, settings.providerTertiary);
|
||||
|
||||
const primary = order[0];
|
||||
if (!settings.autoProviderFallback) {
|
||||
|
||||
Reference in New Issue
Block a user