mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
fixed bug with source priority
This commit is contained in:
parent
927453d9fe
commit
c3296f3210
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue