mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
add function to check live stream and bump material
This commit is contained in:
parent
9f1b172f34
commit
bed05abb6f
2 changed files with 6 additions and 1 deletions
|
@ -167,7 +167,7 @@ dependencies {
|
|||
// Design & UI
|
||||
implementation("jp.wasabeef:glide-transformations:4.3.0")
|
||||
implementation("androidx.preference:preference-ktx:1.2.1")
|
||||
implementation("com.google.android.material:material:1.10.0")
|
||||
implementation("com.google.android.material:material:1.11.0")
|
||||
implementation("androidx.constraintlayout:constraintlayout:2.1.4")
|
||||
implementation("androidx.swiperefreshlayout:swiperefreshlayout:1.1.0")
|
||||
|
||||
|
|
|
@ -1392,4 +1392,9 @@ class CS3IPlayer : IPlayer {
|
|||
loadOfflinePlayer(context, it)
|
||||
}
|
||||
}
|
||||
|
||||
fun isLivestream(context: Context) {
|
||||
if (exoPlayer?.isCurrentMediaItemLive == true)
|
||||
return
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue