forked from recloudstream/cloudstream
0 = Auto
This commit is contained in:
parent
fafc498df9
commit
615b81f600
1 changed files with 1 additions and 0 deletions
|
@ -58,6 +58,7 @@ enum class Qualities(var value: Int) {
|
||||||
companion object {
|
companion object {
|
||||||
fun getStringByInt(qual: Int?): String {
|
fun getStringByInt(qual: Int?): String {
|
||||||
return when (qual) {
|
return when (qual) {
|
||||||
|
0 -> "Auto"
|
||||||
Unknown.value -> ""
|
Unknown.value -> ""
|
||||||
P2160.value -> "4K"
|
P2160.value -> "4K"
|
||||||
else -> "${qual}p"
|
else -> "${qual}p"
|
||||||
|
|
Loading…
Reference in a new issue