extensions without placeholder

This commit is contained in:
jb-alvarado 2020-04-09 21:05:57 +02:00
parent 8ee529c695
commit 6cd04e2ae5
2 changed files with 3 additions and 3 deletions

View File

@ -106,8 +106,8 @@ storage:
filler_path: "/mediaStorage/filler/filler-clips"
filler_clip: "/mediaStorage/filler/filler.mp4"
extensions:
- "*.mp4"
- "*.mkv"
- ".mp4"
- ".mkv"
shuffle: True

View File

@ -52,7 +52,7 @@ class MediaStore:
def fill(self):
for ext in _storage.extensions:
self.store.extend(
glob.glob(os.path.join(self.folder, '**', ext),
glob.glob(os.path.join(self.folder, '**', '*{}'.format(ext)),
recursive=True))
if _storage.shuffle: