Add utf-8 support on title_exclude
And fix configuration example since it is case sensitive
This commit is contained in:
parent
af3c64549e
commit
c15a195ea1
2 changed files with 2 additions and 2 deletions
|
|
@ -12,7 +12,7 @@ directory=Le zapping
|
||||||
backend=canalplus
|
backend=canalplus
|
||||||
max_results=10
|
max_results=10
|
||||||
pattern=les guignols de l'info
|
pattern=les guignols de l'info
|
||||||
title_exclude=la semaine
|
title_exclude=La semaine
|
||||||
directory=Les guignols de l'info
|
directory=Les guignols de l'info
|
||||||
|
|
||||||
[ondar]
|
[ondar]
|
||||||
|
|
|
||||||
|
|
@ -230,7 +230,7 @@ for section in config.sections():
|
||||||
backend_name=config.get(section, "backend")
|
backend_name=config.get(section, "backend")
|
||||||
pattern=config.get(section, "pattern")
|
pattern=config.get(section, "pattern")
|
||||||
if config.has_option(section, "title_exclude"):
|
if config.has_option(section, "title_exclude"):
|
||||||
title_exclude=config.get(section, "title_exclude").split('|')
|
title_exclude=config.get(section, "title_exclude").decode('utf-8').split('|')
|
||||||
else:
|
else:
|
||||||
title_exclude=[]
|
title_exclude=[]
|
||||||
if config.has_option(section, "id_regexp"):
|
if config.has_option(section, "id_regexp"):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue