mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
dont show nsfw in recently watched
This commit is contained in:
parent
7907e761ab
commit
8862b103a7
1 changed files with 3 additions and 0 deletions
|
@ -733,6 +733,9 @@ class GeneratorPlayer : FullScreenPlayer() {
|
|||
// Don't save livestream data
|
||||
if ((currentMeta as? ResultEpisode)?.tvType?.isLiveStream() == true) return
|
||||
|
||||
// Don't save NSFW data
|
||||
if ((currentMeta as? ResultEpisode)?.tvType == TvType.NSFW) return
|
||||
|
||||
val (position, duration) = posDur
|
||||
if (duration == 0L) return // idk how you achieved this, but div by zero crash
|
||||
|
||||
|
|
Loading…
Reference in a new issue