You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/frontend/src/components/menu/filters/index.tsx
+85-3Lines changed: 85 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -41,6 +41,7 @@ import {
41
41
LANGUAGES,
42
42
TYPES,
43
43
DEDUPLICATOR_KEYS,
44
+
DEDUPLICATOR_TIEBREAKERS,
44
45
SMART_DETECT_ATTRIBUTES,
45
46
DEFAULT_SMART_DETECT_ATTRIBUTES,
46
47
AUDIO_CHANNELS,
@@ -3386,9 +3387,10 @@ function Content() {
3386
3387
<spanclassName="font-medium">Single Result</span>
3387
3388
<pclassName="text-sm text-[--muted] mt-1">
3388
3389
Keeps only one result from your highest priority
3389
-
service and highest priority addon. If it is a P2P
3390
-
or uncached result, it prioritises the number of
3391
-
seeders over addon priority.
3390
+
service and highest priority addon. Enabled
3391
+
tiebreakers (torrent seeders, usenet age) are
3392
+
applied at the position configured below - either
3393
+
before or after addon order is considered.
3392
3394
</p>
3393
3395
</div>
3394
3396
<div>
@@ -3644,6 +3646,86 @@ function Content() {
3644
3646
{label: 'Exclusive',value: 'exclusive'},
3645
3647
]}
3646
3648
/>
3649
+
{DEDUPLICATOR_TIEBREAKERS.map((tiebreakerType)=>{
3650
+
constlabel=
3651
+
tiebreakerType==='torrent_seeders'
3652
+
? 'Torrent Seeders Tiebreaker'
3653
+
: 'Usenet Age Tiebreaker';
3654
+
consthelp=
3655
+
tiebreakerType==='torrent_seeders'
3656
+
? 'When choosing between duplicate P2P or uncached streams, prefer the one with more seeders. Controls where in the priority order this check runs relative to addon order.'
3657
+
: 'When choosing between duplicate Usenet streams, prefer the newer post (posts released within the last 24 hours are considered equal). Controls where in the priority order this check runs relative to addon order.';
0 commit comments