only ignore upper case tags

This commit is contained in:
j 2018-02-05 16:19:44 +01:00
parent 9e41a778f2
commit aef2dd7790

View file

@ -198,7 +198,7 @@ class Engine:
changed = True changed = True
for playlist in self.playlists: for playlist in self.playlists:
for tag in playlist.get('tags', []): for tag in playlist.get('tags', []):
if tag.islower() and tag not in self.state['keywords']: if not tag.isupper() and tag not in self.state['keywords']:
self.state['keywords'][tag] = {'value': 0} self.state['keywords'][tag] = {'value': 0}
changed = True changed = True
if changed: if changed: