Added getMediaIDs method