2019-03-27 21:24:04,216 (2ffc6c1548) :  INFO (core:349) - Starting framework core - Version: 2.6.3, Build: 33830be (Thu Feb 07 11:09:59 UTC 2019)
2019-03-27 21:24:04,216 (2ffc6c1548) :  DEBUG (core:361) - Using the standard policy
2019-03-27 21:24:04,217 (2ffc6c1548) :  DEBUG (core:450) - Starting runtime component.
2019-03-27 21:24:04,226 (2ffc6c1548) :  DEBUG (core:450) - Starting caching component.
2019-03-27 21:24:04,226 (2ffc6c1548) :  DEBUG (core:450) - Starting data component.
2019-03-27 21:24:04,227 (2ffc6c1548) :  DEBUG (core:450) - Starting networking component.
2019-03-27 21:24:04,228 (2ffc6c1548) :  DEBUG (networking:284) - Loaded HTTP cookies
2019-03-27 21:24:04,229 (2ffc6c1548) :  DEBUG (networking:452) - Setting the default network timeout to 20.0
2019-03-27 21:24:04,231 (2ffc6c1548) :  DEBUG (core:450) - Starting localization component.
2019-03-27 21:24:04,231 (2ffc6c1548) :  INFO (localization:409) - Setting the default locale to en-us
2019-03-27 21:24:04,232 (2ffc6c1548) :  DEBUG (core:450) - Starting messaging component.
2019-03-27 21:24:04,233 (2ffc6c1548) :  DEBUG (core:450) - Starting debugging component.
2019-03-27 21:24:04,234 (2ffc6c1548) :  DEBUG (core:450) - Starting services component.
2019-03-27 21:24:04,235 (30003ef4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/system/messaging/clear_events/com.plexapp.agents.htbackdrops'
2019-03-27 21:24:04,235 (2ffc6c1548) :  DEBUG (core:450) - Starting myplex component.
2019-03-27 21:24:04,238 (2ffc6c1548) :  DEBUG (core:450) - Starting notifications component.
2019-03-27 21:24:04,641 (2ffc6c1548) :  DEBUG (accessor:68) - Creating a new model access point for provider com.plexapp.agents.htbackdrops in namespace 'metadata'
2019-03-27 21:24:04,656 (2ffc6c1548) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/resourceHashes'
2019-03-27 21:24:04,698 (300042f4f0) :  DEBUG (services:265) - Plug-in is not daemonized - loading services from system
2019-03-27 21:24:04,698 (2ffc6c1548) :  DEBUG (runtime:1117) - Created a thread named 'load_all_services'
2019-03-27 21:24:04,700 (300042f4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X0J1bmRsZVNlcnZpY2U6QWxsU2VydmljZXM_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMApyMAo_'
2019-03-27 21:24:04,702 (300062b4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400'
2019-03-27 21:24:04,702 (2ffc6c1548) :  DEBUG (runtime:1117) - Created a thread named 'get_server_info'
2019-03-27 21:24:04,703 (2ffc6c1548) :  DEBUG (core:150) - Finished starting framework core
2019-03-27 21:24:04,703 (2ffc6c1548) :  DEBUG (core:560) - Loading plug-in code
2019-03-27 21:24:04,775 (2ffc6c1548) :  DEBUG (core:566) - Finished loading plug-in code
2019-03-27 21:24:04,776 (2ffc6c1548) :  DEBUG (messaging:69) - Exposing function ArtistSearch for remote access
2019-03-27 21:24:04,777 (2ffc6c1548) :  DEBUG (agentkit:1115) - Creating new agent class called HTBDAgent
2019-03-27 21:24:04,796 (2ffc6c1548) :  DEBUG (agentkit:933) - Updating agent information: [{'media_types': ['Artist'], 'accepts_from': None, 'fallback_agent': None, 'contributes_to': ['com.plexapp.agents.lastfm'], 'languages': ['ab', 'aa', 'af', 'ak', 'sq', 'am', 'ar', 'an', 'hy', 'as', 'av', 'ae', 'ay', 'az', 'bm', 'ba', 'eu', 'be', 'bn', 'bh', 'bi', 'bs', 'pb', 'br', 'bg', 'my', 'ca', 'ch', 'ce', 'ny', 'zh', 'cu', 'cv', 'kw', 'co', 'cr', 'hr', 'cs', 'da', 'dv', 'nl', 'dz', 'en', 'eo', 'et', 'ee', 'fo', 'fj', 'fi', 'fr', 'fy', 'ff', 'gd', 'gl', 'lg', 'ka', 'de', 'el', 'gn', 'gu', 'ht', 'ha', 'he', 'hz', 'hi', 'ho', 'hu', 'is', 'io', 'ig', 'id', 'ia', 'ie', 'iu', 'ik', 'ga', 'it', 'ja', 'jv', 'kl', 'kn', 'kr', 'ks', 'kk', 'km', 'ki', 'rw', 'ky', 'kv', 'kg', 'ko', 'kj', 'ku', 'lo', 'la', 'lv', 'li', 'ln', 'lt', 'lu', 'lb', 'mk', 'mg', 'ms', 'ml', 'mt', 'gv', 'mi', 'mr', 'mh', 'mo', 'mn', 'na', 'nv', 'ng', 'ne', 'xn', 'nd', 'no', 'nb', 'nn', 'oc', 'oj', 'or', 'om', 'os', 'pi', 'pa', 'fa', 'pl', 'pt', 'ps', 'qu', 'rm', 'ro', 'rn', 'ru', 'se', 'sm', 'sg', 'sa', 'sc', 'sr', 'sn', 'ii', 'sd', 'si', 'sk', 'sl', 'so', 'st', 'nr', 'es', 'su', 'sw', 'ss', 'sv', 'tl', 'ty', 'tg', 'ta', 'tt', 'te', 'th', 'bo', 'ti', 'to', 'ts', 'tn', 'tr', 'tk', 'tw', 'ug', 'uk', 'ur', 'uz', 've', 'vi', 'vo', 'wa', 'cy', 'wo', 'xh', 'yi', 'yo', 'za', 'zu'], 'persist_stored_files': True, 'version': 0, 'primary_provider': False, 'prefs': False, 'name': 'Home Theater Backdrops'}]
2019-03-27 21:24:04,800 (2ffc6c1548) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X0FnZW50U2VydmljZTpVcGRhdGVJbmZv/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQo2CmRpY3QKbGlzdApkaWN0Cmxpc3QKbGlzdApsaXN0CjIKczMwCmNvbS5wbGV4YXBwLmFnZW50cy5odGJhY2tkcm9wc3MxMAppZGVudGlmaWVycjEKczEwCmFnZW50X2luZm8xCnIyCjEwCnIzCnMxMQptZWRpYV90eXBlc25zMTIKYWNjZXB0c19mcm9tbnMxNApmYWxsYmFja19hZ2VudHI0CnMxNApjb250cmlidXRlc190b3I1CnM5Cmxhbmd1YWdlc2IxczIwCnBlcnNpc3Rfc3RvcmVkX2ZpbGVzaTAKczcKdmVyc2lvbmIwczE2CnByaW1hcnlfcHJvdmlkZXJiMHM1CnByZWZzczIyCkhvbWUgVGhlYXRlciBCYWNrZHJvcHNzNApuYW1lMQpzNgpBcnRpc3QxCnMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtMTg3CnMyCmFiczIKYWFzMgphZnMyCmFrczIKc3FzMgphbXMyCmFyczIKYW5zMgpoeXMyCmFzczIKYXZzMgphZXMyCmF5czIKYXpzMgpibXMyCmJhczIKZXVzMgpiZXMyCmJuczIKYmhzMgpiaXMyCmJzczIKcGJzMgpicnMyCmJnczIKbXlzMgpjYXMyCmNoczIKY2VzMgpueXMyCnpoczIKY3VzMgpjdnMyCmt3czIKY29zMgpjcnMyCmhyczIKY3NzMgpkYXMyCmR2czIKbmxzMgpkenMyCmVuczIKZW9zMgpldHMyCmVlczIKZm9zMgpmanMyCmZpczIKZnJzMgpmeXMyCmZmczIKZ2RzMgpnbHMyCmxnczIKa2FzMgpkZXMyCmVsczIKZ25zMgpndXMyCmh0czIKaGFzMgpoZXMyCmh6czIKaGlzMgpob3MyCmh1czIKaXNzMgppb3MyCmlnczIKaWRzMgppYXMyCmllczIKaXVzMgppa3MyCmdhczIKaXRzMgpqYXMyCmp2czIKa2xzMgprbnMyCmtyczIKa3NzMgpra3MyCmttczIKa2lzMgpyd3MyCmt5czIKa3ZzMgprZ3MyCmtvczIKa2pzMgprdXMyCmxvczIKbGFzMgpsdnMyCmxpczIKbG5zMgpsdHMyCmx1czIKbGJzMgpta3MyCm1nczIKbXNzMgptbHMyCm10czIKZ3ZzMgptaXMyCm1yczIKbWhzMgptb3MyCm1uczIKbmFzMgpudnMyCm5nczIKbmVzMgp4bnMyCm5kczIKbm9zMgpuYnMyCm5uczIKb2NzMgpvanMyCm9yczIKb21zMgpvc3MyCnBpczIKcGFzMgpmYXMyCnBsczIKcHRzMgpwc3MyCnF1czIKcm1zMgpyb3MyCnJuczIKcnVzMgpzZXMyCnNtczIKc2dzMgpzYXMyCnNjczIKc3JzMgpzbnMyCmlpczIKc2RzMgpzaXMyCnNrczIKc2xzMgpzb3MyCnN0czIKbnJzMgplc3MyCnN1czIKc3dzMgpzc3MyCnN2czIKdGxzMgp0eXMyCnRnczIKdGFzMgp0dHMyCnRlczIKdGhzMgpib3MyCnRpczIKdG9zMgp0c3MyCnRuczIKdHJzMgp0a3MyCnR3czIKdWdzMgp1a3MyCnVyczIKdXpzMgp2ZXMyCnZpczIKdm9zMgp3YXMyCmN5czIKd29zMgp4aHMyCnlpczIKeW9zMgp6YXMyCnp1cjAK'
2019-03-27 21:24:04,846 (300062b4f0) :  DEBUG (core:538) - Machine identifier is ecd029ccd1468f2c2bde7f05bbe2b97b2407570e
2019-03-27 21:24:04,873 (300062b4f0) :  DEBUG (core:539) - Server version is 1.14.1.5490-33830be0b
2019-03-27 21:24:05,020 (300042f4f0) :  DEBUG (services:362) - Loaded services
2019-03-27 21:24:05,032 (300052d4f0) :  DEBUG (services:438) - No shared code to load
2019-03-27 21:24:05,036 (2ffc6c1548) :  INFO (core:611) - Started plug-in
2019-03-27 21:24:05,037 (2ffc6c1548) :  DEBUG (socketinterface:160) - Starting socket server
2019-03-27 21:24:05,038 (2ffc6c1548) :  DEBUG (runtime:1117) - Created a thread named 'start'
2019-03-27 21:24:05,039 (2ffc6c1548) :  INFO (socketinterface:184) - Socket server started on port 38101
2019-03-27 21:24:05,040 (2ffc6c1548) :  INFO (pipeinterface:25) - Entering run loop
2019-03-27 21:24:05,040 (2ffc6c1548) :  DEBUG (runtime:717) - Handling request GET /:/prefixes
2019-03-27 21:24:05,044 (2ffc6c1548) :  DEBUG (runtime:814) - Found route matching /:/prefixes
2019-03-27 21:24:05,045 (2ffc6c1548) :  DEBUG (runtime:924) - Response: [200] MediaContainer, 155 bytes
2019-03-27 21:24:05,052 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTMKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1ZhcmlvdXMlMjBBcnRpc3RzP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozMjY0MXMyCmlkcjAK
2019-03-27 21:24:05,054 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 21:24:05,085 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTMKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1ZhcmlvdXMlMjBBcnRpc3RzP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozMjY0MXMyCmlkcjAK
2019-03-27 21:24:05,086 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '32641', 'guid': 'com.plexapp.agents.lastfm://Various%20Artists?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 21:24:05,087 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/32641/tree'
2019-03-27 21:24:05,355 (300052d4f0) :  DEBUG (accessor:68) - Creating a new read-only model access point for provider com.plexapp.agents.lastfm in namespace 'metadata'
2019-03-27 21:24:05,366 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Various%20Artists?lang=en
2019-03-27 21:24:05,369 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/c/5038b2eb1102b83f6ec48c3295dac0c1e7e057c.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 21:24:05,374 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=various+artists&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:24:05,450 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=various+artists&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:24:06,458 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=various+artists&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:24:06,502 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=various+artists&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:24:07,512 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '32641', 'guid': 'com.plexapp.agents.lastfm://Various%20Artists?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 21:24:07,518 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 21:24:07,518 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:24:07,535 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vVmFyaW91cyUyMEFydGlzdHM%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 21:24:07,537 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 21:24:07,539 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vVmFyaW91cyUyMEFydGlzdHM@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 21:24:07,541 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 21:24:07,541 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:49:09,249 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0FteSUyMFdpbmVob3VzZT9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzYxNjZzMgppZHIwCg__
2019-03-27 21:49:09,251 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 21:49:09,253 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0FteSUyMFdpbmVob3VzZT9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzYxNjZzMgppZHIwCg__
2019-03-27 21:49:09,254 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '36166', 'guid': 'com.plexapp.agents.lastfm://Amy%20Winehouse?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 21:49:09,257 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/36166/tree'
2019-03-27 21:49:09,283 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Amy%20Winehouse?lang=en
2019-03-27 21:49:09,284 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/d/660c7d02935fdb3b972d5708762e4e1b7aca7de.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 21:49:09,294 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=amy+winehouse&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:49:09,363 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=amy+winehouse&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:49:10,370 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=amy+winehouse&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:49:10,409 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=amy+winehouse&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:49:11,417 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '36166', 'guid': 'com.plexapp.agents.lastfm://Amy%20Winehouse?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 21:49:11,419 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 21:49:11,420 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:49:11,441 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vQW15JTIwV2luZWhvdXNlP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 21:49:11,443 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 21:49:11,445 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vQW15JTIwV2luZWhvdXNlP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 21:49:11,447 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 21:49:11,448 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:50:25,719 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDIKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL01vbG9rbz9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzY3MjJzMgppZHIwCg__
2019-03-27 21:50:25,721 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 21:50:25,724 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDIKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL01vbG9rbz9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzY3MjJzMgppZHIwCg__
2019-03-27 21:50:25,725 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '36722', 'guid': 'com.plexapp.agents.lastfm://Moloko?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 21:50:25,729 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/36722/tree'
2019-03-27 21:50:25,750 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Moloko?lang=en
2019-03-27 21:50:25,751 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/f/ecbf35c250de3802239183def7dd26c04d63313.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 21:50:25,762 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=moloko&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:50:25,885 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=moloko&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:50:26,894 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=moloko&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:50:26,936 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=moloko&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:50:27,858 (30010fd4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL01vZGpvP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozNjcyNnMyCmlkcjAK
2019-03-27 21:50:27,861 (30010fd4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 21:50:27,864 (30010fd4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL01vZGpvP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozNjcyNnMyCmlkcjAK
2019-03-27 21:50:27,865 (30010fd4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '36726', 'guid': 'com.plexapp.agents.lastfm://Modjo?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 21:50:27,868 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/36726/tree'
2019-03-27 21:50:27,884 (30010fd4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Modjo?lang=en
2019-03-27 21:50:27,886 (30010fd4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/0/6aec7a358d51dbdb9f361a38b7f207f0729571b.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 21:50:27,896 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=modjo&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:50:27,935 (30010fd4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=modjo&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:50:27,944 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '36722', 'guid': 'com.plexapp.agents.lastfm://Moloko?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 21:50:27,947 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 21:50:27,948 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:50:27,972 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Mgpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTW9sb2tvP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 21:50:27,974 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 21:50:27,976 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Mgpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTW9sb2tvP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 21:50:27,979 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 21:50:27,980 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:50:28,606 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTMKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1VuLWtub3duJTIwYXJ0aXN0P2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozNjcxOXMyCmlkcjAK
2019-03-27 21:50:28,608 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 21:50:28,611 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTMKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1VuLWtub3duJTIwYXJ0aXN0P2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozNjcxOXMyCmlkcjAK
2019-03-27 21:50:28,612 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '36719', 'guid': 'com.plexapp.agents.lastfm://Un-known%20artist?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 21:50:28,614 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/36719/tree'
2019-03-27 21:50:28,633 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Un-known%20artist?lang=en
2019-03-27 21:50:28,635 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/0/bd5d4daa1bede2190ab0e005592b1cffa24c15e.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 21:50:28,646 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=un-known+artist&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:50:28,694 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=un-known+artist&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:50:28,943 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=modjo&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:50:28,985 (30010fd4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=modjo&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:50:29,699 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=un-known+artist&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:50:29,742 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=un-known+artist&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:50:29,863 (30011fb4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDcKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1ZhbiUyMEhhbGVuP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozNjczMHMyCmlkcjAK
2019-03-27 21:50:29,865 (30011fb4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 21:50:29,868 (30011fb4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDcKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1ZhbiUyMEhhbGVuP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozNjczMHMyCmlkcjAK
2019-03-27 21:50:29,869 (30011fb4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '36730', 'guid': 'com.plexapp.agents.lastfm://Van%20Halen?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 21:50:29,872 (30011fb4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/36730/tree'
2019-03-27 21:50:29,886 (30011fb4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Van%20Halen?lang=en
2019-03-27 21:50:29,887 (30011fb4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/7/564d85e3f2fa0d9b45d3d68f9d26733ac2c275e.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 21:50:29,900 (30011fb4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=van+halen&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:50:29,940 (30011fb4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=van+halen&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:50:29,993 (30010fd4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '36726', 'guid': 'com.plexapp.agents.lastfm://Modjo?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 21:50:29,996 (30010fd4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 21:50:29,996 (30010fd4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:50:30,016 (30010fd4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTW9kam8%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 21:50:30,018 (30010fd4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 21:50:30,020 (30010fd4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTW9kam8@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 21:50:30,022 (30010fd4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 21:50:30,023 (30010fd4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:50:30,751 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '36719', 'guid': 'com.plexapp.agents.lastfm://Un-known%20artist?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 21:50:30,753 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 21:50:30,754 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:50:30,773 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vVW4ta25vd24lMjBhcnRpc3Q%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 21:50:30,775 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 21:50:30,778 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vVW4ta25vd24lMjBhcnRpc3Q@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 21:50:30,780 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 21:50:30,780 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:50:30,948 (30011fb4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=van+halen&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:50:30,995 (30011fb4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=van+halen&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:50:32,004 (30011fb4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '36730', 'guid': 'com.plexapp.agents.lastfm://Van%20Halen?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 21:50:32,007 (30011fb4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 21:50:32,007 (30011fb4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:50:32,028 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Nwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vVmFuJTIwSGFsZW4%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 21:50:32,030 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 21:50:32,032 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Nwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vVmFuJTIwSGFsZW4@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 21:50:32,035 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 21:50:32,035 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:50:42,926 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDYKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1N5c3RlbSUyMEY%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM2NzM3czIKaWRyMAo_
2019-03-27 21:50:42,928 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 21:50:42,931 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDYKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1N5c3RlbSUyMEY@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM2NzM3czIKaWRyMAo_
2019-03-27 21:50:42,932 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '36737', 'guid': 'com.plexapp.agents.lastfm://System%20F?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 21:50:42,936 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/36737/tree'
2019-03-27 21:50:42,953 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://System%20F?lang=en
2019-03-27 21:50:42,954 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/6/12d7b2d7b66c74038e4af8e70f9ff387848afb5.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 21:50:42,965 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=system+f&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:50:43,006 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=system+f&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:50:43,122 (30010fd4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0xvc3QlMjBXaXRuZXNzP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozNjc0M3MyCmlkcjAK
2019-03-27 21:50:43,124 (30010fd4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 21:50:43,126 (30010fd4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0xvc3QlMjBXaXRuZXNzP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozNjc0M3MyCmlkcjAK
2019-03-27 21:50:43,127 (30010fd4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '36743', 'guid': 'com.plexapp.agents.lastfm://Lost%20Witness?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 21:50:43,128 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/36743/tree'
2019-03-27 21:50:43,143 (30010fd4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Lost%20Witness?lang=en
2019-03-27 21:50:43,144 (30010fd4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/c/e30b689cde10caa224bd969ae30caabaef9a833.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 21:50:43,154 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=lost+witness&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:50:43,201 (30010fd4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=lost+witness&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:50:44,012 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=system+f&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:50:44,055 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=system+f&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:50:44,207 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=lost+witness&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:50:44,253 (30010fd4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=lost+witness&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:50:45,064 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '36737', 'guid': 'com.plexapp.agents.lastfm://System%20F?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 21:50:45,067 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 21:50:45,068 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:50:45,089 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Ngpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vU3lzdGVtJTIwRj9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 21:50:45,091 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 21:50:45,101 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Ngpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vU3lzdGVtJTIwRj9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 21:50:45,104 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 21:50:45,105 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:50:45,261 (30010fd4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '36743', 'guid': 'com.plexapp.agents.lastfm://Lost%20Witness?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 21:50:45,264 (30010fd4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 21:50:45,264 (30010fd4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:50:45,318 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTG9zdCUyMFdpdG5lc3M%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 21:50:45,320 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 21:50:45,323 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTG9zdCUyMFdpdG5lc3M@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 21:50:45,326 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 21:50:45,327 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:50:52,667 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDcKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0RhZnQlMjBQdW5rP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozNjc0OXMyCmlkcjAK
2019-03-27 21:50:52,669 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 21:50:52,672 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDcKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0RhZnQlMjBQdW5rP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozNjc0OXMyCmlkcjAK
2019-03-27 21:50:52,674 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '36749', 'guid': 'com.plexapp.agents.lastfm://Daft%20Punk?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 21:50:52,677 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/36749/tree'
2019-03-27 21:50:52,701 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Daft%20Punk?lang=en
2019-03-27 21:50:52,702 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/e/f03642cec6fd9d24d9dff5b7a1e44e635114684.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 21:50:52,713 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=daft+punk&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:50:52,761 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=daft+punk&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:50:53,772 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=daft+punk&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:50:53,819 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=daft+punk&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:50:54,825 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '36749', 'guid': 'com.plexapp.agents.lastfm://Daft%20Punk?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 21:50:54,829 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 21:50:54,830 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:50:54,865 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Nwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vRGFmdCUyMFB1bms%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 21:50:54,867 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 21:50:54,870 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Nwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vRGFmdCUyMFB1bms@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 21:50:54,873 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 21:50:54,874 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:50:56,233 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDcKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0VuZXJneSUyMDUyP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozNjc1NXMyCmlkcjAK
2019-03-27 21:50:56,235 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 21:50:56,237 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDcKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0VuZXJneSUyMDUyP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozNjc1NXMyCmlkcjAK
2019-03-27 21:50:56,238 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '36755', 'guid': 'com.plexapp.agents.lastfm://Energy%2052?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 21:50:56,244 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/36755/tree'
2019-03-27 21:50:56,266 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Energy%2052?lang=en
2019-03-27 21:50:56,267 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/8/35f1d9c18120b790c3c00149fbe40dca12805d6.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 21:50:56,280 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=energy+52&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:50:56,328 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=energy+52&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:50:57,335 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=energy+52&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:50:57,376 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=energy+52&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:50:58,383 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '36755', 'guid': 'com.plexapp.agents.lastfm://Energy%2052?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 21:50:58,391 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 21:50:58,392 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:50:58,433 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Nwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vRW5lcmd5JTIwNTI%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 21:50:58,436 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 21:50:58,438 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Nwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vRW5lcmd5JTIwNTI@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 21:50:58,441 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 21:50:58,442 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:51:03,143 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0RCJTIwQm91bGV2YXJkP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozNjc2MXMyCmlkcjAK
2019-03-27 21:51:03,145 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 21:51:03,149 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0RCJTIwQm91bGV2YXJkP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozNjc2MXMyCmlkcjAK
2019-03-27 21:51:03,150 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '36761', 'guid': 'com.plexapp.agents.lastfm://DB%20Boulevard?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 21:51:03,154 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/36761/tree'
2019-03-27 21:51:03,170 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://DB%20Boulevard?lang=en
2019-03-27 21:51:03,171 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/3/dcdce7a8e5aeb0f5023568ace3f257401aec28b.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 21:51:03,181 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=db+boulevard&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:51:03,221 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=db+boulevard&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:51:04,228 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=db+boulevard&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:51:04,268 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=db+boulevard&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:51:05,276 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '36761', 'guid': 'com.plexapp.agents.lastfm://DB%20Boulevard?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 21:51:05,279 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 21:51:05,279 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:51:05,300 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vREIlMjBCb3VsZXZhcmQ%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 21:51:05,301 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 21:51:05,304 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vREIlMjBCb3VsZXZhcmQ@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 21:51:05,306 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 21:51:05,306 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:51:13,086 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0ZhdGJveSUyMFNsaW0%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM2NzY3czIKaWRyMAo_
2019-03-27 21:51:13,087 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 21:51:13,090 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0ZhdGJveSUyMFNsaW0@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM2NzY3czIKaWRyMAo_
2019-03-27 21:51:13,091 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '36767', 'guid': 'com.plexapp.agents.lastfm://Fatboy%20Slim?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 21:51:13,094 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/36767/tree'
2019-03-27 21:51:13,108 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Fatboy%20Slim?lang=en
2019-03-27 21:51:13,109 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/4/a1042fba9d15d1747bfe923c0fbfe1dc60d36f1.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 21:51:13,118 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=fatboy+slim&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:51:13,170 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=fatboy+slim&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:51:14,175 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=fatboy+slim&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:51:14,213 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=fatboy+slim&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:51:15,220 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '36767', 'guid': 'com.plexapp.agents.lastfm://Fatboy%20Slim?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 21:51:15,222 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 21:51:15,223 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:51:15,267 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vRmF0Ym95JTIwU2xpbT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 21:51:15,269 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 21:51:15,272 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vRmF0Ym95JTIwU2xpbT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 21:51:15,274 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 21:51:15,275 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:51:28,502 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL09hc2lzP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozNjc3M3MyCmlkcjAK
2019-03-27 21:51:28,505 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 21:51:28,507 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL09hc2lzP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozNjc3M3MyCmlkcjAK
2019-03-27 21:51:28,508 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '36773', 'guid': 'com.plexapp.agents.lastfm://Oasis?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 21:51:28,509 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/36773/tree'
2019-03-27 21:51:28,524 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Oasis?lang=en
2019-03-27 21:51:28,525 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/8/0ed07654760a5713297db83654739f472c1811c.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 21:51:28,534 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=oasis&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:51:28,582 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=oasis&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:51:29,588 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=oasis&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:51:29,634 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=oasis&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:51:30,640 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '36773', 'guid': 'com.plexapp.agents.lastfm://Oasis?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 21:51:30,642 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 21:51:30,643 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:51:30,655 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/TWVzc2FnZUtpdDpBcnRpc3RTZWFyY2g_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMQpzNgpCLkIuRS5zMTEKYXJ0aXN0X25hbWVyMAo_
2019-03-27 21:51:30,658 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/TWVzc2FnZUtpdDpBcnRpc3RTZWFyY2g_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMQpzNgpCLkIuRS5zMTEKYXJ0aXN0X25hbWVyMAo_
2019-03-27 21:51:30,664 (30010fd4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vT2FzaXM%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 21:51:30,666 (30010fd4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 21:51:30,669 (30010fd4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vT2FzaXM@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 21:51:30,673 (30010fd4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 21:51:30,674 (30010fd4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:51:30,674 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=b+b+e+&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:51:30,727 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=b+b+e+&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:51:31,735 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=b+b+e+&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:51:31,783 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=b+b+e+&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:51:32,789 (300052d4f0) :  CRITICAL (messaging:108) - Exception in _process_function_call (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/messaging.py", line 103, in _process_function_call
    result = self._functions[name](*args, **kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 21:51:32,792 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 21:51:32,793 (300052d4f0) :  DEBUG (runtime:924) - Response: [404] NoneType, 0 bytes
2019-03-27 21:51:37,106 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDgKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1RpbmElMjBBcmVuYT9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzY3ODVzMgppZHIwCg__
2019-03-27 21:51:37,108 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 21:51:37,111 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDgKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1RpbmElMjBBcmVuYT9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzY3ODVzMgppZHIwCg__
2019-03-27 21:51:37,111 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '36785', 'guid': 'com.plexapp.agents.lastfm://Tina%20Arena?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 21:51:37,115 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/36785/tree'
2019-03-27 21:51:37,131 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Tina%20Arena?lang=en
2019-03-27 21:51:37,132 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/5/bb030f29cbbb0c6b2e02ebe7dd0ab7df34a3a5c.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 21:51:37,141 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=tina+arena&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:51:37,187 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=tina+arena&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:51:38,195 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=tina+arena&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:51:38,245 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=tina+arena&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:51:39,253 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '36785', 'guid': 'com.plexapp.agents.lastfm://Tina%20Arena?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 21:51:39,256 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 21:51:39,256 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:51:39,287 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vVGluYSUyMEFyZW5hP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 21:51:39,289 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 21:51:39,291 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vVGluYSUyMEFyZW5hP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 21:51:39,294 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 21:51:39,294 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:51:41,535 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDgKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0VsdG9uJTIwSm9obj9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzY3OTFzMgppZHIwCg__
2019-03-27 21:51:41,537 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 21:51:41,540 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDgKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0VsdG9uJTIwSm9obj9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzY3OTFzMgppZHIwCg__
2019-03-27 21:51:41,541 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '36791', 'guid': 'com.plexapp.agents.lastfm://Elton%20John?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 21:51:41,545 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/36791/tree'
2019-03-27 21:51:41,560 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Elton%20John?lang=en
2019-03-27 21:51:41,561 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/2/bbba710eb36cb4f8d8a255cc4f974ff093a98b9.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 21:51:41,588 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=elton+john&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:51:41,628 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=elton+john&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:51:42,635 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=elton+john&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:51:42,686 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=elton+john&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:51:43,694 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '36791', 'guid': 'com.plexapp.agents.lastfm://Elton%20John?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 21:51:43,697 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 21:51:43,697 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:51:43,718 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vRWx0b24lMjBKb2huP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 21:51:43,720 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 21:51:43,722 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vRWx0b24lMjBKb2huP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 21:51:43,724 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 21:51:43,725 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:51:46,156 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL01pa2UlMjBLb2dsaW4%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM2Nzk3czIKaWRyMAo_
2019-03-27 21:51:46,158 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 21:51:46,161 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL01pa2UlMjBLb2dsaW4@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM2Nzk3czIKaWRyMAo_
2019-03-27 21:51:46,162 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '36797', 'guid': 'com.plexapp.agents.lastfm://Mike%20Koglin?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 21:51:46,166 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/36797/tree'
2019-03-27 21:51:46,201 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Mike%20Koglin?lang=en
2019-03-27 21:51:46,202 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/8/342fb7aa52344e34ca0fccb0a1991365fe9cee8.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 21:51:46,217 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=mike+koglin&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:51:46,266 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=mike+koglin&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:51:47,276 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=mike+koglin&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:51:47,337 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=mike+koglin&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:51:48,345 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '36797', 'guid': 'com.plexapp.agents.lastfm://Mike%20Koglin?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 21:51:48,348 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 21:51:48,348 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:51:48,370 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTWlrZSUyMEtvZ2xpbj9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 21:51:48,373 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 21:51:48,375 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTWlrZSUyMEtvZ2xpbj9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 21:51:48,378 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 21:51:48,379 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:51:50,159 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0x1Y2lkP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozNjgwM3MyCmlkcjAK
2019-03-27 21:51:50,161 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 21:51:50,163 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0x1Y2lkP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozNjgwM3MyCmlkcjAK
2019-03-27 21:51:50,164 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '36803', 'guid': 'com.plexapp.agents.lastfm://Lucid?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 21:51:50,167 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/36803/tree'
2019-03-27 21:51:50,181 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Lucid?lang=en
2019-03-27 21:51:50,182 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/9/bb669eb643c771d500ef7c8cfb053ee4f9fdd05.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 21:51:50,192 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=lucid&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:51:50,231 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=lucid&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:51:51,235 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=lucid&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:51:51,276 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=lucid&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:51:52,285 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '36803', 'guid': 'com.plexapp.agents.lastfm://Lucid?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 21:51:52,287 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 21:51:52,288 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:51:52,310 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTHVjaWQ%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 21:51:52,312 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 21:51:52,314 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTHVjaWQ@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 21:51:52,317 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 21:51:52,317 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:51:56,583 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNzcKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1lvdXNzb3UlMjBOJTI3RG91ciUyMCUyNiUyME5lbmVoJTIwQ2hlcnJ5P2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozNjgxMHMyCmlkcjAK
2019-03-27 21:51:56,584 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 21:51:56,587 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNzcKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1lvdXNzb3UlMjBOJTI3RG91ciUyMCUyNiUyME5lbmVoJTIwQ2hlcnJ5P2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozNjgxMHMyCmlkcjAK
2019-03-27 21:51:56,588 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '36810', 'guid': 'com.plexapp.agents.lastfm://Youssou%20N%27Dour%20%26%20Neneh%20Cherry?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 21:51:56,591 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/36810/tree'
2019-03-27 21:51:56,618 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Youssou%20N%27Dour%20%26%20Neneh%20Cherry?lang=en
2019-03-27 21:51:56,619 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/1/c65e7858e87744f3cfb486ae7d21737cee56a28.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 21:51:56,630 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=youssou+n%27dour+%26+neneh+cherry&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:51:56,702 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=youssou+n%27dour+%26+neneh+cherry&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:51:57,707 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=youssou+n%27dour+%26+neneh+cherry&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:51:57,753 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=youssou+n%27dour+%26+neneh+cherry&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:51:58,761 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '36810', 'guid': 'com.plexapp.agents.lastfm://Youssou%20N%27Dour%20%26%20Neneh%20Cherry?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 21:51:58,764 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 21:51:58,764 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:51:58,790 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM3Nwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vWW91c3NvdSUyME4lMjdEb3VyJTIwJTI2JTIwTmVuZWglMjBDaGVycnk%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 21:51:58,793 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 21:51:58,796 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM3Nwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vWW91c3NvdSUyME4lMjdEb3VyJTIwJTI2JTIwTmVuZWglMjBDaGVycnk@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 21:51:58,799 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 21:51:58,799 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:52:02,914 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDMKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1Nhc2glMjE%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM2ODE4czIKaWRyMAo_
2019-03-27 21:52:02,916 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 21:52:02,919 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDMKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1Nhc2glMjE@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM2ODE4czIKaWRyMAo_
2019-03-27 21:52:02,920 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '36818', 'guid': 'com.plexapp.agents.lastfm://Sash%21?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 21:52:02,924 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/36818/tree'
2019-03-27 21:52:02,948 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Sash%21?lang=en
2019-03-27 21:52:02,950 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/c/31ceacf37e5514a0d19944eaac6ac2913dfd423.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 21:52:02,968 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=sash%21&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:52:03,017 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=sash%21&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:52:04,027 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=sash%21&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:52:04,067 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=sash%21&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:52:05,071 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '36818', 'guid': 'com.plexapp.agents.lastfm://Sash%21?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 21:52:05,075 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 21:52:05,076 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:52:05,098 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Mwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vU2FzaCUyMT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 21:52:05,101 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 21:52:05,105 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Mwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vU2FzaCUyMT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 21:52:05,109 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 21:52:05,110 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:52:10,442 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0xldmVsbGVycz9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzY4MjdzMgppZHIwCg__
2019-03-27 21:52:10,444 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 21:52:10,446 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0xldmVsbGVycz9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzY4MjdzMgppZHIwCg__
2019-03-27 21:52:10,447 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '36827', 'guid': 'com.plexapp.agents.lastfm://Levellers?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 21:52:10,450 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/36827/tree'
2019-03-27 21:52:10,471 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Levellers?lang=en
2019-03-27 21:52:10,472 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/0/ed54e4db2715daaa4f4c9df398317e4c4e4edc4.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 21:52:10,486 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=levellers&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:52:10,531 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=levellers&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:52:11,536 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=levellers&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:52:11,579 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=levellers&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:52:12,587 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '36827', 'guid': 'com.plexapp.agents.lastfm://Levellers?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 21:52:12,590 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 21:52:12,590 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:52:12,608 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0NQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTGV2ZWxsZXJzP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 21:52:12,610 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 21:52:12,612 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0NQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTGV2ZWxsZXJzP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 21:52:12,614 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 21:52:12,615 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:52:18,793 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzMTI2CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm06Ly8lRTMlODIlQjUlRTMlODIlQjYlRTMlODMlQjMlRTMlODIlQUElRTMlODMlQkMlRTMlODMlQUIlRTMlODIlQjklRTMlODIlQkYlRTMlODMlQkMlRTMlODIlQkE%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM2ODMzczIKaWRyMAo_
2019-03-27 21:52:18,794 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 21:52:18,797 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzMTI2CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm06Ly8lRTMlODIlQjUlRTMlODIlQjYlRTMlODMlQjMlRTMlODIlQUElRTMlODMlQkMlRTMlODMlQUIlRTMlODIlQjklRTMlODIlQkYlRTMlODMlQkMlRTMlODIlQkE@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM2ODMzczIKaWRyMAo_
2019-03-27 21:52:18,798 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '36833', 'guid': 'com.plexapp.agents.lastfm://%E3%82%B5%E3%82%B6%E3%83%B3%E3%82%AA%E3%83%BC%E3%83%AB%E3%82%B9%E3%82%BF%E3%83%BC%E3%82%BA?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 21:52:18,799 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/36833/tree'
2019-03-27 21:52:18,814 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://%E3%82%B5%E3%82%B6%E3%83%B3%E3%82%AA%E3%83%BC%E3%83%AB%E3%82%B9%E3%82%BF%E3%83%BC%E3%82%BA?lang=en
2019-03-27 21:52:18,815 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/5/1a41938ff382e72d4ac2aa86bc6156a0d7c606c.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 21:52:18,823 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=%E3%82%B5%E3%82%B6%E3%83%B3%E3%82%AA%E3%83%BC%E3%83%AB%E3%82%B9%E3%82%BF%E3%83%BC%E3%82%BA&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:52:18,865 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=%E3%82%B5%E3%82%B6%E3%83%B3%E3%82%AA%E3%83%BC%E3%83%AB%E3%82%B9%E3%82%BF%E3%83%BC%E3%82%BA&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:52:19,874 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=%E3%82%B5%E3%82%B6%E3%83%B3%E3%82%AA%E3%83%BC%E3%83%AB%E3%82%B9%E3%82%BF%E3%83%BC%E3%82%BA&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:52:19,914 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=%E3%82%B5%E3%82%B6%E3%83%B3%E3%82%AA%E3%83%BC%E3%83%AB%E3%82%B9%E3%82%BF%E3%83%BC%E3%82%BA&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:52:20,924 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '36833', 'guid': 'com.plexapp.agents.lastfm://%E3%82%B5%E3%82%B6%E3%83%B3%E3%82%AA%E3%83%BC%E3%83%AB%E3%82%B9%E3%82%BF%E3%83%BC%E3%82%BA?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 21:52:20,926 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 21:52:20,927 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:52:20,944 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXMxMjYKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovLyVFMyU4MiVCNSVFMyU4MiVCNiVFMyU4MyVCMyVFMyU4MiVBQSVFMyU4MyVCQyVFMyU4MyVBQiVFMyU4MiVCOSVFMyU4MiVCRiVFMyU4MyVCQyVFMyU4MiVCQT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 21:52:20,948 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 21:52:20,951 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXMxMjYKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovLyVFMyU4MiVCNSVFMyU4MiVCNiVFMyU4MyVCMyVFMyU4MiVBQSVFMyU4MyVCQyVFMyU4MyVBQiVFMyU4MiVCOSVFMyU4MiVCRiVFMyU4MyVCQyVFMyU4MiVCQT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 21:52:20,957 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 21:52:20,958 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:52:29,257 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTMKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1JvYmJpZSUyMFdpbGxpYW1zP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozNjgzN3MyCmlkcjAK
2019-03-27 21:52:29,259 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 21:52:29,262 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTMKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1JvYmJpZSUyMFdpbGxpYW1zP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozNjgzN3MyCmlkcjAK
2019-03-27 21:52:29,263 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '36837', 'guid': 'com.plexapp.agents.lastfm://Robbie%20Williams?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 21:52:29,272 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/36837/tree'
2019-03-27 21:52:29,316 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Robbie%20Williams?lang=en
2019-03-27 21:52:29,317 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/0/7251a54e974c0ee30f614cca71fa460bbec52cf.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 21:52:29,331 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=robbie+williams&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:52:29,374 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=robbie+williams&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:52:30,382 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=robbie+williams&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:52:30,423 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=robbie+williams&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:52:31,430 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '36837', 'guid': 'com.plexapp.agents.lastfm://Robbie%20Williams?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 21:52:31,434 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 21:52:31,434 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:52:31,453 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vUm9iYmllJTIwV2lsbGlhbXM%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 21:52:31,455 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 21:52:31,457 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vUm9iYmllJTIwV2lsbGlhbXM@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 21:52:31,460 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 21:52:31,461 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:52:41,522 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDgKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1RoZSUyMFJhc211cz9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzY4NTVzMgppZHIwCg__
2019-03-27 21:52:41,524 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 21:52:41,526 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDgKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1RoZSUyMFJhc211cz9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzY4NTVzMgppZHIwCg__
2019-03-27 21:52:41,527 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '36855', 'guid': 'com.plexapp.agents.lastfm://The%20Rasmus?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 21:52:41,531 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/36855/tree'
2019-03-27 21:52:41,548 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://The%20Rasmus?lang=en
2019-03-27 21:52:41,549 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/6/1b5f1e0919c41d4c3d5d5dc4e588b2b5bda09c7.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 21:52:41,568 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+rasmus&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:52:41,604 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+rasmus&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:52:42,613 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+rasmus&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:52:42,656 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+rasmus&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:52:43,664 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '36855', 'guid': 'com.plexapp.agents.lastfm://The%20Rasmus?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 21:52:43,668 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 21:52:43,669 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:52:43,689 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vVGhlJTIwUmFzbXVzP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 21:52:43,691 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 21:52:43,694 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vVGhlJTIwUmFzbXVzP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 21:52:43,696 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 21:52:43,697 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:52:44,549 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDMKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1JveGV0dGU%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM2ODcyczIKaWRyMAo_
2019-03-27 21:52:44,552 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 21:52:44,555 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDMKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1JveGV0dGU@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM2ODcyczIKaWRyMAo_
2019-03-27 21:52:44,556 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '36872', 'guid': 'com.plexapp.agents.lastfm://Roxette?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 21:52:44,557 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/36872/tree'
2019-03-27 21:52:44,587 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Roxette?lang=en
2019-03-27 21:52:44,588 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/1/8be6f421c5c02241c4e925dde40189e5777c889.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 21:52:44,609 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=roxette&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:52:44,649 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=roxette&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:52:45,656 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=roxette&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:52:45,705 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=roxette&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:52:46,711 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '36872', 'guid': 'com.plexapp.agents.lastfm://Roxette?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 21:52:46,714 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 21:52:46,715 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:52:46,735 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Mwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vUm94ZXR0ZT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 21:52:46,737 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 21:52:46,739 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Mwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vUm94ZXR0ZT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 21:52:46,741 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 21:52:46,742 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:53:16,586 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0hlYXJ0P2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozNjkxNXMyCmlkcjAK
2019-03-27 21:53:16,588 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 21:53:16,591 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0hlYXJ0P2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozNjkxNXMyCmlkcjAK
2019-03-27 21:53:16,592 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '36915', 'guid': 'com.plexapp.agents.lastfm://Heart?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 21:53:16,595 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/36915/tree'
2019-03-27 21:53:16,613 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Heart?lang=en
2019-03-27 21:53:16,614 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/7/213b128b7989579f9b6c304181b03413fea3194.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 21:53:16,636 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=heart&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:53:16,678 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=heart&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:53:17,684 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=heart&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:53:17,725 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=heart&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:53:18,732 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '36915', 'guid': 'com.plexapp.agents.lastfm://Heart?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 21:53:18,738 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 21:53:18,739 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:53:18,781 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vSGVhcnQ%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 21:53:18,783 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 21:53:18,785 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vSGVhcnQ@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 21:53:18,788 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 21:53:18,788 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:53:23,511 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0t5Z28%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM2OTI3czIKaWRyMAo_
2019-03-27 21:53:23,513 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 21:53:23,516 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0t5Z28@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM2OTI3czIKaWRyMAo_
2019-03-27 21:53:23,516 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '36927', 'guid': 'com.plexapp.agents.lastfm://Kygo?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 21:53:23,521 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/36927/tree'
2019-03-27 21:53:23,541 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Kygo?lang=en
2019-03-27 21:53:23,542 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/3/e4ac7c6d8c37cf0a36266faa536317433c988f4.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 21:53:23,563 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=kygo&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:53:23,603 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=kygo&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:53:24,611 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=kygo&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:53:24,651 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=kygo&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:53:25,659 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '36927', 'guid': 'com.plexapp.agents.lastfm://Kygo?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 21:53:25,662 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 21:53:25,663 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:53:25,684 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vS3lnbz9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 21:53:25,686 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 21:53:25,689 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vS3lnbz9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 21:53:25,692 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 21:53:25,692 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:53:43,495 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDYKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL01hcm9vbiUyMDU%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM2OTQxczIKaWRyMAo_
2019-03-27 21:53:43,497 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 21:53:43,499 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDYKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL01hcm9vbiUyMDU@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM2OTQxczIKaWRyMAo_
2019-03-27 21:53:43,500 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '36941', 'guid': 'com.plexapp.agents.lastfm://Maroon%205?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 21:53:43,501 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/36941/tree'
2019-03-27 21:53:43,526 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Maroon%205?lang=en
2019-03-27 21:53:43,527 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/e/2716ec8b3552e3037564a4eed788f9fdc916c30.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 21:53:43,541 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=maroon+5&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:53:43,580 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=maroon+5&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:53:44,588 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=maroon+5&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:53:44,647 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=maroon+5&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:53:45,660 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '36941', 'guid': 'com.plexapp.agents.lastfm://Maroon%205?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 21:53:45,670 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 21:53:45,671 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:53:45,692 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Ngpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTWFyb29uJTIwNT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 21:53:45,694 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 21:53:45,696 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Ngpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTWFyb29uJTIwNT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 21:53:45,699 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 21:53:45,699 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:54:00,224 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/TWVzc2FnZUtpdDpBcnRpc3RTZWFyY2g_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMQpzNwpNYXJvb241czExCmFydGlzdF9uYW1lcjAK
2019-03-27 21:54:00,226 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 21:54:00,228 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/TWVzc2FnZUtpdDpBcnRpc3RTZWFyY2g_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMQpzNwpNYXJvb241czExCmFydGlzdF9uYW1lcjAK
2019-03-27 21:54:00,235 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=maroon5&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:54:00,272 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=maroon5&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:54:01,280 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=maroon5&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:54:01,332 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=maroon5&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:54:02,340 (300052d4f0) :  CRITICAL (messaging:108) - Exception in _process_function_call (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/messaging.py", line 103, in _process_function_call
    result = self._functions[name](*args, **kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 21:54:02,343 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 21:54:02,343 (300052d4f0) :  DEBUG (runtime:924) - Response: [404] NoneType, 0 bytes
2019-03-27 21:54:15,883 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0hhaXJzcHJheT9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzY5OTZzMgppZHIwCg__
2019-03-27 21:54:15,885 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 21:54:15,888 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0hhaXJzcHJheT9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzY5OTZzMgppZHIwCg__
2019-03-27 21:54:15,889 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '36996', 'guid': 'com.plexapp.agents.lastfm://Hairspray?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 21:54:15,890 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/36996/tree'
2019-03-27 21:54:15,914 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Hairspray?lang=en
2019-03-27 21:54:15,915 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/5/434a8e5a07500fe9b22c5ed24d88c04909d898b.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 21:54:15,925 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=hairspray&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:54:15,966 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=hairspray&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:54:16,974 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=hairspray&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:54:17,017 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=hairspray&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:54:18,023 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '36996', 'guid': 'com.plexapp.agents.lastfm://Hairspray?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 21:54:18,026 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 21:54:18,027 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:54:18,063 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0NQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vSGFpcnNwcmF5P2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 21:54:18,065 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 21:54:18,069 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0NQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vSGFpcnNwcmF5P2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 21:54:18,072 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 21:54:18,073 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:54:23,602 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTIKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL29yaWdpbmFsJTIwc2NvcmU%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM3MDM4czIKaWRyMAo_
2019-03-27 21:54:23,604 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 21:54:23,607 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTIKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL29yaWdpbmFsJTIwc2NvcmU@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM3MDM4czIKaWRyMAo_
2019-03-27 21:54:23,608 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '37038', 'guid': 'com.plexapp.agents.lastfm://original%20score?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 21:54:23,612 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/37038/tree'
2019-03-27 21:54:23,628 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://original%20score?lang=en
2019-03-27 21:54:23,629 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/9/2664dd2d070681128412c49be2c2f808d132abb.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 21:54:23,640 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=original+score&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:54:23,685 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=original+score&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:54:24,691 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=original+score&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:54:24,730 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=original+score&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:54:25,735 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '37038', 'guid': 'com.plexapp.agents.lastfm://original%20score?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 21:54:25,738 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 21:54:25,738 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:54:25,758 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mgpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vb3JpZ2luYWwlMjBzY29yZT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 21:54:25,759 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 21:54:25,763 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mgpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vb3JpZ2luYWwlMjBzY29yZT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 21:54:25,765 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 21:54:25,766 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:54:28,047 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDYKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1NvdW5kdHJhY2s%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM3MDE3czIKaWRyMAo_
2019-03-27 21:54:28,049 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 21:54:28,051 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDYKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1NvdW5kdHJhY2s@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM3MDE3czIKaWRyMAo_
2019-03-27 21:54:28,053 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '37017', 'guid': 'com.plexapp.agents.lastfm://Soundtrack?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 21:54:28,056 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/37017/tree'
2019-03-27 21:54:28,086 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Soundtrack?lang=en
2019-03-27 21:54:28,087 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/8/0e713be29a5eede72b4ee3b8596def669b2810c.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 21:54:28,096 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=soundtrack&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:54:28,134 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=soundtrack&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:54:29,139 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=soundtrack&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:54:29,179 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=soundtrack&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:54:30,187 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '37017', 'guid': 'com.plexapp.agents.lastfm://Soundtrack?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 21:54:30,189 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 21:54:30,190 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:54:30,210 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Ngpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vU291bmR0cmFjaz9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 21:54:30,211 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 21:54:30,214 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Ngpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vU291bmR0cmFjaz9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 21:54:30,216 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 21:54:30,216 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:54:45,059 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTgKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL09yaWdpbmFsJTIwU291bmR0cmFja3M%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM3MDQxczIKaWRyMAo_
2019-03-27 21:54:45,061 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 21:54:45,064 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTgKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL09yaWdpbmFsJTIwU291bmR0cmFja3M@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM3MDQxczIKaWRyMAo_
2019-03-27 21:54:45,066 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '37041', 'guid': 'com.plexapp.agents.lastfm://Original%20Soundtracks?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 21:54:45,067 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/37041/tree'
2019-03-27 21:54:45,103 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Original%20Soundtracks?lang=en
2019-03-27 21:54:45,104 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/6/821375774c975920f2bee090ef78677867c5415.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 21:54:45,114 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=original+soundtracks&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:54:45,151 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=original+soundtracks&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:54:46,160 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=original+soundtracks&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:54:46,215 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=original+soundtracks&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:54:47,223 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '37041', 'guid': 'com.plexapp.agents.lastfm://Original%20Soundtracks?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 21:54:47,226 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 21:54:47,227 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:54:47,244 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1OApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vT3JpZ2luYWwlMjBTb3VuZHRyYWNrcz9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 21:54:47,246 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 21:54:47,249 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1OApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vT3JpZ2luYWwlMjBTb3VuZHRyYWNrcz9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 21:54:47,251 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 21:54:47,252 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:54:56,722 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDgKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0VyaWMlMjBQcnlkej9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzcxMThzMgppZHIwCg__
2019-03-27 21:54:56,723 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 21:54:56,726 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDgKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0VyaWMlMjBQcnlkej9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzcxMThzMgppZHIwCg__
2019-03-27 21:54:56,727 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '37118', 'guid': 'com.plexapp.agents.lastfm://Eric%20Prydz?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 21:54:56,730 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/37118/tree'
2019-03-27 21:54:56,745 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Eric%20Prydz?lang=en
2019-03-27 21:54:56,746 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/0/29fcecceed3b2c26454319259839aea84bada13.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 21:54:56,760 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=eric+prydz&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:54:56,801 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=eric+prydz&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:54:56,828 (30010fd4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTMKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0NocmlzdGluYSUyMFBlcnJpP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozNzEyMXMyCmlkcjAK
2019-03-27 21:54:56,829 (30010fd4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 21:54:56,832 (30010fd4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTMKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0NocmlzdGluYSUyMFBlcnJpP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozNzEyMXMyCmlkcjAK
2019-03-27 21:54:56,833 (30010fd4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '37121', 'guid': 'com.plexapp.agents.lastfm://Christina%20Perri?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 21:54:56,836 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/37121/tree'
2019-03-27 21:54:56,850 (30010fd4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Christina%20Perri?lang=en
2019-03-27 21:54:56,851 (30010fd4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/4/f7d44bdb6d7097bffa35f98730e929c9c07ec88.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 21:54:56,891 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=christina+perri&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:54:56,936 (30010fd4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=christina+perri&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:54:57,810 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=eric+prydz&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:54:57,848 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=eric+prydz&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:54:57,944 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=christina+perri&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:54:57,985 (30010fd4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=christina+perri&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:54:58,856 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '37118', 'guid': 'com.plexapp.agents.lastfm://Eric%20Prydz?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 21:54:58,859 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 21:54:58,860 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:54:58,888 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vRXJpYyUyMFByeWR6P2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 21:54:58,889 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 21:54:58,892 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vRXJpYyUyMFByeWR6P2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 21:54:58,894 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 21:54:58,895 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:54:58,993 (30010fd4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '37121', 'guid': 'com.plexapp.agents.lastfm://Christina%20Perri?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 21:54:58,996 (30010fd4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 21:54:58,997 (30010fd4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:54:59,021 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vQ2hyaXN0aW5hJTIwUGVycmk%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 21:54:59,023 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 21:54:59,025 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vQ2hyaXN0aW5hJTIwUGVycmk@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 21:54:59,028 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 21:54:59,028 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:55:02,394 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0p1ZGdlJTIwSnVsZXM%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM3MDcwczIKaWRyMAo_
2019-03-27 21:55:02,397 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 21:55:02,401 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0p1ZGdlJTIwSnVsZXM@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM3MDcwczIKaWRyMAo_
2019-03-27 21:55:02,402 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '37070', 'guid': 'com.plexapp.agents.lastfm://Judge%20Jules?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 21:55:02,406 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/37070/tree'
2019-03-27 21:55:02,423 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Judge%20Jules?lang=en
2019-03-27 21:55:02,424 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/0/006adff862b968b45ded822a1cc83d97dbe340d.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 21:55:02,437 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=judge+jules&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:55:02,479 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=judge+jules&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:55:03,110 (30010fd4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0RhdmUlMjBQZWFyY2U%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM3MTI0czIKaWRyMAo_
2019-03-27 21:55:03,113 (30010fd4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 21:55:03,116 (30010fd4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0RhdmUlMjBQZWFyY2U@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM3MTI0czIKaWRyMAo_
2019-03-27 21:55:03,117 (30010fd4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '37124', 'guid': 'com.plexapp.agents.lastfm://Dave%20Pearce?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 21:55:03,120 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/37124/tree'
2019-03-27 21:55:03,135 (30010fd4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Dave%20Pearce?lang=en
2019-03-27 21:55:03,137 (30010fd4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/e/5e7ad8925976289c4ae05b4363b0e7a8e92fcb5.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 21:55:03,151 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=dave+pearce&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:55:03,198 (30010fd4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=dave+pearce&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:55:03,488 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=judge+jules&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:55:03,529 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=judge+jules&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:55:04,204 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=dave+pearce&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:55:04,243 (30010fd4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=dave+pearce&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:55:04,542 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '37070', 'guid': 'com.plexapp.agents.lastfm://Judge%20Jules?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 21:55:04,548 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 21:55:04,549 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:55:04,573 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vSnVkZ2UlMjBKdWxlcz9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 21:55:04,575 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 21:55:04,577 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vSnVkZ2UlMjBKdWxlcz9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 21:55:04,580 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 21:55:04,580 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:55:04,837 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDIKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1RyYXZpcz9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzcxMjlzMgppZHIwCg__
2019-03-27 21:55:04,838 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 21:55:04,841 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDIKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1RyYXZpcz9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzcxMjlzMgppZHIwCg__
2019-03-27 21:55:04,842 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '37129', 'guid': 'com.plexapp.agents.lastfm://Travis?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 21:55:04,846 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/37129/tree'
2019-03-27 21:55:04,931 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Travis?lang=en
2019-03-27 21:55:04,932 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/1/5e6d2bd4bad42f11850166503f2d0582e5b80f8.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 21:55:04,948 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=travis&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:55:04,994 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=travis&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:55:05,251 (30010fd4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '37124', 'guid': 'com.plexapp.agents.lastfm://Dave%20Pearce?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 21:55:05,254 (30010fd4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 21:55:05,255 (30010fd4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:55:05,275 (30010fd4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vRGF2ZSUyMFBlYXJjZT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 21:55:05,277 (30010fd4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 21:55:05,280 (30010fd4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vRGF2ZSUyMFBlYXJjZT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 21:55:05,283 (30010fd4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 21:55:05,284 (30010fd4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:55:06,004 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=travis&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:55:06,048 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=travis&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:55:07,056 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '37129', 'guid': 'com.plexapp.agents.lastfm://Travis?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 21:55:07,059 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 21:55:07,060 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:55:07,079 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Mgpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vVHJhdmlzP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 21:55:07,081 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 21:55:07,084 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Mgpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vVHJhdmlzP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 21:55:07,086 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 21:55:07,087 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:55:19,951 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzMzgKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1UyP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozNzE0MXMyCmlkcjAK
2019-03-27 21:55:19,953 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 21:55:19,956 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzMzgKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1UyP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozNzE0MXMyCmlkcjAK
2019-03-27 21:55:19,957 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '37141', 'guid': 'com.plexapp.agents.lastfm://U2?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 21:55:19,960 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/37141/tree'
2019-03-27 21:55:19,990 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://U2?lang=en
2019-03-27 21:55:19,991 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/1/f733a8419c1da72859cd8d855bb8c8a61ed2110.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 21:55:20,000 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=u2&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:55:20,042 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=u2&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:55:21,048 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=u2&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:55:21,086 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=u2&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:55:22,090 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '37141', 'guid': 'com.plexapp.agents.lastfm://U2?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 21:55:22,093 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 21:55:22,093 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:55:22,109 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXMzOApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vVTI%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 21:55:22,111 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 21:55:22,113 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXMzOApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vVTI@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 21:55:22,115 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 21:55:22,116 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:55:29,510 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDgKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1RoZSUyMFBvbGljZT9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzcxODZzMgppZHIwCg__
2019-03-27 21:55:29,511 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 21:55:29,514 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDgKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1RoZSUyMFBvbGljZT9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzcxODZzMgppZHIwCg__
2019-03-27 21:55:29,515 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '37186', 'guid': 'com.plexapp.agents.lastfm://The%20Police?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 21:55:29,516 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/37186/tree'
2019-03-27 21:55:29,535 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://The%20Police?lang=en
2019-03-27 21:55:29,536 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/6/8405ab3afcac60432f348148d3c562adff101b3.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 21:55:29,545 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+police&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:55:29,626 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+police&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:55:30,632 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+police&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:55:30,673 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+police&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:55:31,680 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '37186', 'guid': 'com.plexapp.agents.lastfm://The%20Police?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 21:55:31,682 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 21:55:31,683 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:55:31,700 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vVGhlJTIwUG9saWNlP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 21:55:31,702 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 21:55:31,705 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vVGhlJTIwUG9saWNlP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 21:55:31,707 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 21:55:31,707 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:55:49,297 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDcKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1RoZSUyMFZlcnZlP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozNzE5OXMyCmlkcjAK
2019-03-27 21:55:49,300 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 21:55:49,303 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDcKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1RoZSUyMFZlcnZlP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozNzE5OXMyCmlkcjAK
2019-03-27 21:55:49,303 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '37199', 'guid': 'com.plexapp.agents.lastfm://The%20Verve?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 21:55:49,307 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/37199/tree'
2019-03-27 21:55:49,325 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://The%20Verve?lang=en
2019-03-27 21:55:49,326 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/c/c1fdc5ce249daec8864a3736f31c2a56fb0c180.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 21:55:49,335 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+verve&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:55:49,382 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+verve&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:55:50,388 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+verve&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:55:50,428 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+verve&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:55:51,435 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '37199', 'guid': 'com.plexapp.agents.lastfm://The%20Verve?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 21:55:51,439 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 21:55:51,439 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:55:51,459 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Nwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vVGhlJTIwVmVydmU%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 21:55:51,461 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 21:55:51,463 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Nwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vVGhlJTIwVmVydmU@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 21:55:51,465 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 21:55:51,466 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:56:02,774 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDgKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1RoZSUyMFNjcmlwdD9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzcyMTRzMgppZHIwCg__
2019-03-27 21:56:02,776 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 21:56:02,779 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDgKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1RoZSUyMFNjcmlwdD9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzcyMTRzMgppZHIwCg__
2019-03-27 21:56:02,780 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '37214', 'guid': 'com.plexapp.agents.lastfm://The%20Script?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 21:56:02,781 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/37214/tree'
2019-03-27 21:56:02,808 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://The%20Script?lang=en
2019-03-27 21:56:02,809 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/6/d101b4595051f984b9216341bb9469bfd2b298a.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 21:56:02,820 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+script&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:56:02,859 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+script&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:56:03,867 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+script&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:56:03,907 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+script&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:56:04,915 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '37214', 'guid': 'com.plexapp.agents.lastfm://The%20Script?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 21:56:04,918 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 21:56:04,919 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:56:04,937 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vVGhlJTIwU2NyaXB0P2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 21:56:04,939 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 21:56:04,941 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vVGhlJTIwU2NyaXB0P2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 21:56:04,943 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 21:56:04,943 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:56:39,098 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1RoZSUyME92ZXJ0b25lcz9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzcyMzhzMgppZHIwCg__
2019-03-27 21:56:39,105 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 21:56:39,107 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1RoZSUyME92ZXJ0b25lcz9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzcyMzhzMgppZHIwCg__
2019-03-27 21:56:39,108 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '37238', 'guid': 'com.plexapp.agents.lastfm://The%20Overtones?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 21:56:39,112 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/37238/tree'
2019-03-27 21:56:39,133 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://The%20Overtones?lang=en
2019-03-27 21:56:39,134 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/4/802286c6d3fd176d1a95a688372fb6f8e1e4f35.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 21:56:39,144 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+overtones&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:56:39,186 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+overtones&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:56:40,193 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+overtones&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:56:40,233 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+overtones&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:56:41,239 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '37238', 'guid': 'com.plexapp.agents.lastfm://The%20Overtones?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 21:56:41,242 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 21:56:41,242 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:56:41,263 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vVGhlJTIwT3ZlcnRvbmVzP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 21:56:41,265 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 21:56:41,267 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vVGhlJTIwT3ZlcnRvbmVzP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 21:56:41,270 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 21:56:41,270 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:57:52,207 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTMKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1ZhcmlvdXMlMjBBcnRpc3RzP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozNzI1NnMyCmlkcjAK
2019-03-27 21:57:52,209 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 21:57:52,212 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTMKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1ZhcmlvdXMlMjBBcnRpc3RzP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozNzI1NnMyCmlkcjAK
2019-03-27 21:57:52,213 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '37256', 'guid': 'com.plexapp.agents.lastfm://Various%20Artists?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 21:57:52,214 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/37256/tree'
2019-03-27 21:57:52,351 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Various%20Artists?lang=en
2019-03-27 21:57:52,352 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/c/5038b2eb1102b83f6ec48c3295dac0c1e7e057c.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 21:57:52,360 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=various+artists&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:57:52,400 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=various+artists&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:57:53,407 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=various+artists&default_operator=and&limit=50&aid=1,5'
2019-03-27 21:57:53,451 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=various+artists&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 21:57:54,459 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '37256', 'guid': 'com.plexapp.agents.lastfm://Various%20Artists?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 21:57:54,464 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 21:57:54,465 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 21:57:54,486 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vVmFyaW91cyUyMEFydGlzdHM%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 21:57:54,488 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 21:57:54,490 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vVmFyaW91cyUyMEFydGlzdHM@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 21:57:54,493 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 21:57:54,494 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:00:48,718 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1RoZSUyMEJlYXRsZXM%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM3NTgwczIKaWRyMAo_
2019-03-27 22:00:48,720 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:00:48,722 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1RoZSUyMEJlYXRsZXM@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM3NTgwczIKaWRyMAo_
2019-03-27 22:00:48,723 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '37580', 'guid': 'com.plexapp.agents.lastfm://The%20Beatles?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:00:48,728 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/37580/tree'
2019-03-27 22:00:48,760 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://The%20Beatles?lang=en
2019-03-27 22:00:48,762 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/0/21afcbd7231ff820a118f5bd1745a7dd9a37b75.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:00:48,819 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+beatles&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:00:48,897 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+beatles&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:00:49,907 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+beatles&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:00:49,947 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+beatles&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:00:50,955 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '37580', 'guid': 'com.plexapp.agents.lastfm://The%20Beatles?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:00:50,958 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:00:50,959 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:00:50,977 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vVGhlJTIwQmVhdGxlcz9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:00:50,979 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:00:50,982 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vVGhlJTIwQmVhdGxlcz9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:00:50,984 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:00:50,985 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:00:53,952 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1RoZSUyMEJlbG92ZWQ%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM3NjA5czIKaWRyMAo_
2019-03-27 22:00:53,954 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:00:53,957 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1RoZSUyMEJlbG92ZWQ@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM3NjA5czIKaWRyMAo_
2019-03-27 22:00:53,958 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '37609', 'guid': 'com.plexapp.agents.lastfm://The%20Beloved?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:00:53,963 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/37609/tree'
2019-03-27 22:00:53,984 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://The%20Beloved?lang=en
2019-03-27 22:00:53,986 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/6/16fba519982e8f8cfc97f11e762b8c19e491dc7.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:00:53,995 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+beloved&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:00:54,044 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+beloved&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:00:55,054 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+beloved&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:00:55,096 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+beloved&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:00:56,103 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '37609', 'guid': 'com.plexapp.agents.lastfm://The%20Beloved?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:00:56,106 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:00:56,106 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:00:56,123 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vVGhlJTIwQmVsb3ZlZD9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:00:56,126 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:00:56,129 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vVGhlJTIwQmVsb3ZlZD9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:00:56,131 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:00:56,132 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:01:02,794 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTcKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1RoZSUyME1hZ2ljJTIwTnVtYmVycz9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzc2MjJzMgppZHIwCg__
2019-03-27 22:01:02,796 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:01:02,799 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTcKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1RoZSUyME1hZ2ljJTIwTnVtYmVycz9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzc2MjJzMgppZHIwCg__
2019-03-27 22:01:02,799 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '37622', 'guid': 'com.plexapp.agents.lastfm://The%20Magic%20Numbers?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:01:02,803 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/37622/tree'
2019-03-27 22:01:02,823 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://The%20Magic%20Numbers?lang=en
2019-03-27 22:01:02,824 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/4/b7a203e19641a347f10b070a13e03c6656a7f4d.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:01:02,838 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+magic+numbers&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:01:02,880 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+magic+numbers&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:01:03,887 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+magic+numbers&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:01:03,936 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+magic+numbers&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:01:04,945 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '37622', 'guid': 'com.plexapp.agents.lastfm://The%20Magic%20Numbers?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:01:04,948 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:01:04,948 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:01:04,968 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Nwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vVGhlJTIwTWFnaWMlMjBOdW1iZXJzP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:01:04,970 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:01:04,972 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Nwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vVGhlJTIwTWFnaWMlMjBOdW1iZXJzP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:01:04,974 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:01:04,975 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:01:15,289 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDcKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1RoZSUyMENvcnJzP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozNzYzNnMyCmlkcjAK
2019-03-27 22:01:15,291 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:01:15,293 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDcKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1RoZSUyMENvcnJzP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozNzYzNnMyCmlkcjAK
2019-03-27 22:01:15,294 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '37636', 'guid': 'com.plexapp.agents.lastfm://The%20Corrs?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:01:15,297 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/37636/tree'
2019-03-27 22:01:15,329 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://The%20Corrs?lang=en
2019-03-27 22:01:15,330 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/8/4669b0136d55739d59117d16aa67e24494724b4.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:01:15,340 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+corrs&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:01:15,382 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+corrs&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:01:16,388 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+corrs&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:01:16,431 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+corrs&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:01:17,440 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '37636', 'guid': 'com.plexapp.agents.lastfm://The%20Corrs?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:01:17,443 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:01:17,443 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:01:17,461 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Nwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vVGhlJTIwQ29ycnM%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:01:17,464 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:01:17,466 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Nwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vVGhlJTIwQ29ycnM@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:01:17,469 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:01:17,469 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:01:24,036 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1RoZSUyMEZlZWxpbmc%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM3Njg2czIKaWRyMAo_
2019-03-27 22:01:24,038 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:01:24,041 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1RoZSUyMEZlZWxpbmc@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM3Njg2czIKaWRyMAo_
2019-03-27 22:01:24,042 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '37686', 'guid': 'com.plexapp.agents.lastfm://The%20Feeling?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:01:24,044 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/37686/tree'
2019-03-27 22:01:24,062 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://The%20Feeling?lang=en
2019-03-27 22:01:24,063 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/b/c1f9791d588beafab2f4a8492304334fac62bf9.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:01:24,075 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+feeling&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:01:24,116 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+feeling&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:01:25,124 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+feeling&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:01:25,168 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+feeling&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:01:26,151 (30010fd4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1RoZSUyMExpZ2h0bmluZyUyMFNlZWRzP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozNzcwMHMyCmlkcjAK
2019-03-27 22:01:26,153 (30010fd4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:01:26,155 (30010fd4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1RoZSUyMExpZ2h0bmluZyUyMFNlZWRzP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozNzcwMHMyCmlkcjAK
2019-03-27 22:01:26,156 (30010fd4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '37700', 'guid': 'com.plexapp.agents.lastfm://The%20Lightning%20Seeds?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:01:26,157 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/37700/tree'
2019-03-27 22:01:26,176 (30010fd4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://The%20Lightning%20Seeds?lang=en
2019-03-27 22:01:26,178 (30010fd4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/4/0f65d47b8fc71a4496993b87215f6e4a69ad2b5.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:01:26,185 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '37686', 'guid': 'com.plexapp.agents.lastfm://The%20Feeling?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 594, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:72087)
XMLSyntaxError: line 1: Document is empty

2019-03-27 22:01:26,187 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:01:26,188 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:01:26,193 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+lightning+seeds&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:01:26,207 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vVGhlJTIwRmVlbGluZz9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:01:26,210 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:01:26,212 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vVGhlJTIwRmVlbGluZz9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:01:26,214 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:01:26,214 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:01:26,232 (30010fd4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+lightning+seeds&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:01:27,241 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+lightning+seeds&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:01:27,282 (30010fd4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+lightning+seeds&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:01:28,287 (30010fd4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '37700', 'guid': 'com.plexapp.agents.lastfm://The%20Lightning%20Seeds?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:01:28,290 (30010fd4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:01:28,291 (30010fd4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:01:28,312 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1OQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vVGhlJTIwTGlnaHRuaW5nJTIwU2VlZHM%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:01:28,314 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:01:28,317 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1OQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vVGhlJTIwTGlnaHRuaW5nJTIwU2VlZHM@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:01:28,320 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:01:28,321 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:01:34,024 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDYKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1RoZSUyMEZyYXk%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM3NzQzczIKaWRyMAo_
2019-03-27 22:01:34,026 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:01:34,028 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDYKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1RoZSUyMEZyYXk@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM3NzQzczIKaWRyMAo_
2019-03-27 22:01:34,029 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '37743', 'guid': 'com.plexapp.agents.lastfm://The%20Fray?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:01:34,030 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/37743/tree'
2019-03-27 22:01:34,049 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://The%20Fray?lang=en
2019-03-27 22:01:34,051 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/e/7dbb036fb41cad897ea61c2de4bf5c11fae35b4.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:01:34,067 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+fray&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:01:34,109 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+fray&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:01:35,116 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+fray&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:01:35,163 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+fray&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:01:36,171 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '37743', 'guid': 'com.plexapp.agents.lastfm://The%20Fray?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:01:36,174 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:01:36,175 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:01:36,193 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Ngpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vVGhlJTIwRnJheT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:01:36,195 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:01:36,197 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Ngpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vVGhlJTIwRnJheT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:01:36,199 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:01:36,200 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:01:36,656 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTMKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1RoZSUyMENvbW1pdG1lbnRzP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozNzcxM3MyCmlkcjAK
2019-03-27 22:01:36,658 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:01:36,660 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTMKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1RoZSUyMENvbW1pdG1lbnRzP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozNzcxM3MyCmlkcjAK
2019-03-27 22:01:36,661 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '37713', 'guid': 'com.plexapp.agents.lastfm://The%20Commitments?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:01:36,665 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/37713/tree'
2019-03-27 22:01:36,691 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://The%20Commitments?lang=en
2019-03-27 22:01:36,692 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/8/c7a1c2a4b4c1b7ce353c1b7e02c7f63f32bf17a.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:01:36,708 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+commitments&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:01:36,768 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+commitments&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:01:37,219 (30010fd4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1RoZSUyMEJhbmdsZXM%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM3NzU3czIKaWRyMAo_
2019-03-27 22:01:37,221 (30010fd4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:01:37,224 (30010fd4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1RoZSUyMEJhbmdsZXM@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM3NzU3czIKaWRyMAo_
2019-03-27 22:01:37,225 (30010fd4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '37757', 'guid': 'com.plexapp.agents.lastfm://The%20Bangles?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:01:37,226 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/37757/tree'
2019-03-27 22:01:37,247 (30010fd4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://The%20Bangles?lang=en
2019-03-27 22:01:37,248 (30010fd4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/f/b7b9c5f39eea4499663f6eb9647eb1ec345d59e.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:01:37,259 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+bangles&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:01:37,300 (30010fd4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+bangles&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:01:37,776 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+commitments&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:01:37,818 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+commitments&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:01:38,307 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+bangles&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:01:38,354 (30010fd4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+bangles&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:01:38,826 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '37713', 'guid': 'com.plexapp.agents.lastfm://The%20Commitments?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:01:38,830 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:01:38,830 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:01:38,849 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vVGhlJTIwQ29tbWl0bWVudHM%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:01:38,850 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:01:38,852 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vVGhlJTIwQ29tbWl0bWVudHM@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:01:38,855 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:01:38,855 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:01:39,362 (30010fd4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '37757', 'guid': 'com.plexapp.agents.lastfm://The%20Bangles?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:01:39,365 (30010fd4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:01:39,366 (30010fd4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:01:39,385 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vVGhlJTIwQmFuZ2xlcz9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:01:39,387 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:01:39,390 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vVGhlJTIwQmFuZ2xlcz9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:01:39,392 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:01:39,393 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:01:48,875 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1N1Z2FiYWJlcz9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzc3NzNzMgppZHIwCg__
2019-03-27 22:01:48,877 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:01:48,879 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1N1Z2FiYWJlcz9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzc3NzNzMgppZHIwCg__
2019-03-27 22:01:48,880 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '37773', 'guid': 'com.plexapp.agents.lastfm://Sugababes?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:01:48,884 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/37773/tree'
2019-03-27 22:01:48,917 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Sugababes?lang=en
2019-03-27 22:01:48,918 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/1/3fef0ddebb77ec2d88796a6b4fb09d7e8b9bad1.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:01:48,928 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=sugababes&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:01:48,969 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=sugababes&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:01:49,975 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=sugababes&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:01:50,014 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=sugababes&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:01:51,020 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '37773', 'guid': 'com.plexapp.agents.lastfm://Sugababes?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:01:51,023 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:01:51,024 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:01:51,046 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0NQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vU3VnYWJhYmVzP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:01:51,047 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:01:51,050 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0NQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vU3VnYWJhYmVzP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:01:51,052 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:01:51,052 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:02:07,045 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDcKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1Rha2UlMjBUaGF0P2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozNzgxNXMyCmlkcjAK
2019-03-27 22:02:07,047 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:02:07,050 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDcKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1Rha2UlMjBUaGF0P2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozNzgxNXMyCmlkcjAK
2019-03-27 22:02:07,050 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '37815', 'guid': 'com.plexapp.agents.lastfm://Take%20That?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:02:07,054 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/37815/tree'
2019-03-27 22:02:07,082 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Take%20That?lang=en
2019-03-27 22:02:07,083 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/b/dac4b4093e439ec339907b138508abef61418e9.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:02:07,112 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=take+that&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:02:07,155 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=take+that&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:02:08,164 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=take+that&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:02:08,205 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=take+that&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:02:09,211 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '37815', 'guid': 'com.plexapp.agents.lastfm://Take%20That?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:02:09,215 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:02:09,215 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:02:09,233 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Nwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vVGFrZSUyMFRoYXQ%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:02:09,235 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:02:09,237 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Nwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vVGFrZSUyMFRoYXQ@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:02:09,239 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:02:09,240 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:02:14,234 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDgKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1N0b25lJTIwU291cj9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzc4ODhzMgppZHIwCg__
2019-03-27 22:02:14,235 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:02:14,238 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDgKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1N0b25lJTIwU291cj9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzc4ODhzMgppZHIwCg__
2019-03-27 22:02:14,239 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '37888', 'guid': 'com.plexapp.agents.lastfm://Stone%20Sour?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:02:14,240 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/37888/tree'
2019-03-27 22:02:14,253 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Stone%20Sour?lang=en
2019-03-27 22:02:14,254 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/7/ed639dfa2bb4d34aaee7ae8d308a8641445447b.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:02:14,263 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=stone+sour&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:02:14,301 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=stone+sour&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:02:15,308 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=stone+sour&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:02:15,348 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=stone+sour&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:02:16,353 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '37888', 'guid': 'com.plexapp.agents.lastfm://Stone%20Sour?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:02:16,355 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:02:16,356 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:02:16,374 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vU3RvbmUlMjBTb3VyP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:02:16,376 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:02:16,378 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vU3RvbmUlMjBTb3VyP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:02:16,380 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:02:16,381 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:02:19,947 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1RleGFzP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozNzg1OXMyCmlkcjAK
2019-03-27 22:02:19,949 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:02:19,951 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1RleGFzP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozNzg1OXMyCmlkcjAK
2019-03-27 22:02:19,952 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '37859', 'guid': 'com.plexapp.agents.lastfm://Texas?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:02:19,955 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/37859/tree'
2019-03-27 22:02:19,980 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Texas?lang=en
2019-03-27 22:02:19,981 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/0/f04fdc0dd7cb1c64088b21c4dd760cadc6f4444.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:02:19,993 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=texas&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:02:20,033 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=texas&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:02:21,042 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=texas&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:02:21,086 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=texas&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:02:22,092 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '37859', 'guid': 'com.plexapp.agents.lastfm://Texas?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:02:22,095 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:02:22,095 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:02:22,118 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vVGV4YXM%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:02:22,120 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:02:22,122 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vVGV4YXM@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:02:22,125 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:02:22,125 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:02:37,046 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1RheWxvciUyMFN3aWZ0P2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozNzg5MXMyCmlkcjAK
2019-03-27 22:02:37,048 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:02:37,051 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1RheWxvciUyMFN3aWZ0P2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozNzg5MXMyCmlkcjAK
2019-03-27 22:02:37,052 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '37891', 'guid': 'com.plexapp.agents.lastfm://Taylor%20Swift?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:02:37,055 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/37891/tree'
2019-03-27 22:02:37,101 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Taylor%20Swift?lang=en
2019-03-27 22:02:37,103 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/e/d7bd3b596c34f635cb43096760d67a27eb5ddcc.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:02:37,124 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=taylor+swift&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:02:37,164 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=taylor+swift&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:02:38,171 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=taylor+swift&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:02:38,214 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=taylor+swift&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:02:39,219 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '37891', 'guid': 'com.plexapp.agents.lastfm://Taylor%20Swift?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:02:39,222 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:02:39,223 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:02:39,244 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vVGF5bG9yJTIwU3dpZnQ%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:02:39,245 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:02:39,248 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vVGF5bG9yJTIwU3dpZnQ@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:02:39,250 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:02:39,251 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:02:45,646 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1RlYXJzJTIwZm9yJTIwRmVhcnM%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM3OTUxczIKaWRyMAo_
2019-03-27 22:02:45,648 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:02:45,651 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1RlYXJzJTIwZm9yJTIwRmVhcnM@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM3OTUxczIKaWRyMAo_
2019-03-27 22:02:45,652 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '37951', 'guid': 'com.plexapp.agents.lastfm://Tears%20for%20Fears?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:02:45,657 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/37951/tree'
2019-03-27 22:02:45,687 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Tears%20for%20Fears?lang=en
2019-03-27 22:02:45,688 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/8/00e0cec2f11a8beaaf9456ca6c2f67b1686d98e.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:02:45,708 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=tears+for+fears&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:02:45,763 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=tears+for+fears&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:02:46,771 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=tears+for+fears&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:02:46,808 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=tears+for+fears&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:02:47,814 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '37951', 'guid': 'com.plexapp.agents.lastfm://Tears%20for%20Fears?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:02:47,816 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:02:47,817 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:02:47,834 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1NQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vVGVhcnMlMjBmb3IlMjBGZWFycz9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:02:47,836 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:02:47,838 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1NQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vVGVhcnMlMjBmb3IlMjBGZWFycz9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:02:47,840 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:02:47,841 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:02:56,570 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1N0ZXZpZSUyMFdvbmRlcj9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzc5NjZzMgppZHIwCg__
2019-03-27 22:02:56,572 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:02:56,574 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1N0ZXZpZSUyMFdvbmRlcj9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzc5NjZzMgppZHIwCg__
2019-03-27 22:02:56,575 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '37966', 'guid': 'com.plexapp.agents.lastfm://Stevie%20Wonder?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:02:56,579 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/37966/tree'
2019-03-27 22:02:56,609 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Stevie%20Wonder?lang=en
2019-03-27 22:02:56,610 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/1/bfe10a0ba5ea7bbe36ffed421cedd2167c8e4cb.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:02:56,619 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=stevie+wonder&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:02:56,655 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=stevie+wonder&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:02:57,663 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=stevie+wonder&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:02:57,711 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=stevie+wonder&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:02:58,719 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '37966', 'guid': 'com.plexapp.agents.lastfm://Stevie%20Wonder?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:02:58,723 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:02:58,723 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:02:58,743 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vU3RldmllJTIwV29uZGVyP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:02:58,744 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:02:58,747 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vU3RldmllJTIwV29uZGVyP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:02:58,749 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:02:58,749 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:03:05,150 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1N0ZXBzP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozNzk4OHMyCmlkcjAK
2019-03-27 22:03:05,152 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:03:05,155 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1N0ZXBzP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozNzk4OHMyCmlkcjAK
2019-03-27 22:03:05,156 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '37988', 'guid': 'com.plexapp.agents.lastfm://Steps?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:03:05,157 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/37988/tree'
2019-03-27 22:03:05,175 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Steps?lang=en
2019-03-27 22:03:05,176 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/e/47fb18fd7788a686877ca6e30412b36e1b39a08.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:03:05,185 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=steps&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:03:05,223 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=steps&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:03:06,231 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=steps&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:03:06,272 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=steps&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:03:07,279 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '37988', 'guid': 'com.plexapp.agents.lastfm://Steps?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:03:07,283 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:03:07,283 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:03:07,305 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vU3RlcHM%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:03:07,307 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:03:07,309 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vU3RlcHM@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:03:07,311 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:03:07,311 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:03:11,698 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1N0aW5nP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozODAwMnMyCmlkcjAK
2019-03-27 22:03:11,700 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:03:11,703 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1N0aW5nP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozODAwMnMyCmlkcjAK
2019-03-27 22:03:11,704 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '38002', 'guid': 'com.plexapp.agents.lastfm://Sting?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:03:11,705 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/38002/tree'
2019-03-27 22:03:11,732 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Sting?lang=en
2019-03-27 22:03:11,734 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/e/5a5154953bb693d1b4307c9b8df5f0ad7a8ddac.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:03:11,756 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=sting&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:03:11,797 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=sting&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:03:12,803 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=sting&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:03:12,842 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=sting&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:03:13,850 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '38002', 'guid': 'com.plexapp.agents.lastfm://Sting?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:03:13,853 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:03:13,854 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:03:13,873 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vU3Rpbmc%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:03:13,875 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:03:13,877 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vU3Rpbmc@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:03:13,880 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:03:13,881 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:03:18,017 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTIKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1NwYW5kYXUlMjBCYWxsZXQ%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM4MDI4czIKaWRyMAo_
2019-03-27 22:03:18,018 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:03:18,021 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTIKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1NwYW5kYXUlMjBCYWxsZXQ@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM4MDI4czIKaWRyMAo_
2019-03-27 22:03:18,021 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '38028', 'guid': 'com.plexapp.agents.lastfm://Spandau%20Ballet?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:03:18,025 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/38028/tree'
2019-03-27 22:03:18,048 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Spandau%20Ballet?lang=en
2019-03-27 22:03:18,050 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/6/603e9c845446b4122f2e7bae3d523b6e3f7e5a2.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:03:18,061 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=spandau+ballet&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:03:18,104 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=spandau+ballet&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:03:19,112 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=spandau+ballet&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:03:19,148 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=spandau+ballet&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:03:20,153 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '38028', 'guid': 'com.plexapp.agents.lastfm://Spandau%20Ballet?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:03:20,156 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:03:20,156 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:03:20,173 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mgpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vU3BhbmRhdSUyMEJhbGxldD9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:03:20,175 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:03:20,177 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mgpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vU3BhbmRhdSUyMEJhbGxldD9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:03:20,179 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:03:20,179 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:03:32,970 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1N0ZXJlb3Bob25pY3M%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM4MDQ1czIKaWRyMAo_
2019-03-27 22:03:32,972 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:03:32,975 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1N0ZXJlb3Bob25pY3M@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM4MDQ1czIKaWRyMAo_
2019-03-27 22:03:32,976 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '38045', 'guid': 'com.plexapp.agents.lastfm://Stereophonics?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:03:32,979 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/38045/tree'
2019-03-27 22:03:33,000 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Stereophonics?lang=en
2019-03-27 22:03:33,001 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/3/f1d69d735740cf69006b5a6ec7ec32dcfaea95d.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:03:33,013 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=stereophonics&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:03:33,048 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=stereophonics&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:03:34,056 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=stereophonics&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:03:34,096 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=stereophonics&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:03:35,104 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '38045', 'guid': 'com.plexapp.agents.lastfm://Stereophonics?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:03:35,107 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:03:35,108 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:03:35,126 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vU3RlcmVvcGhvbmljcz9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:03:35,127 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:03:35,130 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vU3RlcmVvcGhvbmljcz9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:03:35,132 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:03:35,132 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:03:39,356 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1NoYXBlc2hpZnRlcnM%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM4MDcyczIKaWRyMAo_
2019-03-27 22:03:39,358 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:03:39,361 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1NoYXBlc2hpZnRlcnM@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM4MDcyczIKaWRyMAo_
2019-03-27 22:03:39,361 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '38072', 'guid': 'com.plexapp.agents.lastfm://Shapeshifters?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:03:39,365 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/38072/tree'
2019-03-27 22:03:39,380 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Shapeshifters?lang=en
2019-03-27 22:03:39,381 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/2/6fadd68e758dcd47db58ce055115e3d63e11b3e.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:03:39,390 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=shapeshifters&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:03:39,432 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=shapeshifters&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:03:40,440 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=shapeshifters&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:03:40,481 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=shapeshifters&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:03:41,487 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '38072', 'guid': 'com.plexapp.agents.lastfm://Shapeshifters?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:03:41,490 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:03:41,491 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:03:41,510 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vU2hhcGVzaGlmdGVycz9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:03:41,512 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:03:41,514 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vU2hhcGVzaGlmdGVycz9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:03:41,516 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:03:41,517 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:03:48,979 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1Nub3clMjBQYXRyb2w%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM4MDc5czIKaWRyMAo_
2019-03-27 22:03:48,981 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:03:48,983 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1Nub3clMjBQYXRyb2w@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM4MDc5czIKaWRyMAo_
2019-03-27 22:03:48,984 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '38079', 'guid': 'com.plexapp.agents.lastfm://Snow%20Patrol?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:03:48,987 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/38079/tree'
2019-03-27 22:03:49,014 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Snow%20Patrol?lang=en
2019-03-27 22:03:49,015 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/7/0b372c820c892b84aff27b7be1643dac4e6fbe8.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:03:49,070 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=snow+patrol&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:03:49,112 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=snow+patrol&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:03:50,120 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=snow+patrol&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:03:50,158 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=snow+patrol&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:03:51,079 (30010fd4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1NpbXBsZSUyME1pbmRzP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozODExMHMyCmlkcjAK
2019-03-27 22:03:51,081 (30010fd4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:03:51,084 (30010fd4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1NpbXBsZSUyME1pbmRzP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozODExMHMyCmlkcjAK
2019-03-27 22:03:51,084 (30010fd4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '38110', 'guid': 'com.plexapp.agents.lastfm://Simple%20Minds?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:03:51,088 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/38110/tree'
2019-03-27 22:03:51,104 (30010fd4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Simple%20Minds?lang=en
2019-03-27 22:03:51,105 (30010fd4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/0/858d065c3c0b5f44c5eff29730b543354a7d033.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:03:51,114 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=simple+minds&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:03:51,157 (30010fd4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=simple+minds&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:03:51,163 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '38079', 'guid': 'com.plexapp.agents.lastfm://Snow%20Patrol?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:03:51,166 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:03:51,167 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:03:51,185 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vU25vdyUyMFBhdHJvbD9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:03:51,187 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:03:51,189 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vU25vdyUyMFBhdHJvbD9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:03:51,191 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:03:51,191 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:03:52,164 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=simple+minds&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:03:52,202 (30010fd4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=simple+minds&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:03:53,207 (30010fd4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '38110', 'guid': 'com.plexapp.agents.lastfm://Simple%20Minds?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:03:53,210 (30010fd4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:03:53,210 (30010fd4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:03:53,231 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vU2ltcGxlJTIwTWluZHM%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:03:53,233 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:03:53,235 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vU2ltcGxlJTIwTWluZHM@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:03:53,238 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:03:53,239 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:03:58,038 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTgKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1Njb3V0aW5nJTIwZm9yJTIwR2lybHM%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM4MTIxczIKaWRyMAo_
2019-03-27 22:03:58,040 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:03:58,043 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTgKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1Njb3V0aW5nJTIwZm9yJTIwR2lybHM@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM4MTIxczIKaWRyMAo_
2019-03-27 22:03:58,044 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '38121', 'guid': 'com.plexapp.agents.lastfm://Scouting%20for%20Girls?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:03:58,047 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/38121/tree'
2019-03-27 22:03:58,064 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Scouting%20for%20Girls?lang=en
2019-03-27 22:03:58,065 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/a/9fb32a4a513580aad9077ad358a523e217b8e7e.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:03:58,075 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=scouting+for+girls&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:03:58,117 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=scouting+for+girls&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:03:59,123 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=scouting+for+girls&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:03:59,161 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=scouting+for+girls&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:04:00,168 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '38121', 'guid': 'com.plexapp.agents.lastfm://Scouting%20for%20Girls?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:04:00,171 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:04:00,172 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:04:00,188 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1OApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vU2NvdXRpbmclMjBmb3IlMjBHaXJscz9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:04:00,190 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:04:00,193 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1OApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vU2NvdXRpbmclMjBmb3IlMjBHaXJscz9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:04:00,195 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:04:00,195 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:04:00,680 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTMKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0ltZWxkYSUyMFN0YXVudG9uP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozODE1MnMyCmlkcjAK
2019-03-27 22:04:00,682 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:04:00,685 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTMKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0ltZWxkYSUyMFN0YXVudG9uP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozODE1MnMyCmlkcjAK
2019-03-27 22:04:00,686 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '38152', 'guid': 'com.plexapp.agents.lastfm://Imelda%20Staunton?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:04:00,687 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/38152/tree'
2019-03-27 22:04:00,700 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Imelda%20Staunton?lang=en
2019-03-27 22:04:00,701 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/0/733fdef5634a004d26afb69dc1ad8d9c2bc2fe1.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:04:00,710 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=imelda+staunton&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:04:00,748 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=imelda+staunton&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:04:01,756 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=imelda+staunton&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:04:01,799 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=imelda+staunton&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:04:02,805 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '38152', 'guid': 'com.plexapp.agents.lastfm://Imelda%20Staunton?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:04:02,807 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:04:02,808 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:04:02,828 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vSW1lbGRhJTIwU3RhdW50b24%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:04:02,830 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:04:02,833 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vSW1lbGRhJTIwU3RhdW50b24@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:04:02,835 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:04:02,836 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:04:06,603 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTMKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0p1bGlhJTIwRG9uYWxkc29uP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozODEzMnMyCmlkcjAK
2019-03-27 22:04:06,605 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:04:06,608 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTMKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0p1bGlhJTIwRG9uYWxkc29uP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozODEzMnMyCmlkcjAK
2019-03-27 22:04:06,609 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '38132', 'guid': 'com.plexapp.agents.lastfm://Julia%20Donaldson?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:04:06,610 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/38132/tree'
2019-03-27 22:04:06,639 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Julia%20Donaldson?lang=en
2019-03-27 22:04:06,640 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/f/b9db931e511fa475da06b2d4bb1bd2c7c164544.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:04:06,656 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=julia+donaldson&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:04:06,695 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=julia+donaldson&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:04:07,703 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=julia+donaldson&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:04:07,741 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=julia+donaldson&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:04:08,161 (30010fd4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNjQKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1IlQzUlQUZ6biVDMyVBRCUyMGludGVycHJldGk%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM4MTYyczIKaWRyMAo_
2019-03-27 22:04:08,163 (30010fd4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:04:08,166 (30010fd4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNjQKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1IlQzUlQUZ6biVDMyVBRCUyMGludGVycHJldGk@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM4MTYyczIKaWRyMAo_
2019-03-27 22:04:08,167 (30010fd4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '38162', 'guid': 'com.plexapp.agents.lastfm://R%C5%AFzn%C3%AD%20interpreti?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:04:08,167 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/38162/tree'
2019-03-27 22:04:08,182 (30010fd4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://R%C5%AFzn%C3%AD%20interpreti?lang=en
2019-03-27 22:04:08,183 (30010fd4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/f/47398a365b793af4417955306da3939a7962f2f.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:04:08,189 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=r%C5%AFzn%C3%AD+interpreti&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:04:08,231 (30010fd4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=r%C5%AFzn%C3%AD+interpreti&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:04:08,747 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '38132', 'guid': 'com.plexapp.agents.lastfm://Julia%20Donaldson?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:04:08,750 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:04:08,751 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:04:08,770 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vSnVsaWElMjBEb25hbGRzb24%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:04:08,771 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:04:08,774 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vSnVsaWElMjBEb25hbGRzb24@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:04:08,776 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:04:08,776 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:04:09,236 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=r%C5%AFzn%C3%AD+interpreti&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:04:09,285 (30010fd4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=r%C5%AFzn%C3%AD+interpreti&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:04:09,909 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDQKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0xhZHliaXJkP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozODE2NnMyCmlkcjAK
2019-03-27 22:04:09,911 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:04:09,914 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDQKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0xhZHliaXJkP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozODE2NnMyCmlkcjAK
2019-03-27 22:04:09,914 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '38166', 'guid': 'com.plexapp.agents.lastfm://Ladybird?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:04:09,915 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/38166/tree'
2019-03-27 22:04:09,932 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Ladybird?lang=en
2019-03-27 22:04:09,933 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/0/56f65d71d63c6df3f0c5d24c07fe8dd46b30a91.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:04:09,942 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=ladybird&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:04:09,985 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=ladybird&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:04:10,291 (30010fd4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '38162', 'guid': 'com.plexapp.agents.lastfm://R%C5%AFzn%C3%AD%20interpreti?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:04:10,294 (30010fd4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:04:10,295 (30010fd4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:04:10,316 (30010fd4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM2NApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vUiVDNSVBRnpuJUMzJUFEJTIwaW50ZXJwcmV0aT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:04:10,318 (30010fd4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:04:10,320 (30010fd4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM2NApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vUiVDNSVBRnpuJUMzJUFEJTIwaW50ZXJwcmV0aT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:04:10,322 (30010fd4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:04:10,323 (30010fd4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:04:10,993 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=ladybird&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:04:11,031 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=ladybird&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:04:12,040 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '38166', 'guid': 'com.plexapp.agents.lastfm://Ladybird?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:04:12,042 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:04:12,043 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:04:12,059 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0NApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTGFkeWJpcmQ%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:04:12,061 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:04:12,063 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0NApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTGFkeWJpcmQ@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:04:12,065 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:04:12,066 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:04:13,164 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNzYKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0p1bGlhJTIwRG9uYWxkc29uJTIwLSUyMEF4ZWwlMjBTY2hlZmZsZXI%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM4MTc4czIKaWRyMAo_
2019-03-27 22:04:13,166 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:04:13,168 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNzYKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0p1bGlhJTIwRG9uYWxkc29uJTIwLSUyMEF4ZWwlMjBTY2hlZmZsZXI@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM4MTc4czIKaWRyMAo_
2019-03-27 22:04:13,169 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '38178', 'guid': 'com.plexapp.agents.lastfm://Julia%20Donaldson%20-%20Axel%20Scheffler?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:04:13,172 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/38178/tree'
2019-03-27 22:04:13,191 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Julia%20Donaldson%20-%20Axel%20Scheffler?lang=en
2019-03-27 22:04:13,192 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/f/e404a5316056bb8c174fc544d432134be29a4bc.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:04:13,200 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=julia+donaldson+-+axel+scheffler&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:04:13,243 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=julia+donaldson+-+axel+scheffler&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:04:14,248 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=julia+donaldson+-+axel+scheffler&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:04:14,303 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=julia+donaldson+-+axel+scheffler&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:04:15,307 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '38178', 'guid': 'com.plexapp.agents.lastfm://Julia%20Donaldson%20-%20Axel%20Scheffler?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:04:15,310 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:04:15,310 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:04:15,328 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM3Ngpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vSnVsaWElMjBEb25hbGRzb24lMjAtJTIwQXhlbCUyMFNjaGVmZmxlcj9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:04:15,330 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:04:15,332 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM3Ngpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vSnVsaWElMjBEb25hbGRzb24lMjAtJTIwQXhlbCUyMFNjaGVmZmxlcj9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:04:15,334 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:04:15,335 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:04:25,529 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1NlYWw%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM4MTg3czIKaWRyMAo_
2019-03-27 22:04:25,530 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:04:25,533 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1NlYWw@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM4MTg3czIKaWRyMAo_
2019-03-27 22:04:25,534 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '38187', 'guid': 'com.plexapp.agents.lastfm://Seal?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:04:25,537 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/38187/tree'
2019-03-27 22:04:25,563 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Seal?lang=en
2019-03-27 22:04:25,564 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/3/3a7672b0f11299069b46b5e06542b18a614198e.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:04:25,573 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=seal&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:04:25,611 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=seal&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:04:26,620 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=seal&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:04:26,657 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=seal&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:04:27,663 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '38187', 'guid': 'com.plexapp.agents.lastfm://Seal?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:04:27,666 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:04:27,667 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:04:27,686 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vU2VhbD9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:04:27,688 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:04:27,690 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vU2VhbD9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:04:27,692 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:04:27,692 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:04:41,594 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1NoYW5pYSUyMFR3YWluP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozODIyMnMyCmlkcjAK
2019-03-27 22:04:41,596 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:04:41,599 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1NoYW5pYSUyMFR3YWluP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozODIyMnMyCmlkcjAK
2019-03-27 22:04:41,600 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '38222', 'guid': 'com.plexapp.agents.lastfm://Shania%20Twain?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:04:41,601 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/38222/tree'
2019-03-27 22:04:41,645 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Shania%20Twain?lang=en
2019-03-27 22:04:41,646 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/e/a1e15e12d027833361a756d0d48531fcd289384.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:04:41,655 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=shania+twain&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:04:41,705 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=shania+twain&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:04:42,712 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=shania+twain&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:04:42,751 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=shania+twain&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:04:43,755 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '38222', 'guid': 'com.plexapp.agents.lastfm://Shania%20Twain?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:04:43,759 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:04:43,760 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:04:43,778 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vU2hhbmlhJTIwVHdhaW4%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:04:43,779 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:04:43,782 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vU2hhbmlhJTIwVHdhaW4@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:04:43,784 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:04:43,784 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:04:52,505 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1NpbW9uJTIwJTI2JTIwR2FyZnVua2VsP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozODI2M3MyCmlkcjAK
2019-03-27 22:04:52,508 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:04:52,510 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1NpbW9uJTIwJTI2JTIwR2FyZnVua2VsP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozODI2M3MyCmlkcjAK
2019-03-27 22:04:52,511 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '38263', 'guid': 'com.plexapp.agents.lastfm://Simon%20%26%20Garfunkel?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:04:52,515 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/38263/tree'
2019-03-27 22:04:52,535 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Simon%20%26%20Garfunkel?lang=en
2019-03-27 22:04:52,536 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/d/8ba7bfcfa0d9ae7e17ec357f1bb1124789f318f.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:04:52,545 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=simon+%26+garfunkel&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:04:52,600 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=simon+%26+garfunkel&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:04:53,607 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=simon+%26+garfunkel&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:04:53,652 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=simon+%26+garfunkel&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:04:54,660 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '38263', 'guid': 'com.plexapp.agents.lastfm://Simon%20%26%20Garfunkel?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:04:54,663 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:04:54,665 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:04:54,736 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1OQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vU2ltb24lMjAlMjYlMjBHYXJmdW5rZWw%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:04:54,738 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:04:54,740 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1OQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vU2ltb24lMjAlMjYlMjBHYXJmdW5rZWw@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:04:54,743 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:04:54,743 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:05:02,479 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1JvYmVydCUyME1pbGVzP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozODI4NXMyCmlkcjAK
2019-03-27 22:05:02,481 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:05:02,483 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1JvYmVydCUyME1pbGVzP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozODI4NXMyCmlkcjAK
2019-03-27 22:05:02,484 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '38285', 'guid': 'com.plexapp.agents.lastfm://Robert%20Miles?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:05:02,488 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/38285/tree'
2019-03-27 22:05:02,504 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Robert%20Miles?lang=en
2019-03-27 22:05:02,505 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/d/1a82c0424d66ac9dbdfe0ae1d9c573120ca0799.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:05:02,514 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=robert+miles&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:05:02,564 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=robert+miles&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:05:03,572 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=robert+miles&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:05:03,611 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=robert+miles&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:05:04,618 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '38285', 'guid': 'com.plexapp.agents.lastfm://Robert%20Miles?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:05:04,621 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:05:04,622 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:05:04,640 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vUm9iZXJ0JTIwTWlsZXM%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:05:04,641 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:05:04,644 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vUm9iZXJ0JTIwTWlsZXM@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:05:04,646 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:05:04,647 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:05:07,051 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDYKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1Jhem9ybGlnaHQ%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM4Mjk3czIKaWRyMAo_
2019-03-27 22:05:07,053 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:05:07,056 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDYKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1Jhem9ybGlnaHQ@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM4Mjk3czIKaWRyMAo_
2019-03-27 22:05:07,057 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '38297', 'guid': 'com.plexapp.agents.lastfm://Razorlight?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:05:07,058 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/38297/tree'
2019-03-27 22:05:07,081 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Razorlight?lang=en
2019-03-27 22:05:07,082 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/e/cc314e4c6bcbb8fdbbc41d98fb50cb4f553bc9f.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:05:07,094 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=razorlight&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:05:07,137 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=razorlight&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:05:08,145 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=razorlight&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:05:08,198 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=razorlight&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:05:09,203 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '38297', 'guid': 'com.plexapp.agents.lastfm://Razorlight?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:05:09,206 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:05:09,207 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:05:09,226 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Ngpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vUmF6b3JsaWdodD9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:05:09,228 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:05:09,231 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Ngpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vUmF6b3JsaWdodD9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:05:09,233 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:05:09,234 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:05:27,490 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1JpY2t5JTIwTWFydGluP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozODMyM3MyCmlkcjAK
2019-03-27 22:05:27,493 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:05:27,495 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1JpY2t5JTIwTWFydGluP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozODMyM3MyCmlkcjAK
2019-03-27 22:05:27,496 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '38323', 'guid': 'com.plexapp.agents.lastfm://Ricky%20Martin?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:05:27,500 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/38323/tree'
2019-03-27 22:05:27,518 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Ricky%20Martin?lang=en
2019-03-27 22:05:27,519 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/0/09771a5bb3df0cd8e7167973a75627067248a36.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:05:27,528 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=ricky+martin&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:05:27,567 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=ricky+martin&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:05:28,576 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=ricky+martin&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:05:28,616 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=ricky+martin&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:05:29,623 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '38323', 'guid': 'com.plexapp.agents.lastfm://Ricky%20Martin?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:05:29,626 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:05:29,627 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:05:29,647 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vUmlja3klMjBNYXJ0aW4%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:05:29,649 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:05:29,652 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vUmlja3klMjBNYXJ0aW4@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:05:29,655 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:05:29,655 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:05:34,501 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1JvYmluJTIwVGhpY2tlP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozODM0MXMyCmlkcjAK
2019-03-27 22:05:34,503 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:05:34,506 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1JvYmluJTIwVGhpY2tlP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozODM0MXMyCmlkcjAK
2019-03-27 22:05:34,507 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '38341', 'guid': 'com.plexapp.agents.lastfm://Robin%20Thicke?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:05:34,508 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/38341/tree'
2019-03-27 22:05:34,523 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Robin%20Thicke?lang=en
2019-03-27 22:05:34,524 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/5/7a9811ee0d09b8bd4bcc14e42081fe409993fb8.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:05:34,533 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=robin+thicke&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:05:34,574 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=robin+thicke&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:05:35,582 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=robin+thicke&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:05:35,624 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=robin+thicke&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:05:36,631 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '38341', 'guid': 'com.plexapp.agents.lastfm://Robin%20Thicke?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:05:36,634 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:05:36,634 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:05:36,652 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vUm9iaW4lMjBUaGlja2U%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:05:36,654 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:05:36,656 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vUm9iaW4lMjBUaGlja2U@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:05:36,658 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:05:36,658 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:05:44,424 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTIKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1NhcmElMjBCYXJlaWxsZXM%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM4MzQ0czIKaWRyMAo_
2019-03-27 22:05:44,426 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:05:44,428 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTIKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1NhcmElMjBCYXJlaWxsZXM@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM4MzQ0czIKaWRyMAo_
2019-03-27 22:05:44,429 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '38344', 'guid': 'com.plexapp.agents.lastfm://Sara%20Bareilles?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:05:44,430 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/38344/tree'
2019-03-27 22:05:44,448 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Sara%20Bareilles?lang=en
2019-03-27 22:05:44,449 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/e/df9eea1996987b38a0b03c02900af5f5d95273c.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:05:44,458 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=sara+bareilles&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:05:44,499 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=sara+bareilles&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:05:45,508 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=sara+bareilles&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:05:45,551 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=sara+bareilles&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:05:46,556 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '38344', 'guid': 'com.plexapp.agents.lastfm://Sara%20Bareilles?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:05:46,559 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:05:46,560 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:05:46,581 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mgpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vU2FyYSUyMEJhcmVpbGxlcz9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:05:46,583 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:05:46,585 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mgpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vU2FyYSUyMEJhcmVpbGxlcz9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:05:46,587 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:05:46,588 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:06:03,453 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTMKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1NjaXNzb3IlMjBTaXN0ZXJzP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozODM1OHMyCmlkcjAK
2019-03-27 22:06:03,454 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:06:03,457 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTMKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1NjaXNzb3IlMjBTaXN0ZXJzP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozODM1OHMyCmlkcjAK
2019-03-27 22:06:03,458 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '38358', 'guid': 'com.plexapp.agents.lastfm://Scissor%20Sisters?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:06:03,462 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/38358/tree'
2019-03-27 22:06:03,489 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Scissor%20Sisters?lang=en
2019-03-27 22:06:03,490 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/6/1cfaa8e14d8cc2668b564351cae5fd5a0149519.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:06:03,499 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=scissor+sisters&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:06:03,560 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=scissor+sisters&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:06:04,567 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=scissor+sisters&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:06:04,608 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=scissor+sisters&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:06:05,616 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '38358', 'guid': 'com.plexapp.agents.lastfm://Scissor%20Sisters?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:06:05,619 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:06:05,619 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:06:05,637 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vU2Npc3NvciUyMFNpc3RlcnM%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:06:05,639 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:06:05,642 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vU2Npc3NvciUyMFNpc3RlcnM@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:06:05,644 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:06:05,644 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:06:27,463 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDgKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1MlMjBDbHViJTIwNz9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzgzOTlzMgppZHIwCg__
2019-03-27 22:06:27,465 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:06:27,468 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDgKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1MlMjBDbHViJTIwNz9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzgzOTlzMgppZHIwCg__
2019-03-27 22:06:27,469 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '38399', 'guid': 'com.plexapp.agents.lastfm://S%20Club%207?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:06:27,470 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/38399/tree'
2019-03-27 22:06:27,488 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://S%20Club%207?lang=en
2019-03-27 22:06:27,489 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/c/c5f5931e10d6548480ee77bc79b3115fd178252.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:06:27,500 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=s+club+7&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:06:27,540 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=s+club+7&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:06:28,547 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=s+club+7&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:06:28,587 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=s+club+7&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:06:29,591 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '38399', 'guid': 'com.plexapp.agents.lastfm://S%20Club%207?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:06:29,594 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:06:29,594 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:06:29,612 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vUyUyMENsdWIlMjA3P2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:06:29,613 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:06:29,615 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vUyUyMENsdWIlMjA3P2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:06:29,617 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:06:29,618 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:06:37,839 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1IlQzMlQjZ5a3NvcHA%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM4NDE0czIKaWRyMAo_
2019-03-27 22:06:37,841 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:06:37,846 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1IlQzMlQjZ5a3NvcHA@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM4NDE0czIKaWRyMAo_
2019-03-27 22:06:37,847 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '38414', 'guid': 'com.plexapp.agents.lastfm://R%C3%B6yksopp?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:06:37,848 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/38414/tree'
2019-03-27 22:06:37,870 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://R%C3%B6yksopp?lang=en
2019-03-27 22:06:37,871 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/b/6412f12c482c0bdfd1db4911ec9700fece8155d.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:06:37,885 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=r%C3%B6yksopp&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:06:37,923 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=r%C3%B6yksopp&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:06:38,929 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=r%C3%B6yksopp&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:06:38,972 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=r%C3%B6yksopp&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:06:39,981 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '38414', 'guid': 'com.plexapp.agents.lastfm://R%C3%B6yksopp?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:06:39,983 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:06:39,984 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:06:40,001 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vUiVDMyVCNnlrc29wcD9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:06:40,003 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:06:40,005 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vUiVDMyVCNnlrc29wcD9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:06:40,007 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:06:40,007 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:06:49,064 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1F1ZWVuP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozODQyNnMyCmlkcjAK
2019-03-27 22:06:49,066 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:06:49,069 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1F1ZWVuP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozODQyNnMyCmlkcjAK
2019-03-27 22:06:49,070 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '38426', 'guid': 'com.plexapp.agents.lastfm://Queen?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:06:49,071 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/38426/tree'
2019-03-27 22:06:49,093 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Queen?lang=en
2019-03-27 22:06:49,094 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/1/fed437e42a545553511e9e2279a09c619d0f8cb.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:06:49,110 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=queen&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:06:49,152 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=queen&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:06:50,159 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=queen&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:06:50,199 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=queen&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:06:51,203 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '38426', 'guid': 'com.plexapp.agents.lastfm://Queen?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:06:51,206 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:06:51,207 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:06:51,225 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vUXVlZW4%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:06:51,226 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:06:51,228 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vUXVlZW4@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:06:51,230 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:06:51,231 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:07:24,196 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDgKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1BpeGllJTIwTG90dD9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzg0NThzMgppZHIwCg__
2019-03-27 22:07:24,198 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:07:24,200 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDgKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1BpeGllJTIwTG90dD9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzg0NThzMgppZHIwCg__
2019-03-27 22:07:24,201 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '38458', 'guid': 'com.plexapp.agents.lastfm://Pixie%20Lott?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:07:24,204 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/38458/tree'
2019-03-27 22:07:24,221 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Pixie%20Lott?lang=en
2019-03-27 22:07:24,222 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/8/a6cbe9d412f3b20cb7ac1cf6e3aafc3ae605ad9.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:07:24,231 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=pixie+lott&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:07:24,272 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=pixie+lott&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:07:25,280 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=pixie+lott&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:07:25,331 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=pixie+lott&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:07:26,339 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '38458', 'guid': 'com.plexapp.agents.lastfm://Pixie%20Lott?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:07:26,341 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:07:26,342 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:07:26,359 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vUGl4aWUlMjBMb3R0P2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:07:26,361 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:07:26,363 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vUGl4aWUlMjBMb3R0P2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:07:26,365 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:07:26,366 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:07:33,472 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDgKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1BpbmslMjBGbG95ZD9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzg0NzJzMgppZHIwCg__
2019-03-27 22:07:33,473 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:07:33,476 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDgKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1BpbmslMjBGbG95ZD9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzg0NzJzMgppZHIwCg__
2019-03-27 22:07:33,477 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '38472', 'guid': 'com.plexapp.agents.lastfm://Pink%20Floyd?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:07:33,480 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/38472/tree'
2019-03-27 22:07:33,496 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Pink%20Floyd?lang=en
2019-03-27 22:07:33,497 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/1/45b231414d4d0bd5eb88463e8dcc64850455b66.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:07:33,505 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=pink+floyd&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:07:33,544 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=pink+floyd&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:07:34,551 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=pink+floyd&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:07:34,596 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=pink+floyd&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:07:35,605 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '38472', 'guid': 'com.plexapp.agents.lastfm://Pink%20Floyd?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:07:35,607 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:07:35,608 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:07:35,626 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vUGluayUyMEZsb3lkP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:07:35,628 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:07:35,630 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vUGluayUyMEZsb3lkP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:07:35,632 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:07:35,633 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:08:35,183 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1BhbG9tYSUyMEZhaXRoP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozODQ4NXMyCmlkcjAK
2019-03-27 22:08:35,184 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:08:35,187 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1BhbG9tYSUyMEZhaXRoP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozODQ4NXMyCmlkcjAK
2019-03-27 22:08:35,188 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '38485', 'guid': 'com.plexapp.agents.lastfm://Paloma%20Faith?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:08:35,189 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/38485/tree'
2019-03-27 22:08:35,213 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Paloma%20Faith?lang=en
2019-03-27 22:08:35,214 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/c/5499d0ddd4fb7c83c7856e1222e5bd6fe85178a.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:08:35,223 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=paloma+faith&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:08:35,266 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=paloma+faith&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:08:36,271 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=paloma+faith&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:08:36,310 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=paloma+faith&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:08:37,318 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '38485', 'guid': 'com.plexapp.agents.lastfm://Paloma%20Faith?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:08:37,321 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:08:37,321 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:08:37,338 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vUGFsb21hJTIwRmFpdGg%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:08:37,340 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:08:37,342 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vUGFsb21hJTIwRmFpdGg@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:08:37,344 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:08:37,345 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:09:11,294 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTIKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1BhdWwlMjB2YW4lMjBEeWs%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM4NTI2czIKaWRyMAo_
2019-03-27 22:09:11,296 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:09:11,298 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTIKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1BhdWwlMjB2YW4lMjBEeWs@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM4NTI2czIKaWRyMAo_
2019-03-27 22:09:11,299 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '38526', 'guid': 'com.plexapp.agents.lastfm://Paul%20van%20Dyk?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:09:11,303 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/38526/tree'
2019-03-27 22:09:11,322 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Paul%20van%20Dyk?lang=en
2019-03-27 22:09:11,323 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/d/5fa2fdc6f77f58c6f9969a976ff9782e1deb37d.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:09:11,340 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=paul+van+dyk&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:09:11,380 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=paul+van+dyk&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:09:12,389 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=paul+van+dyk&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:09:12,428 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=paul+van+dyk&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:09:13,436 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '38526', 'guid': 'com.plexapp.agents.lastfm://Paul%20van%20Dyk?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:09:13,438 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:09:13,439 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:09:13,479 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mgpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vUGF1bCUyMHZhbiUyMER5az9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:09:13,519 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:09:13,522 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mgpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vUGF1bCUyMHZhbiUyMER5az9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:09:13,524 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:09:13,524 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:09:17,364 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1BoaWwlMjBDb2xsaW5zP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozODU1MHMyCmlkcjAK
2019-03-27 22:09:17,366 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:09:17,369 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1BoaWwlMjBDb2xsaW5zP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozODU1MHMyCmlkcjAK
2019-03-27 22:09:17,369 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '38550', 'guid': 'com.plexapp.agents.lastfm://Phil%20Collins?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:09:17,370 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/38550/tree'
2019-03-27 22:09:17,387 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Phil%20Collins?lang=en
2019-03-27 22:09:17,387 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/0/996c77f52003ad335a41778558a919c1854f63f.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:09:17,407 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=phil+collins&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:09:17,451 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=phil+collins&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:09:18,459 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=phil+collins&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:09:18,498 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=phil+collins&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:09:19,509 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '38550', 'guid': 'com.plexapp.agents.lastfm://Phil%20Collins?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:09:19,512 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:09:19,513 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:09:19,541 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vUGhpbCUyMENvbGxpbnM%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:09:19,543 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:09:19,546 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vUGhpbCUyMENvbGxpbnM@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:09:19,549 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:09:19,549 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:09:57,123 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDIKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1ByaW5jZT9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzg1NjNzMgppZHIwCg__
2019-03-27 22:09:57,125 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:09:57,127 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDIKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1ByaW5jZT9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzg1NjNzMgppZHIwCg__
2019-03-27 22:09:57,128 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '38563', 'guid': 'com.plexapp.agents.lastfm://Prince?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:09:57,150 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/38563/tree'
2019-03-27 22:09:57,196 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Prince?lang=en
2019-03-27 22:09:57,197 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/0/0ecdb9fbdaca167ecfb370eac34e35cf19b468e.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:09:57,206 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=prince&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:09:57,262 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=prince&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:09:58,268 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=prince&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:09:58,311 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=prince&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:09:59,320 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '38563', 'guid': 'com.plexapp.agents.lastfm://Prince?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:09:59,324 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:09:59,325 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:09:59,343 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Mgpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vUHJpbmNlP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:09:59,345 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:09:59,348 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Mgpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vUHJpbmNlP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:09:59,350 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:09:59,351 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:11:01,682 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzODEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1ByaW5jZSUyMGFuZCUyMHRoZSUyME5ldyUyMFBvd2VyJTIwR2VuZXJhdGlvbj9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzg2NjZzMgppZHIwCg__
2019-03-27 22:11:01,684 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:11:01,686 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzODEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1ByaW5jZSUyMGFuZCUyMHRoZSUyME5ldyUyMFBvd2VyJTIwR2VuZXJhdGlvbj9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzg2NjZzMgppZHIwCg__
2019-03-27 22:11:01,687 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '38666', 'guid': 'com.plexapp.agents.lastfm://Prince%20and%20the%20New%20Power%20Generation?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:11:01,690 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/38666/tree'
2019-03-27 22:11:01,708 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Prince%20and%20the%20New%20Power%20Generation?lang=en
2019-03-27 22:11:01,709 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/b/a00d1d63ce355db0124fd3321a5a67277977c63.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:11:01,718 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=prince+and+the+new+power+generation&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:11:01,760 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=prince+and+the+new+power+generation&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:11:02,767 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=prince+and+the+new+power+generation&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:11:02,803 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=prince+and+the+new+power+generation&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:11:03,811 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '38666', 'guid': 'com.plexapp.agents.lastfm://Prince%20and%20the%20New%20Power%20Generation?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:11:03,814 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:11:03,814 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:11:03,831 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM4MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vUHJpbmNlJTIwYW5kJTIwdGhlJTIwTmV3JTIwUG93ZXIlMjBHZW5lcmF0aW9uP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:11:03,833 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:11:03,835 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM4MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vUHJpbmNlJTIwYW5kJTIwdGhlJTIwTmV3JTIwUG93ZXIlMjBHZW5lcmF0aW9uP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:11:03,837 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:11:03,838 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:11:10,814 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDYKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL05pY2tlbGJhY2s%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM4Njk2czIKaWRyMAo_
2019-03-27 22:11:10,816 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:11:10,818 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDYKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL05pY2tlbGJhY2s@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM4Njk2czIKaWRyMAo_
2019-03-27 22:11:10,819 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '38696', 'guid': 'com.plexapp.agents.lastfm://Nickelback?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:11:10,820 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/38696/tree'
2019-03-27 22:11:10,833 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Nickelback?lang=en
2019-03-27 22:11:10,834 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/f/dca147a22c9575efce99d72c217a5c2e6a46f01.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:11:10,846 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=nickelback&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:11:10,915 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=nickelback&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:11:11,614 (30010fd4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL09uZSUyMERpcmVjdGlvbj9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzg2ODFzMgppZHIwCg__
2019-03-27 22:11:11,616 (30010fd4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:11:11,619 (30010fd4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL09uZSUyMERpcmVjdGlvbj9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzg2ODFzMgppZHIwCg__
2019-03-27 22:11:11,620 (30010fd4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '38681', 'guid': 'com.plexapp.agents.lastfm://One%20Direction?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:11:11,621 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/38681/tree'
2019-03-27 22:11:11,639 (30010fd4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://One%20Direction?lang=en
2019-03-27 22:11:11,640 (30010fd4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/5/5b2195f88ef9192619b3a9b3ed3e7777ed06875.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:11:11,648 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=one+direction&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:11:11,684 (30010fd4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=one+direction&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:11:11,919 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=nickelback&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:11:11,964 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=nickelback&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:11:12,693 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=one+direction&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:11:12,733 (30010fd4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=one+direction&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:11:12,972 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '38696', 'guid': 'com.plexapp.agents.lastfm://Nickelback?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:11:12,975 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:11:12,976 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:11:12,993 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Ngpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTmlja2VsYmFjaz9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:11:12,995 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:11:12,997 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Ngpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTmlja2VsYmFjaz9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:11:12,999 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:11:13,000 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:11:13,741 (30010fd4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '38681', 'guid': 'com.plexapp.agents.lastfm://One%20Direction?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:11:13,744 (30010fd4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:11:13,745 (30010fd4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:11:13,822 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vT25lJTIwRGlyZWN0aW9uP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:11:13,823 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:11:13,826 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vT25lJTIwRGlyZWN0aW9uP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:11:13,828 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:11:13,828 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:11:24,622 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDMKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL091dEthc3Q%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM4Njk5czIKaWRyMAo_
2019-03-27 22:11:24,624 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:11:24,627 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDMKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL091dEthc3Q@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM4Njk5czIKaWRyMAo_
2019-03-27 22:11:24,628 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '38699', 'guid': 'com.plexapp.agents.lastfm://OutKast?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:11:24,631 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/38699/tree'
2019-03-27 22:11:24,655 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://OutKast?lang=en
2019-03-27 22:11:24,656 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/b/5358cba8d9d09a3e6cb100f174075fb21d73ee1.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:11:24,665 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=outkast&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:11:24,709 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=outkast&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:11:25,715 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=outkast&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:11:25,757 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=outkast&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:11:26,763 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '38699', 'guid': 'com.plexapp.agents.lastfm://OutKast?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:11:26,766 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:11:26,767 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:11:26,784 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Mwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vT3V0S2FzdD9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:11:26,785 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:11:26,788 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Mwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vT3V0S2FzdD9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:11:26,790 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:11:26,790 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:11:58,066 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTgKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL09jZWFuJTIwQ29sb3VyJTIwU2NlbmU%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM4NzQxczIKaWRyMAo_
2019-03-27 22:11:58,068 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:11:58,070 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTgKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL09jZWFuJTIwQ29sb3VyJTIwU2NlbmU@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM4NzQxczIKaWRyMAo_
2019-03-27 22:11:58,071 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '38741', 'guid': 'com.plexapp.agents.lastfm://Ocean%20Colour%20Scene?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:11:58,074 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/38741/tree'
2019-03-27 22:11:58,092 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Ocean%20Colour%20Scene?lang=en
2019-03-27 22:11:58,093 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/5/e8c834cc492404fb8da0a9e088aa84772accd84.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:11:58,104 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=ocean+colour+scene&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:11:58,146 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=ocean+colour+scene&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:11:59,149 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=ocean+colour+scene&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:11:59,187 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=ocean+colour+scene&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:12:00,195 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '38741', 'guid': 'com.plexapp.agents.lastfm://Ocean%20Colour%20Scene?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:12:00,198 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:12:00,199 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:12:00,253 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1OApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vT2NlYW4lMjBDb2xvdXIlMjBTY2VuZT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:12:00,255 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:12:00,258 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1OApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vT2NlYW4lMjBDb2xvdXIlMjBTY2VuZT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:12:00,260 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:12:00,260 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:12:07,741 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL05vaXNldHRlcz9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzg3NTVzMgppZHIwCg__
2019-03-27 22:12:07,742 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:12:07,745 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL05vaXNldHRlcz9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzg3NTVzMgppZHIwCg__
2019-03-27 22:12:07,746 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '38755', 'guid': 'com.plexapp.agents.lastfm://Noisettes?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:12:07,749 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/38755/tree'
2019-03-27 22:12:07,766 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Noisettes?lang=en
2019-03-27 22:12:07,767 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/4/b6dbe83d32cda406547ba65907492b300f9f982.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:12:07,776 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=noisettes&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:12:07,819 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=noisettes&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:12:08,825 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=noisettes&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:12:08,866 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=noisettes&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:12:09,874 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '38755', 'guid': 'com.plexapp.agents.lastfm://Noisettes?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:12:09,880 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:12:09,881 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:12:09,898 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0NQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTm9pc2V0dGVzP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:12:09,900 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:12:09,902 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0NQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTm9pc2V0dGVzP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:12:09,905 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:12:09,905 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:12:17,748 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL05vcmFoJTIwSm9uZXM%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM4NzY4czIKaWRyMAo_
2019-03-27 22:12:17,750 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:12:17,753 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL05vcmFoJTIwSm9uZXM@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM4NzY4czIKaWRyMAo_
2019-03-27 22:12:17,754 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '38768', 'guid': 'com.plexapp.agents.lastfm://Norah%20Jones?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:12:17,757 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/38768/tree'
2019-03-27 22:12:17,779 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Norah%20Jones?lang=en
2019-03-27 22:12:17,780 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/7/47cc7886205aa3389df3e7a6d971acba987f4d1.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:12:17,798 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=norah+jones&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:12:17,838 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=norah+jones&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:12:18,843 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=norah+jones&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:12:18,889 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=norah+jones&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:12:19,895 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '38768', 'guid': 'com.plexapp.agents.lastfm://Norah%20Jones?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:12:19,898 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:12:19,903 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:12:19,920 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTm9yYWglMjBKb25lcz9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:12:19,921 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:12:19,924 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTm9yYWglMjBKb25lcz9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:12:19,926 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:12:19,927 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:12:29,368 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL01pa2UlMjBPbGRmaWVsZD9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzg3OThzMgppZHIwCg__
2019-03-27 22:12:29,370 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:12:29,374 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL01pa2UlMjBPbGRmaWVsZD9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzg3OThzMgppZHIwCg__
2019-03-27 22:12:29,375 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '38798', 'guid': 'com.plexapp.agents.lastfm://Mike%20Oldfield?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:12:29,376 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/38798/tree'
2019-03-27 22:12:29,397 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Mike%20Oldfield?lang=en
2019-03-27 22:12:29,398 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/c/30e7ec78a2f1099efb264dcb7b740f6274b4ef3.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:12:29,408 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=mike+oldfield&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:12:29,448 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=mike+oldfield&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:12:29,539 (30010fd4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTIKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL01hc3NpdmUlMjBBdHRhY2s%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM4ODE0czIKaWRyMAo_
2019-03-27 22:12:29,541 (30010fd4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:12:29,543 (30010fd4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTIKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL01hc3NpdmUlMjBBdHRhY2s@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM4ODE0czIKaWRyMAo_
2019-03-27 22:12:29,545 (30010fd4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '38814', 'guid': 'com.plexapp.agents.lastfm://Massive%20Attack?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:12:29,548 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/38814/tree'
2019-03-27 22:12:29,577 (30010fd4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Massive%20Attack?lang=en
2019-03-27 22:12:29,578 (30010fd4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/4/ed0e190fc93c5a6c6766555063cbd748b4bf05f.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:12:29,596 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=massive+attack&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:12:29,641 (30010fd4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=massive+attack&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:12:30,456 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=mike+oldfield&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:12:30,498 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=mike+oldfield&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:12:30,647 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=massive+attack&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:12:30,700 (30010fd4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=massive+attack&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:12:31,507 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '38798', 'guid': 'com.plexapp.agents.lastfm://Mike%20Oldfield?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:12:31,509 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:12:31,510 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:12:31,542 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTWlrZSUyME9sZGZpZWxkP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:12:31,544 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:12:31,547 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTWlrZSUyME9sZGZpZWxkP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:12:31,549 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:12:31,550 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:12:31,708 (30010fd4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '38814', 'guid': 'com.plexapp.agents.lastfm://Massive%20Attack?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:12:31,711 (30010fd4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:12:31,711 (30010fd4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:12:31,731 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mgpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTWFzc2l2ZSUyMEF0dGFjaz9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:12:31,733 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:12:31,735 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mgpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTWFzc2l2ZSUyMEF0dGFjaz9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:12:31,737 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:12:31,738 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:12:39,746 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTMKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL01pY2hhZWwlMjBKYWNrc29uP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozODgyNXMyCmlkcjAK
2019-03-27 22:12:39,748 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:12:39,750 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTMKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL01pY2hhZWwlMjBKYWNrc29uP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozODgyNXMyCmlkcjAK
2019-03-27 22:12:39,751 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '38825', 'guid': 'com.plexapp.agents.lastfm://Michael%20Jackson?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:12:39,752 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/38825/tree'
2019-03-27 22:12:39,781 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Michael%20Jackson?lang=en
2019-03-27 22:12:39,782 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/c/b2ee2861ee61dc1e23a470315f654bbe8f004b2.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:12:39,792 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=michael+jackson&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:12:39,831 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=michael+jackson&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:12:40,838 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=michael+jackson&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:12:40,884 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=michael+jackson&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:12:41,891 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '38825', 'guid': 'com.plexapp.agents.lastfm://Michael%20Jackson?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:12:41,894 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:12:41,895 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:12:41,913 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTWljaGFlbCUyMEphY2tzb24%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:12:41,915 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:12:41,917 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTWljaGFlbCUyMEphY2tzb24@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:12:41,919 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:12:41,919 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:14:15,609 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL05hdGFsaWUlMjBJbWJydWdsaWE%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM4ODc0czIKaWRyMAo_
2019-03-27 22:14:15,610 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:14:15,613 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL05hdGFsaWUlMjBJbWJydWdsaWE@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM4ODc0czIKaWRyMAo_
2019-03-27 22:14:15,614 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '38874', 'guid': 'com.plexapp.agents.lastfm://Natalie%20Imbruglia?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:14:15,615 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/38874/tree'
2019-03-27 22:14:15,640 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Natalie%20Imbruglia?lang=en
2019-03-27 22:14:15,641 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/8/46f08b6e4a2f99bebc4b1ac6b632514ce03c863.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:14:15,650 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=natalie+imbruglia&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:14:15,710 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=natalie+imbruglia&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:14:16,718 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=natalie+imbruglia&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:14:16,766 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=natalie+imbruglia&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:14:17,771 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '38874', 'guid': 'com.plexapp.agents.lastfm://Natalie%20Imbruglia?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:14:17,774 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:14:17,776 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:14:17,795 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1NQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTmF0YWxpZSUyMEltYnJ1Z2xpYT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:14:17,797 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:14:17,800 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1NQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTmF0YWxpZSUyMEltYnJ1Z2xpYT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:14:17,802 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:14:17,803 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:14:40,727 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTIKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL01lZ2hhbiUyMFRyYWlub3I%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM4OTE2czIKaWRyMAo_
2019-03-27 22:14:40,729 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:14:40,731 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTIKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL01lZ2hhbiUyMFRyYWlub3I@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM4OTE2czIKaWRyMAo_
2019-03-27 22:14:40,732 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '38916', 'guid': 'com.plexapp.agents.lastfm://Meghan%20Trainor?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:14:40,733 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/38916/tree'
2019-03-27 22:14:40,754 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Meghan%20Trainor?lang=en
2019-03-27 22:14:40,755 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/c/c4e89fca57fdc84e834b07918af5b16c760fc57.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:14:40,766 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=meghan+trainor&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:14:40,809 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=meghan+trainor&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:14:41,818 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=meghan+trainor&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:14:41,873 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=meghan+trainor&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:14:42,880 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '38916', 'guid': 'com.plexapp.agents.lastfm://Meghan%20Trainor?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:14:42,883 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:14:42,883 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:14:42,902 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mgpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTWVnaGFuJTIwVHJhaW5vcj9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:14:42,904 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:14:42,907 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mgpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTWVnaGFuJTIwVHJhaW5vcj9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:14:42,909 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:14:42,910 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:14:48,110 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTYKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL01pY2hhZWwlMjBCdWJsJUMzJUE4P2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozODkyN3MyCmlkcjAK
2019-03-27 22:14:48,117 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:14:48,120 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTYKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL01pY2hhZWwlMjBCdWJsJUMzJUE4P2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozODkyN3MyCmlkcjAK
2019-03-27 22:14:48,121 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '38927', 'guid': 'com.plexapp.agents.lastfm://Michael%20Bubl%C3%A8?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:14:48,122 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/38927/tree'
2019-03-27 22:14:48,147 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Michael%20Bubl%C3%A8?lang=en
2019-03-27 22:14:48,148 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/e/39cb88130366c142c8348b7d0f97f05434cfc61.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:14:48,277 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=michael+bubl%C3%A8&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:14:48,376 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=michael+bubl%C3%A8&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:14:49,384 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=michael+bubl%C3%A8&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:14:49,422 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=michael+bubl%C3%A8&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:14:50,427 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '38927', 'guid': 'com.plexapp.agents.lastfm://Michael%20Bubl%C3%A8?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:14:50,430 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:14:50,430 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:14:50,447 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Ngpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTWljaGFlbCUyMEJ1YmwlQzMlQTg%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:14:50,449 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:14:50,452 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Ngpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTWljaGFlbCUyMEJ1YmwlQzMlQTg@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:14:50,454 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:14:50,455 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:15:07,127 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL01pa2E%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM4OTU3czIKaWRyMAo_
2019-03-27 22:15:07,129 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:15:07,132 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL01pa2E@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM4OTU3czIKaWRyMAo_
2019-03-27 22:15:07,133 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '38957', 'guid': 'com.plexapp.agents.lastfm://Mika?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:15:07,138 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/38957/tree'
2019-03-27 22:15:07,158 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Mika?lang=en
2019-03-27 22:15:07,159 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/5/ee749d6f55ce6e5514f6bc27718bbfc13b6683a.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:15:07,169 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=mika&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:15:07,210 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=mika&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:15:08,217 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=mika&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:15:08,263 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=mika&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:15:09,272 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '38957', 'guid': 'com.plexapp.agents.lastfm://Mika?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:15:09,275 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:15:09,275 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:15:09,294 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTWlrYT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:15:09,296 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:15:09,298 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTWlrYT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:15:09,300 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:15:09,301 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:15:15,689 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL01vYnk%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM4OTcwczIKaWRyMAo_
2019-03-27 22:15:15,690 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:15:15,693 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL01vYnk@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM4OTcwczIKaWRyMAo_
2019-03-27 22:15:15,694 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '38970', 'guid': 'com.plexapp.agents.lastfm://Moby?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:15:15,695 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/38970/tree'
2019-03-27 22:15:15,718 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Moby?lang=en
2019-03-27 22:15:15,719 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/8/1e10d756bef45ef62bf29a15fedcdd29860413c.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:15:15,727 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=moby&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:15:15,773 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=moby&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:15:16,779 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=moby&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:15:16,825 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=moby&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:15:17,831 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '38970', 'guid': 'com.plexapp.agents.lastfm://Moby?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:15:17,835 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:15:17,874 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:15:17,891 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTW9ieT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:15:17,893 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:15:17,895 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTW9ieT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:15:17,897 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:15:17,897 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:15:36,114 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDMKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL01hZG9ubmE%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM5MDIzczIKaWRyMAo_
2019-03-27 22:15:36,116 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:15:36,119 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDMKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL01hZG9ubmE@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM5MDIzczIKaWRyMAo_
2019-03-27 22:15:36,120 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '39023', 'guid': 'com.plexapp.agents.lastfm://Madonna?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:15:36,124 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/39023/tree'
2019-03-27 22:15:36,162 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Madonna?lang=en
2019-03-27 22:15:36,163 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/3/adcc66a77c8fdcbc4e521816235da63f4b7391a.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:15:36,172 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=madonna&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:15:36,212 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=madonna&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:15:37,220 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=madonna&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:15:37,258 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=madonna&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:15:38,265 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '39023', 'guid': 'com.plexapp.agents.lastfm://Madonna?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:15:38,269 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:15:38,269 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:15:38,295 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Mwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTWFkb25uYT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:15:38,297 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:15:38,300 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Mwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTWFkb25uYT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:15:38,303 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:15:38,303 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:16:38,127 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDYKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0xvdSUyMEJlZ2E%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM5MDk2czIKaWRyMAo_
2019-03-27 22:16:38,129 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:16:38,131 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDYKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0xvdSUyMEJlZ2E@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM5MDk2czIKaWRyMAo_
2019-03-27 22:16:38,132 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '39096', 'guid': 'com.plexapp.agents.lastfm://Lou%20Bega?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:16:38,135 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/39096/tree'
2019-03-27 22:16:38,153 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Lou%20Bega?lang=en
2019-03-27 22:16:38,154 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/0/4bfafdeac39241717ab03859a7cf31cea7a7b1a.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:16:38,163 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=lou+bega&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:16:38,216 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=lou+bega&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:16:39,224 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=lou+bega&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:16:39,265 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=lou+bega&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:16:40,155 (30010fd4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL01hcmlsbGlvbj9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzkxMTFzMgppZHIwCg__
2019-03-27 22:16:40,157 (30010fd4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:16:40,159 (30010fd4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL01hcmlsbGlvbj9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzkxMTFzMgppZHIwCg__
2019-03-27 22:16:40,160 (30010fd4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '39111', 'guid': 'com.plexapp.agents.lastfm://Marillion?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:16:40,161 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/39111/tree'
2019-03-27 22:16:40,179 (30010fd4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Marillion?lang=en
2019-03-27 22:16:40,180 (30010fd4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/1/412dfd44b41f8c9c52baf2f8da06ba06e091003.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:16:40,196 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=marillion&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:16:40,238 (30010fd4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=marillion&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:16:40,271 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '39096', 'guid': 'com.plexapp.agents.lastfm://Lou%20Bega?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:16:40,274 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:16:40,274 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:16:40,291 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Ngpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTG91JTIwQmVnYT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:16:40,292 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:16:40,294 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Ngpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTG91JTIwQmVnYT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:16:40,297 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:16:40,297 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:16:41,243 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=marillion&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:16:41,280 (30010fd4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=marillion&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:16:42,284 (30010fd4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '39111', 'guid': 'com.plexapp.agents.lastfm://Marillion?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:16:42,287 (30010fd4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:16:42,287 (30010fd4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:16:42,304 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0NQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTWFyaWxsaW9uP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:16:42,305 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:16:42,307 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0NQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTWFyaWxsaW9uP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:16:42,310 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:16:42,310 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:16:50,568 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDYKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0xvdSUyMFJlZWQ%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM5MTI3czIKaWRyMAo_
2019-03-27 22:16:50,569 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:16:50,572 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDYKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0xvdSUyMFJlZWQ@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM5MTI3czIKaWRyMAo_
2019-03-27 22:16:50,573 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '39127', 'guid': 'com.plexapp.agents.lastfm://Lou%20Reed?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:16:50,574 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/39127/tree'
2019-03-27 22:16:50,591 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Lou%20Reed?lang=en
2019-03-27 22:16:50,592 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/a/a3480e749a4c9a7dffaf6f412548d109791f545.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:16:50,601 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=lou+reed&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:16:50,640 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=lou+reed&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:16:51,647 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=lou+reed&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:16:51,690 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=lou+reed&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:16:52,695 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '39127', 'guid': 'com.plexapp.agents.lastfm://Lou%20Reed?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:16:52,698 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:16:52,698 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:16:52,726 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Ngpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTG91JTIwUmVlZD9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:16:52,728 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:16:52,731 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Ngpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTG91JTIwUmVlZD9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:16:52,733 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:16:52,734 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:17:05,410 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDcKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL01hY3klMjBHcmF5P2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozOTE0N3MyCmlkcjAK
2019-03-27 22:17:05,411 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:17:05,414 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDcKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL01hY3klMjBHcmF5P2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozOTE0N3MyCmlkcjAK
2019-03-27 22:17:05,415 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '39147', 'guid': 'com.plexapp.agents.lastfm://Macy%20Gray?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:17:05,418 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/39147/tree'
2019-03-27 22:17:05,435 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Macy%20Gray?lang=en
2019-03-27 22:17:05,437 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/8/045c66cbb2464347ed01d2f36e7df5edbfc4a2d.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:17:05,448 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=macy+gray&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:17:05,487 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=macy+gray&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:17:06,494 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=macy+gray&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:17:06,537 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=macy+gray&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:17:07,544 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '39147', 'guid': 'com.plexapp.agents.lastfm://Macy%20Gray?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:17:07,546 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:17:07,547 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:17:07,564 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Nwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTWFjeSUyMEdyYXk%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:17:07,566 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:17:07,568 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Nwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTWFjeSUyMEdyYXk@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:17:07,570 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:17:07,571 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:17:08,603 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0xhdXJ5biUyMEhpbGw%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM5MTU5czIKaWRyMAo_
2019-03-27 22:17:08,605 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:17:08,607 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0xhdXJ5biUyMEhpbGw@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM5MTU5czIKaWRyMAo_
2019-03-27 22:17:08,608 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '39159', 'guid': 'com.plexapp.agents.lastfm://Lauryn%20Hill?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:17:08,609 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/39159/tree'
2019-03-27 22:17:08,627 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Lauryn%20Hill?lang=en
2019-03-27 22:17:08,628 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/6/be680d79cd6cc297802e252eeb4f6e7e6e3733a.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:17:08,644 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=lauryn+hill&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:17:08,687 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=lauryn+hill&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:17:09,695 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=lauryn+hill&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:17:09,743 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=lauryn+hill&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:17:10,751 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '39159', 'guid': 'com.plexapp.agents.lastfm://Lauryn%20Hill?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:17:10,754 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:17:10,755 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:17:10,772 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTGF1cnluJTIwSGlsbD9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:17:10,773 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:17:10,775 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTGF1cnluJTIwSGlsbD9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:17:10,778 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:17:10,778 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:17:17,638 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0xpZ2h0aG91c2UlMjBGYW1pbHk%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM5MTc3czIKaWRyMAo_
2019-03-27 22:17:17,640 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:17:17,643 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0xpZ2h0aG91c2UlMjBGYW1pbHk@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM5MTc3czIKaWRyMAo_
2019-03-27 22:17:17,644 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '39177', 'guid': 'com.plexapp.agents.lastfm://Lighthouse%20Family?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:17:17,647 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/39177/tree'
2019-03-27 22:17:17,671 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Lighthouse%20Family?lang=en
2019-03-27 22:17:17,672 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/f/f46e21de2ee7218550eee19aa432e0c651c4b9e.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:17:17,686 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=lighthouse+family&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:17:17,727 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=lighthouse+family&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:17:18,736 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=lighthouse+family&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:17:18,784 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=lighthouse+family&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:17:19,793 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '39177', 'guid': 'com.plexapp.agents.lastfm://Lighthouse%20Family?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:17:19,795 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:17:19,796 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:17:19,814 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1NQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTGlnaHRob3VzZSUyMEZhbWlseT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:17:19,816 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:17:19,818 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1NQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTGlnaHRob3VzZSUyMEZhbWlseT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:17:19,820 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:17:19,821 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:17:29,560 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDcKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0xpYmVydHklMjBYP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozOTIyNHMyCmlkcjAK
2019-03-27 22:17:29,562 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:17:29,565 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDcKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0xpYmVydHklMjBYP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozOTIyNHMyCmlkcjAK
2019-03-27 22:17:29,566 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '39224', 'guid': 'com.plexapp.agents.lastfm://Liberty%20X?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:17:29,569 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/39224/tree'
2019-03-27 22:17:29,588 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Liberty%20X?lang=en
2019-03-27 22:17:29,589 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/c/814197e30d969d513b553f8bdaef1317bfbd707.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:17:29,600 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=liberty+x&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:17:29,647 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=liberty+x&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:17:29,821 (30010fd4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0xlbWFyP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozOTIwN3MyCmlkcjAK
2019-03-27 22:17:29,823 (30010fd4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:17:29,826 (30010fd4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0xlbWFyP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozOTIwN3MyCmlkcjAK
2019-03-27 22:17:29,827 (30010fd4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '39207', 'guid': 'com.plexapp.agents.lastfm://Lemar?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:17:29,827 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/39207/tree'
2019-03-27 22:17:29,846 (30010fd4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Lemar?lang=en
2019-03-27 22:17:29,847 (30010fd4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/6/e0a421d6861347dc76d1360016cf13f157e6a0a.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:17:29,858 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=lemar&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:17:29,900 (30010fd4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=lemar&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:17:30,655 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=liberty+x&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:17:30,692 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=liberty+x&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:17:30,907 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=lemar&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:17:30,947 (30010fd4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=lemar&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:17:31,701 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '39224', 'guid': 'com.plexapp.agents.lastfm://Liberty%20X?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:17:31,704 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:17:31,704 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:17:31,722 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Nwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTGliZXJ0eSUyMFg%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:17:31,723 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:17:31,726 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Nwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTGliZXJ0eSUyMFg@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:17:31,728 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:17:31,728 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:17:31,955 (30010fd4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '39207', 'guid': 'com.plexapp.agents.lastfm://Lemar?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:17:31,959 (30010fd4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:17:31,959 (30010fd4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:17:31,982 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTGVtYXI%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:17:31,983 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:17:31,986 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTGVtYXI@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:17:31,988 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:17:31,989 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:18:13,056 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0t5bGllJTIwTWlub2d1ZT9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzkyNDBzMgppZHIwCg__
2019-03-27 22:18:13,058 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:18:13,060 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0t5bGllJTIwTWlub2d1ZT9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzkyNDBzMgppZHIwCg__
2019-03-27 22:18:13,061 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '39240', 'guid': 'com.plexapp.agents.lastfm://Kylie%20Minogue?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:18:13,070 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/39240/tree'
2019-03-27 22:18:13,142 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Kylie%20Minogue?lang=en
2019-03-27 22:18:13,143 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/0/2d5cb829e4f46a558e41bc500da892bd94aa02e.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:18:13,168 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=kylie+minogue&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:18:13,222 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=kylie+minogue&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:18:14,228 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=kylie+minogue&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:18:14,265 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=kylie+minogue&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:18:15,271 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '39240', 'guid': 'com.plexapp.agents.lastfm://Kylie%20Minogue?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:18:15,275 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:18:15,276 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:18:15,292 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vS3lsaWUlMjBNaW5vZ3VlP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:18:15,294 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:18:15,296 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vS3lsaWUlMjBNaW5vZ3VlP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:18:15,298 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:18:15,299 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:24:40,946 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0p1c3RpbiUyMFRpbWJlcmxha2U%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM5Mzk3czIKaWRyMAo_
2019-03-27 22:24:40,947 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:24:40,950 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0p1c3RpbiUyMFRpbWJlcmxha2U@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM5Mzk3czIKaWRyMAo_
2019-03-27 22:24:40,951 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '39397', 'guid': 'com.plexapp.agents.lastfm://Justin%20Timberlake?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:24:40,952 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/39397/tree'
2019-03-27 22:24:40,969 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Justin%20Timberlake?lang=en
2019-03-27 22:24:40,970 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/f/8afe2f2f16192f4697f2f9056eb3501e1278802.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:24:40,982 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=justin+timberlake&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:24:41,043 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=justin+timberlake&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:24:42,051 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=justin+timberlake&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:24:42,103 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=justin+timberlake&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:24:43,112 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '39397', 'guid': 'com.plexapp.agents.lastfm://Justin%20Timberlake?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:24:43,115 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:24:43,115 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:24:43,134 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1NQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vSnVzdGluJTIwVGltYmVybGFrZT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:24:43,136 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:24:43,138 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1NQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vSnVzdGluJTIwVGltYmVybGFrZT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:24:43,140 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:24:43,141 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:24:49,576 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTIKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0tlbGx5JTIwQ2xhcmtzb24%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM5NDEzczIKaWRyMAo_
2019-03-27 22:24:49,578 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:24:49,580 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTIKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0tlbGx5JTIwQ2xhcmtzb24@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM5NDEzczIKaWRyMAo_
2019-03-27 22:24:49,581 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '39413', 'guid': 'com.plexapp.agents.lastfm://Kelly%20Clarkson?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:24:49,582 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/39413/tree'
2019-03-27 22:24:49,598 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Kelly%20Clarkson?lang=en
2019-03-27 22:24:49,599 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/8/c28b9b4225b34cf71e7e1db21fed7da490cc757.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:24:49,610 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=kelly+clarkson&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:24:49,652 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=kelly+clarkson&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:24:50,659 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=kelly+clarkson&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:24:50,698 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=kelly+clarkson&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:24:51,704 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '39413', 'guid': 'com.plexapp.agents.lastfm://Kelly%20Clarkson?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:24:51,706 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:24:51,707 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:24:51,728 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mgpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vS2VsbHklMjBDbGFya3Nvbj9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:24:51,730 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:24:51,739 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mgpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vS2VsbHklMjBDbGFya3Nvbj9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:24:51,741 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:24:51,742 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:24:58,057 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzMzkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0plbT9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzk0MjdzMgppZHIwCg__
2019-03-27 22:24:58,059 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:24:58,061 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzMzkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0plbT9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzk0MjdzMgppZHIwCg__
2019-03-27 22:24:58,062 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '39427', 'guid': 'com.plexapp.agents.lastfm://Jem?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:24:58,065 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/39427/tree'
2019-03-27 22:24:58,082 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Jem?lang=en
2019-03-27 22:24:58,083 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/2/062fb0af14dd4484fcaadebf4ddecd7cf67ee54.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:24:58,091 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=jem&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:24:58,131 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=jem&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:24:59,139 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=jem&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:24:59,177 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=jem&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:25:00,183 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '39427', 'guid': 'com.plexapp.agents.lastfm://Jem?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:25:00,186 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:25:00,186 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:25:00,203 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXMzOQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vSmVtP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:25:00,204 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:25:00,206 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXMzOQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vSmVtP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:25:00,208 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:25:00,209 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:25:10,725 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTMKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0tpbmdzJTIwb2YlMjBMZW9uP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozOTQ0MHMyCmlkcjAK
2019-03-27 22:25:10,727 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:25:10,730 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTMKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0tpbmdzJTIwb2YlMjBMZW9uP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozOTQ0MHMyCmlkcjAK
2019-03-27 22:25:10,731 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '39440', 'guid': 'com.plexapp.agents.lastfm://Kings%20of%20Leon?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:25:10,734 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/39440/tree'
2019-03-27 22:25:10,750 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Kings%20of%20Leon?lang=en
2019-03-27 22:25:10,751 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/d/33edc15ab265785516dc1f3e6c99e5ee45252db.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:25:10,762 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=kings+of+leon&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:25:10,801 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=kings+of+leon&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:25:11,808 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=kings+of+leon&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:25:11,850 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=kings+of+leon&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:25:12,859 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '39440', 'guid': 'com.plexapp.agents.lastfm://Kings%20of%20Leon?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:25:12,862 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:25:12,862 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:25:12,922 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vS2luZ3MlMjBvZiUyMExlb24%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:25:12,924 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:25:12,926 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vS2luZ3MlMjBvZiUyMExlb24@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:25:12,928 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:25:12,929 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:25:26,087 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0tlYW5lP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozOTQ1NXMyCmlkcjAK
2019-03-27 22:25:26,089 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:25:26,091 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0tlYW5lP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozOTQ1NXMyCmlkcjAK
2019-03-27 22:25:26,092 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '39455', 'guid': 'com.plexapp.agents.lastfm://Keane?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:25:26,093 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/39455/tree'
2019-03-27 22:25:26,116 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Keane?lang=en
2019-03-27 22:25:26,117 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/4/c5071fb8c08c36450734d694ae618667954228a.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:25:26,127 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=keane&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:25:26,177 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=keane&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:25:27,205 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=keane&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:25:27,249 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=keane&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:25:28,254 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '39455', 'guid': 'com.plexapp.agents.lastfm://Keane?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:25:28,257 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:25:28,258 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:25:28,274 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vS2VhbmU%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:25:28,276 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:25:28,278 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vS2VhbmU@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:25:28,280 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:25:28,281 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:26:05,092 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0pvaG4lMjBMZWdlbmQ%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM5NDk1czIKaWRyMAo_
2019-03-27 22:26:05,094 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:26:05,097 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0pvaG4lMjBMZWdlbmQ@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM5NDk1czIKaWRyMAo_
2019-03-27 22:26:05,098 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '39495', 'guid': 'com.plexapp.agents.lastfm://John%20Legend?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:26:05,099 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/39495/tree'
2019-03-27 22:26:05,118 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://John%20Legend?lang=en
2019-03-27 22:26:05,119 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/3/87485d372771a8a81af0bd18cca52af00aae3ca.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:26:05,128 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=john+legend&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:26:05,184 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=john+legend&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:26:06,191 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=john+legend&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:26:06,229 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=john+legend&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:26:07,238 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '39495', 'guid': 'com.plexapp.agents.lastfm://John%20Legend?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:26:07,240 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:26:07,241 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:26:07,261 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vSm9obiUyMExlZ2VuZD9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:26:07,264 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:26:07,267 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vSm9obiUyMExlZ2VuZD9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:26:07,269 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:26:07,269 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:26:18,012 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0thdGllJTIwTWVsdWE%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM5NTEzczIKaWRyMAo_
2019-03-27 22:26:18,013 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:26:18,016 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0thdGllJTIwTWVsdWE@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM5NTEzczIKaWRyMAo_
2019-03-27 22:26:18,017 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '39513', 'guid': 'com.plexapp.agents.lastfm://Katie%20Melua?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:26:18,018 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/39513/tree'
2019-03-27 22:26:18,044 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Katie%20Melua?lang=en
2019-03-27 22:26:18,045 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/c/48eceb97400ff62490f713e7430973640820ffc.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:26:18,058 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=katie+melua&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:26:18,098 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=katie+melua&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:26:19,103 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=katie+melua&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:26:19,154 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=katie+melua&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:26:20,161 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '39513', 'guid': 'com.plexapp.agents.lastfm://Katie%20Melua?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:26:20,164 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:26:20,164 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:26:20,181 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vS2F0aWUlMjBNZWx1YT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:26:20,183 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:26:20,185 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vS2F0aWUlMjBNZWx1YT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:26:20,187 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:26:20,187 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:26:50,929 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDgKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0thdHklMjBQZXJyeT9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzk1NTJzMgppZHIwCg__
2019-03-27 22:26:50,930 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:26:50,933 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDgKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0thdHklMjBQZXJyeT9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzk1NTJzMgppZHIwCg__
2019-03-27 22:26:50,934 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '39552', 'guid': 'com.plexapp.agents.lastfm://Katy%20Perry?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:26:50,935 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/39552/tree'
2019-03-27 22:26:50,955 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Katy%20Perry?lang=en
2019-03-27 22:26:50,956 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/9/511385d43e9dc7e61ea8cd2c6e4921f3feaf3c0.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:26:50,964 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=katy+perry&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:26:51,003 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=katy+perry&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:26:52,008 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=katy+perry&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:26:52,058 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=katy+perry&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:26:53,064 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '39552', 'guid': 'com.plexapp.agents.lastfm://Katy%20Perry?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:26:53,067 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:26:53,068 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:26:53,087 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vS2F0eSUyMFBlcnJ5P2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:26:53,088 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:26:53,091 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vS2F0eSUyMFBlcnJ5P2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:26:53,093 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:26:53,094 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:26:58,176 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/TWVzc2FnZUtpdDpBcnRpc3RTZWFyY2g_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMQpzNQpKYW1lc3MxMQphcnRpc3RfbmFtZXIwCg__
2019-03-27 22:26:58,178 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:26:58,181 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/TWVzc2FnZUtpdDpBcnRpc3RTZWFyY2g_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMQpzNQpKYW1lc3MxMQphcnRpc3RfbmFtZXIwCg__
2019-03-27 22:26:58,188 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=james&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:26:58,235 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=james&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:26:58,880 (30010fd4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0phZGU%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM5NTk1czIKaWRyMAo_
2019-03-27 22:26:58,882 (30010fd4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:26:58,885 (30010fd4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0phZGU@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM5NTk1czIKaWRyMAo_
2019-03-27 22:26:58,886 (30010fd4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '39595', 'guid': 'com.plexapp.agents.lastfm://Jade?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:26:58,887 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/39595/tree'
2019-03-27 22:26:58,904 (30010fd4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Jade?lang=en
2019-03-27 22:26:58,905 (30010fd4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/d/31eaae87da13746d5792d4739d95e3ba678d12a.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:26:58,914 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=jade&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:26:58,971 (30010fd4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=jade&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:26:59,244 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=james&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:26:59,282 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=james&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:26:59,979 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=jade&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:27:00,025 (30010fd4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=jade&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:27:00,291 (300052d4f0) :  CRITICAL (messaging:108) - Exception in _process_function_call (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/messaging.py", line 103, in _process_function_call
    result = self._functions[name](*args, **kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:27:00,294 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:27:00,294 (300052d4f0) :  DEBUG (runtime:924) - Response: [404] NoneType, 0 bytes
2019-03-27 22:27:01,031 (30010fd4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '39595', 'guid': 'com.plexapp.agents.lastfm://Jade?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:27:01,034 (30010fd4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:27:01,035 (30010fd4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:27:01,089 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vSmFkZT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:27:01,091 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:27:01,093 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vSmFkZT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:27:01,096 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:27:01,097 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:27:06,938 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTcKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0plYW4lMjBNaWNoZWwlMjBKYXJyZT9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzk2MDlzMgppZHIwCg__
2019-03-27 22:27:06,940 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:27:06,943 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTcKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0plYW4lMjBNaWNoZWwlMjBKYXJyZT9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzk2MDlzMgppZHIwCg__
2019-03-27 22:27:06,944 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '39609', 'guid': 'com.plexapp.agents.lastfm://Jean%20Michel%20Jarre?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:27:06,945 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/39609/tree'
2019-03-27 22:27:06,971 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Jean%20Michel%20Jarre?lang=en
2019-03-27 22:27:06,972 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/4/b1ce358168cb616296f618b6c2473e9e1b3082e.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:27:06,981 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=jean+michel+jarre&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:27:07,024 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=jean+michel+jarre&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:27:08,031 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=jean+michel+jarre&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:27:08,077 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=jean+michel+jarre&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:27:09,084 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '39609', 'guid': 'com.plexapp.agents.lastfm://Jean%20Michel%20Jarre?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:27:09,089 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:27:09,089 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:27:09,107 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Nwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vSmVhbiUyME1pY2hlbCUyMEphcnJlP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:27:09,109 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:27:09,111 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Nwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vSmVhbiUyME1pY2hlbCUyMEphcnJlP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:27:09,113 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:27:09,114 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:27:17,908 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDYKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0phbWlyb3F1YWk%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM5NjU0czIKaWRyMAo_
2019-03-27 22:27:17,910 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:27:17,913 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDYKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0phbWlyb3F1YWk@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM5NjU0czIKaWRyMAo_
2019-03-27 22:27:17,914 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '39654', 'guid': 'com.plexapp.agents.lastfm://Jamiroquai?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:27:17,915 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/39654/tree'
2019-03-27 22:27:17,939 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Jamiroquai?lang=en
2019-03-27 22:27:17,940 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/0/c4cd06496f2cd95b5e91f4411582a0edc0a7d79.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:27:17,954 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=jamiroquai&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:27:17,994 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=jamiroquai&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:27:19,002 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=jamiroquai&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:27:19,051 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=jamiroquai&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:27:20,059 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '39654', 'guid': 'com.plexapp.agents.lastfm://Jamiroquai?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:27:20,062 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:27:20,062 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:27:20,080 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Ngpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vSmFtaXJvcXVhaT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:27:20,082 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:27:20,084 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Ngpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vSmFtaXJvcXVhaT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:27:20,086 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:27:20,087 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:27:32,729 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0phbWVzJTIwQnJvd24%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM5Njg4czIKaWRyMAo_
2019-03-27 22:27:32,731 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:27:32,733 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0phbWVzJTIwQnJvd24@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM5Njg4czIKaWRyMAo_
2019-03-27 22:27:32,734 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '39688', 'guid': 'com.plexapp.agents.lastfm://James%20Brown?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:27:32,735 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/39688/tree'
2019-03-27 22:27:32,766 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://James%20Brown?lang=en
2019-03-27 22:27:32,767 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/c/389c015ee2978aac597940b48decf51762c7e2c.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:27:32,776 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=james+brown&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:27:32,838 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=james+brown&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:27:33,842 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=james+brown&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:27:33,889 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=james+brown&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:27:34,895 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '39688', 'guid': 'com.plexapp.agents.lastfm://James%20Brown?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:27:34,899 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:27:34,900 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:27:34,917 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vSmFtZXMlMjBCcm93bj9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:27:34,919 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:27:34,921 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vSmFtZXMlMjBCcm93bj9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:27:34,923 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:27:34,924 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:27:44,696 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0lyZW5lJTIwR3JhbmRpP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozOTcwNHMyCmlkcjAK
2019-03-27 22:27:44,697 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:27:44,700 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0lyZW5lJTIwR3JhbmRpP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozOTcwNHMyCmlkcjAK
2019-03-27 22:27:44,700 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '39704', 'guid': 'com.plexapp.agents.lastfm://Irene%20Grandi?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:27:44,704 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/39704/tree'
2019-03-27 22:27:44,724 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Irene%20Grandi?lang=en
2019-03-27 22:27:44,725 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/1/ca6fa88884851934089f0e073d1bc299ef54340.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:27:44,733 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=irene+grandi&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:27:44,772 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=irene+grandi&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:27:45,780 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=irene+grandi&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:27:45,819 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=irene+grandi&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:27:46,828 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '39704', 'guid': 'com.plexapp.agents.lastfm://Irene%20Grandi?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:27:46,831 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:27:46,831 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:27:46,850 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vSXJlbmUlMjBHcmFuZGk%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:27:46,853 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:27:46,856 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vSXJlbmUlMjBHcmFuZGk@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:27:46,859 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:27:46,860 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:27:54,615 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/TWVzc2FnZUtpdDpBcnRpc3RTZWFyY2g_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMQpzNApHbGVlczExCmFydGlzdF9uYW1lcjAK
2019-03-27 22:27:54,617 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:27:54,619 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/TWVzc2FnZUtpdDpBcnRpc3RTZWFyY2g_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMQpzNApHbGVlczExCmFydGlzdF9uYW1lcjAK
2019-03-27 22:27:54,626 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=glee&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:27:54,669 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=glee&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:27:55,675 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=glee&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:27:55,714 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=glee&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:27:56,722 (300052d4f0) :  CRITICAL (messaging:108) - Exception in _process_function_call (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/messaging.py", line 103, in _process_function_call
    result = self._functions[name](*args, **kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:27:56,724 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:27:56,725 (300052d4f0) :  DEBUG (runtime:924) - Response: [404] NoneType, 0 bytes
2019-03-27 22:28:09,060 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTIKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0dlb3JnZSUyME1pY2hhZWw%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM5NzQyczIKaWRyMAo_
2019-03-27 22:28:09,062 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:28:09,065 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTIKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0dlb3JnZSUyME1pY2hhZWw@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM5NzQyczIKaWRyMAo_
2019-03-27 22:28:09,065 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '39742', 'guid': 'com.plexapp.agents.lastfm://George%20Michael?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:28:09,069 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/39742/tree'
2019-03-27 22:28:09,097 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://George%20Michael?lang=en
2019-03-27 22:28:09,098 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/8/f6c4dc18cee516738310ef556b2bf3f5a3d5489.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:28:09,106 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=george+michael&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:28:09,147 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=george+michael&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:28:10,151 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=george+michael&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:28:10,188 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=george+michael&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:28:11,196 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '39742', 'guid': 'com.plexapp.agents.lastfm://George%20Michael?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:28:11,199 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:28:11,199 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:28:11,217 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mgpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vR2VvcmdlJTIwTWljaGFlbD9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:28:11,218 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:28:11,220 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mgpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vR2VvcmdlJTIwTWljaGFlbD9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:28:11,222 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:28:11,223 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:28:35,694 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0d3ZW4lMjBTdGVmYW5pP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozOTc3NHMyCmlkcjAK
2019-03-27 22:28:35,696 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:28:35,699 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0d3ZW4lMjBTdGVmYW5pP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozOTc3NHMyCmlkcjAK
2019-03-27 22:28:35,699 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '39774', 'guid': 'com.plexapp.agents.lastfm://Gwen%20Stefani?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:28:35,701 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/39774/tree'
2019-03-27 22:28:35,714 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Gwen%20Stefani?lang=en
2019-03-27 22:28:35,715 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/9/1473e5307656069865bd73919dda5c3522901dd.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:28:35,734 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=gwen+stefani&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:28:35,792 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=gwen+stefani&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:28:36,799 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=gwen+stefani&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:28:36,839 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=gwen+stefani&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:28:37,847 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '39774', 'guid': 'com.plexapp.agents.lastfm://Gwen%20Stefani?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:28:37,850 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:28:37,850 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:28:37,870 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vR3dlbiUyMFN0ZWZhbmk%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:28:37,871 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:28:37,874 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vR3dlbiUyMFN0ZWZhbmk@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:28:37,876 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:28:37,877 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:28:49,514 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTgKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0d1bnMlMjBOJTVDJTI3JTIwUm9zZXM%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM5Nzc3czIKaWRyMAo_
2019-03-27 22:28:49,516 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:28:49,520 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTgKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0d1bnMlMjBOJTVDJTI3JTIwUm9zZXM@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM5Nzc3czIKaWRyMAo_
2019-03-27 22:28:49,521 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '39777', 'guid': 'com.plexapp.agents.lastfm://Guns%20N%5C%27%20Roses?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:28:49,522 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/39777/tree'
2019-03-27 22:28:49,560 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Guns%20N%5C%27%20Roses?lang=en
2019-03-27 22:28:49,561 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/e/a1520fff4e5eccdf37cadbb4e2ad56aa9a63947.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:28:49,567 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=guns+n%5C%27+roses&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:28:49,617 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=guns+n%5C%27+roses&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:28:50,623 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=guns+n%5C%27+roses&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:28:50,662 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=guns+n%5C%27+roses&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:28:51,670 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '39777', 'guid': 'com.plexapp.agents.lastfm://Guns%20N%5C%27%20Roses?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:28:51,675 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:28:51,676 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:28:51,696 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1OApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vR3VucyUyME4lNUMlMjclMjBSb3Nlcz9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:28:51,698 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:28:51,701 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1OApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vR3VucyUyME4lNUMlMjclMjBSb3Nlcz9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:28:51,704 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:28:51,704 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:29:03,471 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTIKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0dsb3JpYSUyMEVzdGVmYW4%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM5NzkzczIKaWRyMAo_
2019-03-27 22:29:03,473 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:29:03,475 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTIKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0dsb3JpYSUyMEVzdGVmYW4@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM5NzkzczIKaWRyMAo_
2019-03-27 22:29:03,476 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '39793', 'guid': 'com.plexapp.agents.lastfm://Gloria%20Estefan?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:29:03,477 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/39793/tree'
2019-03-27 22:29:03,497 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Gloria%20Estefan?lang=en
2019-03-27 22:29:03,499 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/8/0b898c8b0bb180220c7387cf8dd1d3ecd8d9c89.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:29:03,510 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=gloria+estefan&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:29:03,560 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=gloria+estefan&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:29:04,566 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=gloria+estefan&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:29:04,606 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=gloria+estefan&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:29:05,613 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '39793', 'guid': 'com.plexapp.agents.lastfm://Gloria%20Estefan?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:29:05,616 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:29:05,617 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:29:05,638 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mgpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vR2xvcmlhJTIwRXN0ZWZhbj9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:29:05,639 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:29:05,642 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mgpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vR2xvcmlhJTIwRXN0ZWZhbj9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:29:05,644 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:29:05,644 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:29:10,396 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTYKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0d5bSUyMENsYXNzJTIwSGVyb2VzP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozOTgzNHMyCmlkcjAK
2019-03-27 22:29:10,398 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:29:10,401 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTYKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0d5bSUyMENsYXNzJTIwSGVyb2VzP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozOTgzNHMyCmlkcjAK
2019-03-27 22:29:10,402 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '39834', 'guid': 'com.plexapp.agents.lastfm://Gym%20Class%20Heroes?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:29:10,403 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/39834/tree'
2019-03-27 22:29:10,418 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Gym%20Class%20Heroes?lang=en
2019-03-27 22:29:10,419 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/b/3139dc7d23ee44b217f5b6277ed0a9f1506f78a.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:29:10,428 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=gym+class+heroes&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:29:10,467 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=gym+class+heroes&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:29:11,476 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=gym+class+heroes&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:29:11,594 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=gym+class+heroes&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:29:12,601 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '39834', 'guid': 'com.plexapp.agents.lastfm://Gym%20Class%20Heroes?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:29:12,604 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:29:12,606 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:29:12,625 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Ngpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vR3ltJTIwQ2xhc3MlMjBIZXJvZXM%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:29:12,627 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:29:12,630 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Ngpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vR3ltJTIwQ2xhc3MlMjBIZXJvZXM@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:29:12,635 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:29:12,635 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:29:15,843 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDcKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0dsZWUlMjBDYXN0P2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozOTgxMnMyCmlkcjAK
2019-03-27 22:29:15,845 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:29:15,847 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDcKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0dsZWUlMjBDYXN0P2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozOTgxMnMyCmlkcjAK
2019-03-27 22:29:15,849 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '39812', 'guid': 'com.plexapp.agents.lastfm://Glee%20Cast?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:29:15,851 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/39812/tree'
2019-03-27 22:29:15,882 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Glee%20Cast?lang=en
2019-03-27 22:29:15,883 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/3/1f9e67e21288fdd1d0b9d14a0b1103f91b51909.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:29:15,892 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=glee+cast&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:29:15,941 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=glee+cast&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:29:16,948 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=glee+cast&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:29:16,990 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=glee+cast&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:29:18,000 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '39812', 'guid': 'com.plexapp.agents.lastfm://Glee%20Cast?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:29:18,003 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:29:18,004 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:29:18,026 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Nwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vR2xlZSUyMENhc3Q%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:29:18,027 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:29:18,029 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Nwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vR2xlZSUyMENhc3Q@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:29:18,031 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:29:18,032 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:29:20,011 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0lOWFM%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM5ODM3czIKaWRyMAo_
2019-03-27 22:29:20,013 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:29:20,015 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0lOWFM@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM5ODM3czIKaWRyMAo_
2019-03-27 22:29:20,016 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '39837', 'guid': 'com.plexapp.agents.lastfm://INXS?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:29:20,017 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/39837/tree'
2019-03-27 22:29:20,042 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://INXS?lang=en
2019-03-27 22:29:20,043 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/4/bb6b08b343f5def457d0e19763ee3b8cd20307c.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:29:20,055 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=inxs&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:29:20,102 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=inxs&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:29:21,108 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=inxs&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:29:21,147 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=inxs&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:29:22,152 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '39837', 'guid': 'com.plexapp.agents.lastfm://INXS?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:29:22,162 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:29:22,163 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:29:22,186 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vSU5YUz9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:29:22,188 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:29:22,195 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vSU5YUz9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:29:22,198 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:29:22,198 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:29:42,911 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTIKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0dyZWdvcnklMjBQb3J0ZXI%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM5ODY0czIKaWRyMAo_
2019-03-27 22:29:42,913 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:29:42,915 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTIKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0dyZWdvcnklMjBQb3J0ZXI@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM5ODY0czIKaWRyMAo_
2019-03-27 22:29:42,916 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '39864', 'guid': 'com.plexapp.agents.lastfm://Gregory%20Porter?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:29:42,919 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/39864/tree'
2019-03-27 22:29:42,943 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Gregory%20Porter?lang=en
2019-03-27 22:29:42,944 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/6/ddf73c1a90cc9789b9115be2bac0588fc883b86.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:29:43,005 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=gregory+porter&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:29:43,058 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=gregory+porter&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:29:44,064 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=gregory+porter&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:29:44,105 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=gregory+porter&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:29:45,114 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '39864', 'guid': 'com.plexapp.agents.lastfm://Gregory%20Porter?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:29:45,117 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:29:45,117 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:29:45,139 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mgpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vR3JlZ29yeSUyMFBvcnRlcj9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:29:45,141 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:29:45,144 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mgpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vR3JlZ29yeSUyMFBvcnRlcj9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:29:45,146 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:29:45,147 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:29:55,521 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0ZhaXRobGVzcz9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzk5MDJzMgppZHIwCg__
2019-03-27 22:29:55,524 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:29:55,526 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0ZhaXRobGVzcz9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzk5MDJzMgppZHIwCg__
2019-03-27 22:29:55,527 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '39902', 'guid': 'com.plexapp.agents.lastfm://Faithless?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:29:55,528 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/39902/tree'
2019-03-27 22:29:55,551 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Faithless?lang=en
2019-03-27 22:29:55,552 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/0/3d9320e94be5c6a3c8eade27b7f5f31f55cb1ce.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:29:55,561 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=faithless&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:29:55,609 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=faithless&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:29:56,182 (30010fd4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0ZyYW5rJTIwU2luYXRyYT9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzk4ODBzMgppZHIwCg__
2019-03-27 22:29:56,184 (30010fd4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:29:56,187 (30010fd4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0ZyYW5rJTIwU2luYXRyYT9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzk4ODBzMgppZHIwCg__
2019-03-27 22:29:56,188 (30010fd4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '39880', 'guid': 'com.plexapp.agents.lastfm://Frank%20Sinatra?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:29:56,192 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/39880/tree'
2019-03-27 22:29:56,217 (30010fd4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Frank%20Sinatra?lang=en
2019-03-27 22:29:56,218 (30010fd4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/8/edd815cfb84ddcd3fd745ab7f2e50f43b5fe50d.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:29:56,227 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=frank+sinatra&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:29:56,269 (30010fd4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=frank+sinatra&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:29:56,620 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=faithless&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:29:56,668 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=faithless&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:29:57,276 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=frank+sinatra&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:29:57,312 (30010fd4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=frank+sinatra&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:29:57,675 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '39902', 'guid': 'com.plexapp.agents.lastfm://Faithless?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:29:57,678 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:29:57,679 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:29:57,714 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0NQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vRmFpdGhsZXNzP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:29:57,716 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:29:57,719 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0NQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vRmFpdGhsZXNzP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:29:57,729 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:29:57,730 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:29:58,319 (30010fd4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '39880', 'guid': 'com.plexapp.agents.lastfm://Frank%20Sinatra?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:29:58,327 (30010fd4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:29:58,332 (30010fd4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:29:58,371 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vRnJhbmslMjBTaW5hdHJhP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:29:58,373 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:29:58,375 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vRnJhbmslMjBTaW5hdHJhP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:29:58,382 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:29:58,384 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:30:07,680 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/TWVzc2FnZUtpdDpBcnRpc3RTZWFyY2g_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMQpzMjEKRnVnZWVzIChSZWZ1Z2VlIENhbXApczExCmFydGlzdF9uYW1lcjAK
2019-03-27 22:30:07,689 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:30:07,692 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/TWVzc2FnZUtpdDpBcnRpc3RTZWFyY2g_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMQpzMjEKRnVnZWVzIChSZWZ1Z2VlIENhbXApczExCmFydGlzdF9uYW1lcjAK
2019-03-27 22:30:07,701 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=fugees+%28refugee+camp%29&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:30:07,749 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=fugees+%28refugee+camp%29&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:30:08,755 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=fugees+%28refugee+camp%29&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:30:08,864 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=fugees+%28refugee+camp%29&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:30:09,872 (300052d4f0) :  CRITICAL (messaging:108) - Exception in _process_function_call (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/messaging.py", line 103, in _process_function_call
    result = self._functions[name](*args, **kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:30:09,880 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:30:09,881 (300052d4f0) :  DEBUG (runtime:924) - Response: [404] NoneType, 0 bytes
2019-03-27 22:30:15,265 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0dhYnJpZWxsZT9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzk5MzlzMgppZHIwCg__
2019-03-27 22:30:15,267 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:30:15,269 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0dhYnJpZWxsZT9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzk5MzlzMgppZHIwCg__
2019-03-27 22:30:15,270 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '39939', 'guid': 'com.plexapp.agents.lastfm://Gabrielle?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:30:15,272 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/39939/tree'
2019-03-27 22:30:15,317 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Gabrielle?lang=en
2019-03-27 22:30:15,320 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/8/012b60b980d4f005a124464b7d3e22c8d517b0b.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:30:15,340 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=gabrielle&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:30:15,384 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=gabrielle&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:30:16,392 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=gabrielle&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:30:16,437 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=gabrielle&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:30:17,444 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '39939', 'guid': 'com.plexapp.agents.lastfm://Gabrielle?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:30:17,447 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:30:17,447 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:30:17,464 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0NQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vR2FicmllbGxlP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:30:17,465 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:30:17,468 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0NQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vR2FicmllbGxlP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:30:17,471 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:30:17,471 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:30:40,698 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDIKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0ZlZWRlcj9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzk5ODRzMgppZHIwCg__
2019-03-27 22:30:40,700 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:30:40,702 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDIKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0ZlZWRlcj9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzk5ODRzMgppZHIwCg__
2019-03-27 22:30:40,703 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '39984', 'guid': 'com.plexapp.agents.lastfm://Feeder?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:30:40,704 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/39984/tree'
2019-03-27 22:30:40,728 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Feeder?lang=en
2019-03-27 22:30:40,729 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/e/9722bf2a3e867ba4fd85ba1099413399cecceea.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:30:40,743 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=feeder&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:30:40,791 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=feeder&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:30:41,804 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=feeder&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:30:41,849 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=feeder&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:30:42,859 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '39984', 'guid': 'com.plexapp.agents.lastfm://Feeder?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:30:42,865 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:30:42,865 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:30:42,896 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Mgpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vRmVlZGVyP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:30:42,898 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:30:42,901 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Mgpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vRmVlZGVyP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:30:42,903 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:30:42,904 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:30:49,543 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDMKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0dlbmVzaXM%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjQwMDA5czIKaWRyMAo_
2019-03-27 22:30:49,545 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:30:49,548 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDMKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0dlbmVzaXM@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjQwMDA5czIKaWRyMAo_
2019-03-27 22:30:49,549 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '40009', 'guid': 'com.plexapp.agents.lastfm://Genesis?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:30:49,552 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/40009/tree'
2019-03-27 22:30:49,573 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Genesis?lang=en
2019-03-27 22:30:49,574 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/3/902565c0c9fbb631c0815c97940740e9db32a4a.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:30:49,583 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=genesis&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:30:49,633 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=genesis&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:30:50,642 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=genesis&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:30:50,682 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=genesis&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:30:51,688 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '40009', 'guid': 'com.plexapp.agents.lastfm://Genesis?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:30:51,691 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:30:51,691 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:30:51,716 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Mwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vR2VuZXNpcz9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:30:51,718 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:30:51,720 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Mwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vR2VuZXNpcz9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:30:51,722 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:30:51,723 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:30:53,123 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNjcKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0ZyYW5raWUlMjBHb2VzJTIwdG8lMjBIb2xseXdvb2Q%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjQwMDMyczIKaWRyMAo_
2019-03-27 22:30:53,125 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:30:53,128 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNjcKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0ZyYW5raWUlMjBHb2VzJTIwdG8lMjBIb2xseXdvb2Q@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjQwMDMyczIKaWRyMAo_
2019-03-27 22:30:53,128 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '40032', 'guid': 'com.plexapp.agents.lastfm://Frankie%20Goes%20to%20Hollywood?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:30:53,130 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/40032/tree'
2019-03-27 22:30:53,167 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Frankie%20Goes%20to%20Hollywood?lang=en
2019-03-27 22:30:53,168 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/b/17e36300b48b0d5026d406db9644c322c588e5d.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:30:53,178 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=frankie+goes+to+hollywood&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:30:53,232 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=frankie+goes+to+hollywood&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:30:54,246 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=frankie+goes+to+hollywood&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:30:54,292 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=frankie+goes+to+hollywood&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:30:55,299 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '40032', 'guid': 'com.plexapp.agents.lastfm://Frankie%20Goes%20to%20Hollywood?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:30:55,308 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:30:55,308 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:30:55,332 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM2Nwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vRnJhbmtpZSUyMEdvZXMlMjB0byUyMEhvbGx5d29vZD9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:30:55,334 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:30:55,337 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM2Nwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vRnJhbmtpZSUyMEdvZXMlMjB0byUyMEhvbGx5d29vZD9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:30:55,339 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:30:55,340 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:30:59,349 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDMKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0VtYnJhY2U%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjQwMDUwczIKaWRyMAo_
2019-03-27 22:30:59,351 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:30:59,354 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDMKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0VtYnJhY2U@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjQwMDUwczIKaWRyMAo_
2019-03-27 22:30:59,355 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '40050', 'guid': 'com.plexapp.agents.lastfm://Embrace?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:30:59,356 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/40050/tree'
2019-03-27 22:30:59,374 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Embrace?lang=en
2019-03-27 22:30:59,375 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/b/ae3320e6ff751abc6db9fff85cb9bfb236669c1.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:30:59,387 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=embrace&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:30:59,425 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=embrace&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:31:00,433 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=embrace&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:31:00,476 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=embrace&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:31:01,482 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '40050', 'guid': 'com.plexapp.agents.lastfm://Embrace?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:31:01,485 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:31:01,486 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:31:01,514 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Mwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vRW1icmFjZT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:31:01,515 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:31:01,518 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Mwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vRW1icmFjZT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:31:01,520 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:31:01,532 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:31:10,784 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTMKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0Vyb3MlMjBSYW1henpvdHRpP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQo0MDA2MnMyCmlkcjAK
2019-03-27 22:31:10,786 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:31:10,789 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTMKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0Vyb3MlMjBSYW1henpvdHRpP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQo0MDA2MnMyCmlkcjAK
2019-03-27 22:31:10,790 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '40062', 'guid': 'com.plexapp.agents.lastfm://Eros%20Ramazzotti?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:31:10,791 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/40062/tree'
2019-03-27 22:31:10,812 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Eros%20Ramazzotti?lang=en
2019-03-27 22:31:10,813 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/e/a1f4865fedc89b1d764ecb9e1b5cb07ff78bfbe.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:31:10,835 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=eros+ramazzotti&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:31:10,883 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=eros+ramazzotti&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:31:11,894 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=eros+ramazzotti&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:31:11,948 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=eros+ramazzotti&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:31:12,956 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '40062', 'guid': 'com.plexapp.agents.lastfm://Eros%20Ramazzotti?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:31:12,959 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:31:12,960 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:31:12,979 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vRXJvcyUyMFJhbWF6em90dGk%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:31:12,981 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:31:12,984 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vRXJvcyUyMFJhbWF6em90dGk@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:31:12,986 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:31:12,987 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:31:18,898 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0VueWE%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjQwMDgwczIKaWRyMAo_
2019-03-27 22:31:18,900 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:31:18,903 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0VueWE@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjQwMDgwczIKaWRyMAo_
2019-03-27 22:31:18,904 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '40080', 'guid': 'com.plexapp.agents.lastfm://Enya?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:31:18,906 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/40080/tree'
2019-03-27 22:31:18,940 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Enya?lang=en
2019-03-27 22:31:18,941 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/2/dc5bc624e19dde0ecf9b909042b20953b45a36e.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:31:18,953 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=enya&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:31:18,998 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=enya&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:31:20,004 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=enya&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:31:20,044 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=enya&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:31:21,051 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '40080', 'guid': 'com.plexapp.agents.lastfm://Enya?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:31:21,054 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:31:21,055 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:31:21,073 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vRW55YT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:31:21,075 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:31:21,078 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vRW55YT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:31:21,080 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:31:21,081 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:31:24,847 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDcKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0V2YW5lc2NlbmNlP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQo0MDExMXMyCmlkcjAK
2019-03-27 22:31:24,854 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:31:24,857 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDcKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0V2YW5lc2NlbmNlP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQo0MDExMXMyCmlkcjAK
2019-03-27 22:31:24,858 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '40111', 'guid': 'com.plexapp.agents.lastfm://Evanescence?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:31:24,859 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/40111/tree'
2019-03-27 22:31:24,878 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Evanescence?lang=en
2019-03-27 22:31:24,879 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/3/3a0ba80019e1d0d158b0828c051a1172b433339.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:31:24,905 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=evanescence&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:31:24,946 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=evanescence&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:31:25,954 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=evanescence&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:31:25,994 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=evanescence&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:31:27,000 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '40111', 'guid': 'com.plexapp.agents.lastfm://Evanescence?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:31:27,002 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:31:27,003 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:31:27,021 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Nwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vRXZhbmVzY2VuY2U%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:31:27,023 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:31:27,026 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Nwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vRXZhbmVzY2VuY2U@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:31:27,029 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:31:27,029 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:31:38,045 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTQKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0VtZWxpJTIwU2FuZCVDMyVBOT9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKNDAxMjRzMgppZHIwCg__
2019-03-27 22:31:38,047 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:31:38,049 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTQKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0VtZWxpJTIwU2FuZCVDMyVBOT9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKNDAxMjRzMgppZHIwCg__
2019-03-27 22:31:38,051 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '40124', 'guid': 'com.plexapp.agents.lastfm://Emeli%20Sand%C3%A9?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:31:38,054 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/40124/tree'
2019-03-27 22:31:38,075 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Emeli%20Sand%C3%A9?lang=en
2019-03-27 22:31:38,076 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/e/90ab15dbb008da043adc64c645851c0cf5b7a19.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:31:38,085 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=emeli+sand%C3%A9&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:31:38,126 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=emeli+sand%C3%A9&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:31:39,133 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=emeli+sand%C3%A9&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:31:39,184 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=emeli+sand%C3%A9&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:31:40,191 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '40124', 'guid': 'com.plexapp.agents.lastfm://Emeli%20Sand%C3%A9?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:31:40,194 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:31:40,195 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:31:40,212 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1NApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vRW1lbGklMjBTYW5kJUMzJUE5P2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:31:40,214 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:31:40,216 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1NApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vRW1lbGklMjBTYW5kJUMzJUE5P2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:31:40,218 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:31:40,219 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:31:48,288 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDMKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0V0ZXJuYWw%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjQwMTQ1czIKaWRyMAo_
2019-03-27 22:31:48,290 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:31:48,293 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDMKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0V0ZXJuYWw@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjQwMTQ1czIKaWRyMAo_
2019-03-27 22:31:48,294 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '40145', 'guid': 'com.plexapp.agents.lastfm://Eternal?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:31:48,300 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/40145/tree'
2019-03-27 22:31:48,331 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Eternal?lang=en
2019-03-27 22:31:48,332 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/3/f1941b0a1def9ca6ef54c7f7f0e353276f7dd8b.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:31:48,345 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=eternal&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:31:48,386 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=eternal&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:31:49,392 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=eternal&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:31:49,439 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=eternal&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:31:49,504 (30010fd4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDYKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0V1cnl0aG1pY3M%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjQwMTY0czIKaWRyMAo_
2019-03-27 22:31:49,506 (30010fd4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:31:49,510 (30010fd4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDYKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0V1cnl0aG1pY3M@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjQwMTY0czIKaWRyMAo_
2019-03-27 22:31:49,529 (30010fd4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '40164', 'guid': 'com.plexapp.agents.lastfm://Eurythmics?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:31:49,530 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/40164/tree'
2019-03-27 22:31:49,551 (30010fd4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Eurythmics?lang=en
2019-03-27 22:31:49,552 (30010fd4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/9/28d42aae76062757b4636874a8fdda3dee88771.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:31:49,560 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=eurythmics&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:31:49,600 (30010fd4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=eurythmics&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:31:50,444 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '40145', 'guid': 'com.plexapp.agents.lastfm://Eternal?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:31:50,447 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:31:50,447 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:31:50,471 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Mwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vRXRlcm5hbD9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:31:50,472 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:31:50,475 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Mwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vRXRlcm5hbD9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:31:50,477 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:31:50,477 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:31:50,607 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=eurythmics&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:31:50,651 (30010fd4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=eurythmics&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:31:51,659 (30010fd4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '40164', 'guid': 'com.plexapp.agents.lastfm://Eurythmics?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:31:51,662 (30010fd4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:31:51,662 (30010fd4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:31:51,689 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Ngpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vRXVyeXRobWljcz9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:31:51,691 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:31:51,693 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Ngpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vRXVyeXRobWljcz9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:31:51,695 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:31:51,696 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:32:14,464 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0VsYm93P2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQo0MDE4NHMyCmlkcjAK
2019-03-27 22:32:14,466 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:32:14,469 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0VsYm93P2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQo0MDE4NHMyCmlkcjAK
2019-03-27 22:32:14,470 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '40184', 'guid': 'com.plexapp.agents.lastfm://Elbow?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:32:14,471 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/40184/tree'
2019-03-27 22:32:14,502 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Elbow?lang=en
2019-03-27 22:32:14,503 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/8/f21baa6119f790f2817a6c7fd1d06118dad1dc8.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:32:14,521 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=elbow&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:32:14,567 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=elbow&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:32:15,574 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=elbow&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:32:15,612 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=elbow&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:32:16,626 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '40184', 'guid': 'com.plexapp.agents.lastfm://Elbow?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:32:16,629 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:32:16,632 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:32:16,653 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vRWxib3c%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:32:16,655 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:32:16,658 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vRWxib3c@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:32:16,661 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:32:16,662 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:32:27,868 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0VtaWwlQzMlQURhbmElMjBUb3JyaW5pP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQo0MDIyMXMyCmlkcjAK
2019-03-27 22:32:27,872 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:32:27,885 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0VtaWwlQzMlQURhbmElMjBUb3JyaW5pP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQo0MDIyMXMyCmlkcjAK
2019-03-27 22:32:27,886 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '40221', 'guid': 'com.plexapp.agents.lastfm://Emil%C3%ADana%20Torrini?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:32:27,887 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/40221/tree'
2019-03-27 22:32:27,911 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Emil%C3%ADana%20Torrini?lang=en
2019-03-27 22:32:27,912 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/5/57c7e8df8938bbb0e7c3d9c6e6969bce0570313.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:32:27,921 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=emil%C3%ADana+torrini&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:32:27,963 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=emil%C3%ADana+torrini&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:32:28,968 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=emil%C3%ADana+torrini&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:32:29,016 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=emil%C3%ADana+torrini&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:32:30,026 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '40221', 'guid': 'com.plexapp.agents.lastfm://Emil%C3%ADana%20Torrini?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:32:30,030 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:32:30,031 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:32:30,051 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1OQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vRW1pbCVDMyVBRGFuYSUyMFRvcnJpbmk%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:32:30,053 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:32:30,055 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1OQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vRW1pbCVDMyVBRGFuYSUyMFRvcnJpbmk@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:32:30,058 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:32:30,059 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:32:40,299 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0V2YSUyMENhc3NpZHk%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjQwMjM0czIKaWRyMAo_
2019-03-27 22:32:40,300 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:32:40,303 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0V2YSUyMENhc3NpZHk@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjQwMjM0czIKaWRyMAo_
2019-03-27 22:32:40,304 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '40234', 'guid': 'com.plexapp.agents.lastfm://Eva%20Cassidy?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:32:40,305 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/40234/tree'
2019-03-27 22:32:40,339 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Eva%20Cassidy?lang=en
2019-03-27 22:32:40,344 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/f/ac01ac77c2761f27037b1fd2a3c9ec77ada078c.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:32:40,415 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=eva+cassidy&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:32:40,455 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=eva+cassidy&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:32:41,465 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=eva+cassidy&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:32:41,506 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=eva+cassidy&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:32:42,515 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '40234', 'guid': 'com.plexapp.agents.lastfm://Eva%20Cassidy?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:32:42,518 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:32:42,519 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:32:42,544 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vRXZhJTIwQ2Fzc2lkeT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:32:42,545 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:32:42,548 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vRXZhJTIwQ2Fzc2lkeT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:32:42,550 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:32:42,551 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:32:48,903 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDgKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0RlbCUyMEFtaXRyaT9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKNDAyNDhzMgppZHIwCg__
2019-03-27 22:32:48,904 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:32:48,907 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDgKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0RlbCUyMEFtaXRyaT9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKNDAyNDhzMgppZHIwCg__
2019-03-27 22:32:48,908 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '40248', 'guid': 'com.plexapp.agents.lastfm://Del%20Amitri?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:32:48,911 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/40248/tree'
2019-03-27 22:32:48,930 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Del%20Amitri?lang=en
2019-03-27 22:32:48,931 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/5/2ffcec2ec1907633c51864bb093860e8f1bb6a7.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:32:48,942 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=del+amitri&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:32:48,989 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=del+amitri&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:32:50,001 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=del+amitri&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:32:50,046 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=del+amitri&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:32:51,052 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '40248', 'guid': 'com.plexapp.agents.lastfm://Del%20Amitri?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:32:51,058 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:32:51,059 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:32:51,145 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vRGVsJTIwQW1pdHJpP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:32:51,146 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:32:51,148 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vRGVsJTIwQW1pdHJpP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:32:51,151 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:32:51,151 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:32:51,366 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0RvdmVzP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQo0MDI2MnMyCmlkcjAK
2019-03-27 22:32:51,367 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:32:51,370 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0RvdmVzP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQo0MDI2MnMyCmlkcjAK
2019-03-27 22:32:51,372 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '40262', 'guid': 'com.plexapp.agents.lastfm://Doves?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:32:51,378 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/40262/tree'
2019-03-27 22:32:51,428 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Doves?lang=en
2019-03-27 22:32:51,429 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/3/dbfc3a2d514ff325a74b4f287964649cf46ace5.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:32:51,452 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=doves&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:32:51,512 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=doves&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:32:52,520 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=doves&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:32:52,575 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=doves&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:32:53,583 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '40262', 'guid': 'com.plexapp.agents.lastfm://Doves?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "/data/user/0/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/HTbackdrops.bundle/Contents/Code/__init__.py", line 19, in ArtistSearch
    for artist in XML.ElementFromURL(SEARCH_ARTIST % String.URLEncode(artistName), sleep=1.0).xpath('//image/title/text()'):
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 301, in ElementFromString
    return self._core.data.xml.from_string(string, encoding = encoding)
  File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-33830be0b/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 162, in from_string
    return etree.fromstring(markup, parser=(xml_parser if remove_blank_text else None))
  File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
  File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
  File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
  File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: Document is empty, line 1, column 1

2019-03-27 22:32:53,586 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:32:53,587 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:32:53,619 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vRG92ZXM%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:32:53,620 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:32:53,623 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vRG92ZXM@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:32:53,625 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:32:53,626 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:32:57,640 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0RpZG8%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjQwMjc2czIKaWRyMAo_
2019-03-27 22:32:57,642 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:32:57,645 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0RpZG8@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjQwMjc2czIKaWRyMAo_
2019-03-27 22:32:57,646 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '40276', 'guid': 'com.plexapp.agents.lastfm://Dido?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:32:57,657 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/40276/tree'
2019-03-27 22:32:57,683 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Dido?lang=en
2019-03-27 22:32:57,684 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/e/e157bb3affc61d7ecf91737826bf19d420dcdf4.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:32:57,710 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=dido&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:32:57,751 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=dido&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:32:58,758 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=dido&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:32:58,813 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=dido&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
