XBMC: Only scan the new movie folder
This commit is contained in:
@@ -34,7 +34,7 @@ class XBMC(Notification):
|
|||||||
]
|
]
|
||||||
|
|
||||||
if not self.conf('only_first') or hosts.index(host) == 0:
|
if not self.conf('only_first') or hosts.index(host) == 0:
|
||||||
calls.append(('VideoLibrary.Scan', {}))
|
calls.append(('VideoLibrary.Scan', {'directory': data.get('destination_dir', None)}))
|
||||||
|
|
||||||
max_successful += len(calls)
|
max_successful += len(calls)
|
||||||
response = self.request(host, calls)
|
response = self.request(host, calls)
|
||||||
|
|||||||
Reference in New Issue
Block a user