mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-26 02:36:10 +00:00
Fix patch
make a case insensitive search
This commit is contained in:
parent
556a6e4f8e
commit
387cfafa5a
1 changed files with 2 additions and 1 deletions
|
@ -123,7 +123,8 @@ def find(dict, item):
|
||||||
return dict[item]
|
return dict[item]
|
||||||
|
|
||||||
for key,value in sorted(dict.iteritems(), key=lambda (k,v): (v,k)):
|
for key,value in sorted(dict.iteritems(), key=lambda (k,v): (v,k)):
|
||||||
if re.match(key, item):
|
|
||||||
|
if re.match(key, item, re.I):
|
||||||
return dict[key]
|
return dict[key]
|
||||||
|
|
||||||
def event(method, data=None):
|
def event(method, data=None):
|
||||||
|
|
Loading…
Reference in a new issue