Exemplo n.º 1
0
	def rename(self) :
		print('Renaming')
		for folder in self.rename_watchs :
			for name in os.listdir(folder) :
				src = os.path.join(folder, name)
				if name[0] != '#' and Tools.is_media(src) :
					renamer = AVRenamer(src, self.sql)
					renamer.rename()

		tools.split_line()
Exemplo n.º 2
0
	def is_include(self, name) :
		if not dbmaker.DBMaker.is_include(self, name) :
			return False

		return Tools.is_media(name)