mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2024-12-23 00:20:32 +00:00
Update LocalPlaylistFragment.java
This commit is contained in:
parent
01d996a5c0
commit
c2762d3b5e
@ -420,7 +420,8 @@ public class LocalPlaylistFragment extends BaseLocalListFragment<List<PlaylistSt
|
|||||||
playlistItem.getStreamId());
|
playlistItem.getStreamId());
|
||||||
final StreamStateEntity streamStateEntity = streamStatesIter.next();
|
final StreamStateEntity streamStateEntity = streamStatesIter.next();
|
||||||
final long duration = playlistItem.toStreamInfoItem().getDuration();
|
final long duration = playlistItem.toStreamInfoItem().getDuration();
|
||||||
if (indexInHistory < 0 || (streamStateEntity != null && !streamStateEntity.isFinished(duration))) {
|
if (indexInHistory < 0 || (streamStateEntity != null
|
||||||
|
&& !streamStateEntity.isFinished(duration))) {
|
||||||
notWatchedItems.add(playlistItem);
|
notWatchedItems.add(playlistItem);
|
||||||
} else if (!thumbnailVideoRemoved
|
} else if (!thumbnailVideoRemoved
|
||||||
&& playlistManager.getPlaylistThumbnail(playlistId)
|
&& playlistManager.getPlaylistThumbnail(playlistId)
|
||||||
|
Loading…
Reference in New Issue
Block a user