added filter for Stream Down for last played
parent
b68ffbbe7c
commit
c8bf207ce5
|
|
@ -5,6 +5,7 @@ import android.content.res.ColorStateList
|
||||||
|
|
||||||
const val tag = "fr.forum_thalie.tsumugi"
|
const val tag = "fr.forum_thalie.tsumugi"
|
||||||
const val noConnectionValue = "No connection"
|
const val noConnectionValue = "No connection"
|
||||||
|
const val streamDownValue = "Tsumugi est HS !"
|
||||||
var colorBlue: Int = 0
|
var colorBlue: Int = 0
|
||||||
var colorWhited: Int = 0
|
var colorWhited: Int = 0
|
||||||
var colorGreenList: ColorStateList? = ColorStateList.valueOf(0)
|
var colorGreenList: ColorStateList? = ColorStateList.valueOf(0)
|
||||||
|
|
|
||||||
|
|
@ -165,7 +165,7 @@ class PlayerStore {
|
||||||
//if (lp.isNotEmpty()){
|
//if (lp.isNotEmpty()){
|
||||||
val n = Song()
|
val n = Song()
|
||||||
n.copy(currentSongBackup)
|
n.copy(currentSongBackup)
|
||||||
if (n.title.value != noConnectionValue)
|
if (n.title.value != noConnectionValue && n.title.value != streamDownValue)
|
||||||
lp.add(0, n)
|
lp.add(0, n)
|
||||||
currentSongBackup.copy(currentSong)
|
currentSongBackup.copy(currentSong)
|
||||||
isLpUpdated.value = true
|
isLpUpdated.value = true
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue