Missing mediadirname in GetSubArchive function