indexer: v1.1

Now prints clip info, as well as properly shows a "+" when working on a clip.
This commit is contained in:
LightArrowsEXE 2020-06-09 21:45:23 +02:00
parent d43fa249fc
commit 91d1294b9a

View file

@ -18,7 +18,7 @@ except ModuleNotFoundError:
__author__ = "LightArrowsEXE"
__license__ = 'MIT'
__version__ = '1.0'
__version__ = '1.1'
def index():
@ -28,8 +28,8 @@ def index():
for f in files:
mime = mimetypes.types_map.get(path.splitext(f)[-1], "")
if mime.startswith("video/") or f.endswith('.m2ts') or f.endswith('.mkv'):
print(f"[*] Generating index file for {f}")
src(f, force_lsmas=args.force)
print(f"[+] Generating index file for {f}")
print(src(f, force_lsmas=args.force))
if __name__ == "__main__":