def analyse_show(name):
 job = SeriesSorter(None, name, None, None)
 job.match(force=True)
 if job.is_match():
  job.get_values()
 info = job.show_info
 show_name = info.get('show_name', '').replace('.', ' ').replace('_', ' ')
 show_name = show_name.replace('  ', ' ')
 return (show_name, info.get('season_num', ''), info.get('episode_num', ''), info.get('ep_name', ''))

def analyse_show ( name ) : job = SeriesSorter ( None , name , None , None ) job . match ( force = True ) if job . is_match ( ) : job . get_values ( ) info = job . show_info show_name = info . get ( 'show_name' , '' ) . replace ( '.' , ' ' ) . replace ( '_' , ' ' ) show_name = show_name . replace ( '  ' , ' ' ) return ( show_name , info . get ( 'season_num' , '' ) , info . get ( 'episode_num' , '' ) , info . get ( 'ep_name' , '' ) )
do a quick seasonsort check and return basic facts .