mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-13 22:00:30 +05:30
fix: some livestreams are not filtered out in videos filter
This commit is contained in:
parent
69cf74e590
commit
4180ddee61
@ -24,7 +24,7 @@ data class StreamItem(
|
||||
val shortDescription: String? = null,
|
||||
val isShort: Boolean = false
|
||||
) : Parcelable {
|
||||
val isLive get() = (duration ?: 0L) < 0L
|
||||
val isLive get() = (duration != null) && (duration <= 0L)
|
||||
|
||||
fun toLocalPlaylistItem(playlistId: String): LocalPlaylistItem {
|
||||
return LocalPlaylistItem(
|
||||
|
Loading…
Reference in New Issue
Block a user