mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
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 {
|
||||
fun getStringByInt(qual: Int?): String {
|
||||
return when (qual) {
|
||||
0 -> "Auto"
|
||||
Unknown.value -> ""
|
||||
P2160.value -> "4K"
|
||||
else -> "${qual}p"
|
||||
|
|
Loading…
Reference in a new issue