@@ -32,22 +32,22 @@ def replaceConfigTokens():
3232 config ['filter_movies_exclude' ] = []
3333
3434 if ('filter_shows_include' not in config ):
35- config ['filter_movies_include ' ] = []
35+ config ['filter_shows_include ' ] = []
3636
3737 if ('filter_shows_exclude' not in config ):
38- config ['filter_movies_exclude ' ] = []
38+ config ['filter_shows_exclude ' ] = []
3939
4040 if ('filter_seasons_include' not in config ):
41- config ['filter_movies_include ' ] = []
41+ config ['filter_seasons_include ' ] = []
4242
4343 if ('filter_seasons_exclude' not in config ):
44- config ['filter_movies_exclude ' ] = []
44+ config ['filter_seasons_exclude ' ] = []
4545
4646 if ('filter_episodes_include' not in config ):
47- config ['filter_movies_include ' ] = []
47+ config ['filter_episodes_include ' ] = []
4848
4949 if ('filter_episodes_exclude' not in config ):
50- config ['filter_movies_exclude ' ] = []
50+ config ['filter_episodes_exclude ' ] = []
5151
5252 if ('filter_episode_thumbnail_type' not in config ):
5353 config ['filter_episode_thumbnail_type' ] = 'episode'
@@ -224,7 +224,7 @@ def getSharedUserEmails():
224224 headers = {'Accept' : 'application/json' , 'X-Plex-Token' : token }
225225 response = requests .get (url , headers = headers )
226226
227- parsed = XML (response .text )
227+ parsed = XML (response .text . encode ( 'ascii' , 'ignore' ) )
228228 for elem in parsed :
229229 for name , value in sorted (elem .attrib .items ()):
230230 if (name == 'email' ):
0 commit comments