Updated function isEpisode() -> getType()

Needed in more cases and it's better to return the type and outside we can check it
Merge pull request #6 from watzenare/patch-2

Updated function isEpisode() -> getType()