#NEWLINE# def get_matches( self , video , hearing_impaired = False ) : #NEWLINE# #INDENT# matches = super ( Addic7edSubtitle , self ) . get_matches ( video , hearing_impaired = hearing_impaired ) #NEWLINE# if ( video . series and sanitized_string_equal ( self . series , video . series ) ) : #NEWLINE# #INDENT# matches . add ( 'series' ) #NEWLINE# #UNINDENT# if ( video . season and ( self . season == video . season ) ) : #NEWLINE# #INDENT# matches . add ( 'season' ) #NEWLINE# #UNINDENT# if ( video . episode and ( self . episode == video . episode ) ) : #NEWLINE# #INDENT# matches . add ( 'episode' ) #NEWLINE# #UNINDENT# if ( video . title and sanitized_string_equal ( self . title , video . title ) ) : #NEWLINE# #INDENT# matches . add ( 'title' ) #NEWLINE# #UNINDENT# if ( video . year == self . year ) : #NEWLINE# #INDENT# matches . add ( 'year' ) #NEWLINE# #UNINDENT# if ( video . release_group and self . version and ( video . release_group . lower ( ) in self . version . lower ( ) ) ) : #NEWLINE# #INDENT# matches . add ( 'release_group' ) #NEWLINE# #UNINDENT# if ( video . resolution and self . version and ( video . resolution in self . version . lower ( ) ) ) : #NEWLINE# #INDENT# matches . add ( 'resolution' ) #NEWLINE# #UNINDENT# if ( video . format and self . version and ( video . format . lower ( ) in self . version . lower ( ) ) ) : #NEWLINE# #INDENT# matches . add ( 'format' ) #NEWLINE# #UNINDENT# matches |= guess_matches ( video , guess_properties ( self . version ) , partial = True ) #NEWLINE# return matches