@staticmethod<EOL><INDENT>def createVideo(videoQuality):<DEDENT>
if videoQuality == VIDEO_QUALITY_ORIGINAL:<EOL><INDENT>return MediaSettings('<STR_LIT>', '<STR_LIT>', '<STR_LIT>')<EOL><DEDENT>elif videoQuality < len(VIDEO_QUALITIES['<STR_LIT>']):<EOL><INDENT>return MediaSettings(VIDEO_QUALITIES['<STR_LIT>'][videoQuality],<EOL>VIDEO_QUALITIES['<STR_LIT>'][videoQuality],<EOL>VIDEO_QUALITIES['<STR_LIT>'][videoQuality])<EOL><DEDENT>else:<EOL><INDENT>raise BadRequest('<STR_LIT>')<EOL><DEDENT>
Returns a :class:`~plexapi.sync.MediaSettings` object, based on provided video quality value.

            Parameters:
                videoQuality (int): idx of quality of the video, one of VIDEO_QUALITY_* values defined in this module.

            Raises:
                :class:`plexapi.exceptions.BadRequest`: when provided unknown video quality.