Merge pull request #38 from cecini/deleteusuedmedia
fix checking media and delete usued media and sync issue#32
This commit is contained in:
commit
f5dca1f1e2
@ -236,7 +236,7 @@ class SyncMediaHandler:
|
||||
# Remove media files that were removed on the client.
|
||||
media_to_remove = []
|
||||
for normname, ordinal in meta:
|
||||
if ordinal == '':
|
||||
if not ordinal:
|
||||
media_to_remove.append(self._normalize_filename(normname))
|
||||
|
||||
# Add media files that were added on the client.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user