extensions without placeholder
This commit is contained in:
parent
8ee529c695
commit
6cd04e2ae5
@ -106,8 +106,8 @@ storage:
|
||||
filler_path: "/mediaStorage/filler/filler-clips"
|
||||
filler_clip: "/mediaStorage/filler/filler.mp4"
|
||||
extensions:
|
||||
- "*.mp4"
|
||||
- "*.mkv"
|
||||
- ".mp4"
|
||||
- ".mkv"
|
||||
shuffle: True
|
||||
|
||||
|
||||
|
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user