extensions without placeholder
This commit is contained in:
parent
8ee529c695
commit
6cd04e2ae5
@ -106,8 +106,8 @@ storage:
|
|||||||
filler_path: "/mediaStorage/filler/filler-clips"
|
filler_path: "/mediaStorage/filler/filler-clips"
|
||||||
filler_clip: "/mediaStorage/filler/filler.mp4"
|
filler_clip: "/mediaStorage/filler/filler.mp4"
|
||||||
extensions:
|
extensions:
|
||||||
- "*.mp4"
|
- ".mp4"
|
||||||
- "*.mkv"
|
- ".mkv"
|
||||||
shuffle: True
|
shuffle: True
|
||||||
|
|
||||||
|
|
||||||
|
@ -52,7 +52,7 @@ class MediaStore:
|
|||||||
def fill(self):
|
def fill(self):
|
||||||
for ext in _storage.extensions:
|
for ext in _storage.extensions:
|
||||||
self.store.extend(
|
self.store.extend(
|
||||||
glob.glob(os.path.join(self.folder, '**', ext),
|
glob.glob(os.path.join(self.folder, '**', '*{}'.format(ext)),
|
||||||
recursive=True))
|
recursive=True))
|
||||||
|
|
||||||
if _storage.shuffle:
|
if _storage.shuffle:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user