code: def _parse_videoname(cls, videoname):
          
          info = {
              'title': '',
              'season': 0,
              'episode': 0,
              'sub_title': '',
              'resolution': '',
              'source': '',
              'audio_encoding': '',
              'video_encoding': '',
          }
          last_index = 0
          m = cls.RE_SEASON_EPISODE.search(videoname)
          if m:
              info['season'] = int(m.group('season'))
              info['episode'] = int(m.group('episode'))
              s, e = m.span()
              info['title'] = videoname[0:s].strip('.')
              last_index = e
          else:
              m = cls.RE_SEASON.search(videoname)
              if m:
                  info['season'] = int(m.group('season'))
                  s, e = m.span()
                  info['title'] = videoname[0:s].strip('.')
                  last_index = e
  
          m = cls.RE_RESOLUTION.search(videoname)
          if m:
              info['resolution'] = m.group('resolution')
              s, e = m.span()
              if info['title'] == '':
                  info['title'] = videoname[0:s].strip('.')
  
              if info['season'] > 0 and info['episode'] > 0:
                  info['sub_title'] = videoname[last_index:s].strip('.')
              last_index = e
  
          if info['title'] == '':
              info['title'] = videoname
  
          m = cls.RE_SOURCE.search(videoname)
          if m:
              info['source'] = m.group('source')
  
          m = cls.RE_AUDIO_ENC.search(videoname)
          if m:
              info['audio_encoding'] = m.group('audio_encoding')
  
          m = cls.RE_VIDEO_ENC.search(videoname)
          if m:
              info['video_encoding'] = m.group('video_encoding')
          return info
docs: parse videoname and return video info dict
          video info contains:
          - title, the name of video
          - sub_title, the sub_title of video
          - resolution,
          - source,
          -
          - season, defaults to 0
          - episode, defaults to 0