autoplay fixes
* HomeFlix should atoplay the next episode evene the jump between episodes or seasons is greater than 1 * if a movie is not found at the omdb we are searching for it, this shoul work for the most movies
This commit is contained in:
@ -149,7 +149,7 @@ public class PlayerController {
|
||||
if ((duration - currentTime) < 10000 && episode != 0 && autoplay) {
|
||||
autoplay = false;
|
||||
mainWCon.getDbController().setCurrentTime(film.getStreamUrl(), 0); // reset old video start time
|
||||
FilmTabelDataType nextFilm = mainWCon.getDbController().getNextEpisode(film.getTitle(), (episode + 1), season);
|
||||
FilmTabelDataType nextFilm = mainWCon.getDbController().getNextEpisode(film.getTitle(), episode, season);
|
||||
if (nextFilm != null) {
|
||||
mediaPlayer.stop();
|
||||
init(mainWCon, player, nextFilm);
|
||||
|
Reference in New Issue
Block a user