Fix bug that not load chapters of the previous, next episode in player
This commit is contained in:
parent
4e8fcd4993
commit
ff429fb961
|
@ -334,6 +334,7 @@ extension VideoPlayerViewModel {
|
||||||
|
|
||||||
TvShowsAPI.getEpisodes(seriesId: seriesID,
|
TvShowsAPI.getEpisodes(seriesId: seriesID,
|
||||||
userId: SessionManager.main.currentLogin.user.id,
|
userId: SessionManager.main.currentLogin.user.id,
|
||||||
|
fields: [.chapters],
|
||||||
adjacentTo: item.id,
|
adjacentTo: item.id,
|
||||||
limit: 3)
|
limit: 3)
|
||||||
.sink(receiveCompletion: { completion in
|
.sink(receiveCompletion: { completion in
|
||||||
|
|
Loading…
Reference in New Issue