rueckstiess/py-plex — pull request #6 by ib1984 (2014-08-22 07:06:09+00:00)
Title: Fix for getNextUnwatchedEpisode()

getNextUnwatchedEpisode() method would return any episode that (chronologically) comes after an episode with a viewCount 1. This means that if there are three episodes with viewCounts as following, the method will return "Episode 2":

- Episode 1: 1 view
- Episode 2: 2 views
- Episode 3: 0 views

With proposed changes, this situation is eliminated and "Episode 3" will be correctly returned.