media lib - better error message