fix: some livestreams are not filtered out in videos filter

This commit is contained in:
Bnyro 2024-02-12 11:24:31 +01:00
parent 69cf74e590
commit 4180ddee61

View File

@ -24,7 +24,7 @@ data class StreamItem(
val shortDescription: String? = null, val shortDescription: String? = null,
val isShort: Boolean = false val isShort: Boolean = false
) : Parcelable { ) : Parcelable {
val isLive get() = (duration ?: 0L) < 0L val isLive get() = (duration != null) && (duration <= 0L)
fun toLocalPlaylistItem(playlistId: String): LocalPlaylistItem { fun toLocalPlaylistItem(playlistId: String): LocalPlaylistItem {
return LocalPlaylistItem( return LocalPlaylistItem(