def _index_videos(self, folders): """Index videos from the given folders and their subfolders""" if len(folders) > 0: indexer = IndexerThread() indexer.setCacheType("video") indexer.setFolders(folders) indexer.start()
def _index_music(self, folders): """Index music from the given folders and their subfolders""" if len(folders) > 0: indexer = IndexerThread() indexer.setCacheType("music") indexer.setFolders(folders) indexer.start()
def _index_images(self, folders): """Index images from the given folders and their subfolders""" if len(folders) > 0: indexer = IndexerThread() indexer.setCacheType("image") indexer.setFolders(folders) indexer.start()