popcorn-official/popcorn-api — pull request #12 by ivangranados (2014-05-14 04:41:54+00:00)
Title: related to issue #440 on popcorn-app, number of seasons always showing one more.

Its seems like the keys method is taking in account the eztv_api_x last "dateBased" property thus resulting in numSeasons being off by one every time.

hope this helps.