Skip to content

Commit

Permalink
fixed bug with source priority
Browse files Browse the repository at this point in the history
  • Loading branch information
LagradOst committed Jul 14, 2023
1 parent 927453d commit c3296f3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ class GeneratorPlayer : FullScreenPlayer() {
closestQuality(linkData?.quality)
)
val sourcePriority =
QualityDataHelper.getSourcePriority(qualityProfile, linkData?.name)
QualityDataHelper.getSourcePriority(qualityProfile, linkData?.source)

// negative because we want to sort highest quality first
return qualityPriority + sourcePriority
Expand Down Expand Up @@ -1410,4 +1410,4 @@ class GeneratorPlayer : FullScreenPlayer() {
}
}
}
}
}

0 comments on commit c3296f3

Please sign in to comment.