adding support for Plex's allow/deny restrictions
This commit is contained in:
parent
f90497fbd2
commit
61524c4b92
@ -167,7 +167,8 @@ def get_ratings_lst(section_id):
|
|||||||
def filter_clean(filter_type):
|
def filter_clean(filter_type):
|
||||||
clean = ''
|
clean = ''
|
||||||
try:
|
try:
|
||||||
clean = dict(item.split("=") for item in filter_type.split("|"))
|
filter_type = filter_type.replace('|', '&')
|
||||||
|
clean = dict(item.split("=") for item in filter_type.split("&"))
|
||||||
for k, v in clean.items():
|
for k, v in clean.items():
|
||||||
labels = v.replace('%20', ' ')
|
labels = v.replace('%20', ' ')
|
||||||
labels = labels.split('%2C')
|
labels = labels.split('%2C')
|
||||||
|
Loading…
Reference in New Issue
Block a user