예제 #1
0
 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()
예제 #2
0
 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()
예제 #3
0
 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()
예제 #4
0
 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()
예제 #5
0
 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()
예제 #6
0
 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()