parameters: (self, dir_dict, dictionaries)
return_statement: return dictionaries
docstring: Parse a list made of category lists and retrieve video meta data
          return a dictionary of directory names and categories video metadata
docstring_summary: Parse a list made of category lists and retrieve video meta data
          return a dictionary of directory names and categories video metadata
docstring_tokens: Parse a list made of category lists and retrieve video meta data return a dictionary of directory names and categories video metadata
function: def getVideos(self, dir_dict, dictionaries):
          '''Parse a list made of category lists and retrieve video meta data
          return a dictionary of directory names and categories video metadata
          '''
          for sets in dir_dict:
              if not isinstance(sets[1], list):
                  if sets[0] != '': # Add the nested dictionaries display name
                      try:
                          dictionaries.append([self.massageDescription(sets[0]), self.setTreeViewIcon(self.feed_icons[self.tree_key][sets[0]])])
                      except KeyError:
                          dictionaries.append([self.massageDescription(sets[0]), self.channel_icon])
                  else:
                      dictionaries.append(['', '']) # Add the nested dictionary indicator
                  continue
              temp_dictionary = []
              for self.feed in sets[1]:
                  if '__all__' in self.config['methods']['tree.view'][self.tree_key]:
                      URL = self.config['methods']['tree.view'][self.tree_key]['__all__']
                  else:
                      URL = self.config['methods']['tree.view'][self.tree_key][self.feed]
                  temp_dictionary = self.config['item_parser'][URL[1]](self.config['methods'][URL[0]], temp_dictionary)
              if len(temp_dictionary):
                  if len(sets[0]): # Add the nested dictionaries display name
                      try:
                          dictionaries.append([self.massageDescription(sets[0]), self.setTreeViewIcon(self.feed_icons[self.tree_key][sets[0]])])
                      except KeyError:
                          dictionaries.append([self.massageDescription(sets[0]), self.channel_icon])
                  for element in temp_dictionary:
                      dictionaries.append(element)
                  if len(sets[0]):
                      dictionaries.append(['', '']) # Add the nested dictionary indicator
          return dictionaries
function_tokens: def getVideos ( self , dir_dict , dictionaries ) : for sets in dir_dict : if not isinstance ( sets [ 1 ] , list ) : if sets [ 0 ] != '' : # Add the nested dictionaries display name try : dictionaries . append ( [ self . massageDescription ( sets [ 0 ] ) , self . setTreeViewIcon ( self . feed_icons [ self . tree_key ] [ sets [ 0 ] ] ) ] ) except KeyError : dictionaries . append ( [ self . massageDescription ( sets [ 0 ] ) , self . channel_icon ] ) else : dictionaries . append ( [ '' , '' ] ) # Add the nested dictionary indicator continue temp_dictionary = [ ] for self . feed in sets [ 1 ] : if '__all__' in self . config [ 'methods' ] [ 'tree.view' ] [ self . tree_key ] : URL = self . config [ 'methods' ] [ 'tree.view' ] [ self . tree_key ] [ '__all__' ] else : URL = self . config [ 'methods' ] [ 'tree.view' ] [ self . tree_key ] [ self . feed ] temp_dictionary = self . config [ 'item_parser' ] [ URL [ 1 ] ] ( self . config [ 'methods' ] [ URL [ 0 ] ] , temp_dictionary ) if len ( temp_dictionary ) : if len ( sets [ 0 ] ) : # Add the nested dictionaries display name try : dictionaries . append ( [ self . massageDescription ( sets [ 0 ] ) , self . setTreeViewIcon ( self . feed_icons [ self . tree_key ] [ sets [ 0 ] ] ) ] ) except KeyError : dictionaries . append ( [ self . massageDescription ( sets [ 0 ] ) , self . channel_icon ] ) for element in temp_dictionary : dictionaries . append ( element ) if len ( sets [ 0 ] ) : dictionaries . append ( [ '' , '' ] ) # Add the nested dictionary indicator return dictionaries