diff --git a/pandora_incoming.py b/pandora_incoming.py index 9a65939..8ca55a0 100755 --- a/pandora_incoming.py +++ b/pandora_incoming.py @@ -40,6 +40,8 @@ class Incoming(object): for f in files: if f == 'defaults.json': continue + if f.split('.')[-1] not in ox.file.EXTENSIONS['video'] + ox.file.EXTENSIONS['audio']: + continue f = os.path.join(root, f) st = os.stat(f) if st.st_mtime < time.mktime(time.localtime()) - self.wait: