Changed Tmdb::scan from recursive to iterative

Recursion level became to large and resulted in crashes