Any reason why you are doing the detour through CDirectory::GetDirectory when CVideoDatabase::GetMoviesNav() takes a set ID parameter?