quality map from YouTube and atexit handler