move format and DRM status detection to get_details()