diff options
Diffstat (limited to 'abs/core/LinHES-system/find_orphans.py')
-rw-r--r-- | abs/core/LinHES-system/find_orphans.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/abs/core/LinHES-system/find_orphans.py b/abs/core/LinHES-system/find_orphans.py index c134e82..b1d78de 100644 --- a/abs/core/LinHES-system/find_orphans.py +++ b/abs/core/LinHES-system/find_orphans.py @@ -69,8 +69,9 @@ def populate(host=None): hosts = [r[0] for r in c.fetchall()] for host in hosts: for sg in DB.getStorageGroup(): - if sg.groupname in ('Videos','Banners','Coverart',\ - 'Fanart','Screenshots','Trailers'): + if sg.groupname in ('Videos','Banners','Coverart','Fanart',\ + 'Music','MusicArt', 'Photographs',\ + 'Screenshots','Trailers'): continue try: dirs,files,sizes = BE.getSGList(host, sg.groupname, sg.dirname) @@ -97,7 +98,7 @@ def populate(host=None): if name in f: unfiltered.remove(f) for f in list(unfiltered): - if not (f.endswith('.mpg') or f.endswith('.nuv')): + if not (f.endswith('.mpg') or f.endswith('.nuv') or f.endswith('.ts')): continue orphvids.append(f) unfiltered.remove(f) |