2019-03-27 22:32:59,820 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '40276', 'guid': 'com.plexapp.agents.lastfm://Dido?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:59,829 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:32:59,830 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:32:59,851 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vRGlkbz9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:32:59,853 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:32:59,855 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vRGlkbz9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:32:59,857 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:32:59,881 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:33:08,484 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0RpcmUlMjBTdHJhaXRzP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQo0MDI4OXMyCmlkcjAK
2019-03-27 22:33:08,487 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:33:08,490 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0RpcmUlMjBTdHJhaXRzP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQo0MDI4OXMyCmlkcjAK
2019-03-27 22:33:08,490 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '40289', 'guid': 'com.plexapp.agents.lastfm://Dire%20Straits?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:33:08,497 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/40289/tree'
2019-03-27 22:33:08,529 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Dire%20Straits?lang=en
2019-03-27 22:33:08,530 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/b/fad27b1a233756052804bb1ffc2d4cc8cc31bf5.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:33:08,570 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=dire+straits&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:33:08,627 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=dire+straits&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:33:09,636 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=dire+straits&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:33:09,680 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=dire+straits&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:33:10,688 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '40289', 'guid': 'com.plexapp.agents.lastfm://Dire%20Straits?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:33:10,691 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:33:10,692 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:33:10,710 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vRGlyZSUyMFN0cmFpdHM%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:33:10,712 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:33:10,714 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vRGlyZSUyMFN0cmFpdHM@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:33:10,716 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:33:10,717 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:33:20,589 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDIKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0VhZ2xlcz9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKNDAzMjZzMgppZHIwCg__
2019-03-27 22:33:20,591 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:33:20,594 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDIKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0VhZ2xlcz9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKNDAzMjZzMgppZHIwCg__
2019-03-27 22:33:20,595 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '40326', 'guid': 'com.plexapp.agents.lastfm://Eagles?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:33:20,596 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/40326/tree'
2019-03-27 22:33:20,632 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Eagles?lang=en
2019-03-27 22:33:20,634 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/9/b148d4810fe8e0fd2399abe1f31cacfb01adb8c.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:33:20,646 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=eagles&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:33:20,709 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=eagles&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:33:21,717 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=eagles&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:33:21,766 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=eagles&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:33:22,773 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '40326', 'guid': 'com.plexapp.agents.lastfm://Eagles?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:33:22,776 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:33:22,777 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:33:22,798 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Mgpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vRWFnbGVzP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:33:22,801 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:33:22,805 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Mgpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vRWFnbGVzP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:33:22,809 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:33:22,810 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:33:32,097 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDgKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0VkJTIwU2hlZXJhbj9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKNDAzNDVzMgppZHIwCg__
2019-03-27 22:33:32,098 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:33:32,101 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDgKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0VkJTIwU2hlZXJhbj9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKNDAzNDVzMgppZHIwCg__
2019-03-27 22:33:32,101 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '40345', 'guid': 'com.plexapp.agents.lastfm://Ed%20Sheeran?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:33:32,102 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/40345/tree'
2019-03-27 22:33:32,124 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Ed%20Sheeran?lang=en
2019-03-27 22:33:32,125 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/1/07f2db82795f32fd35330d771da0e0bb939062f.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:33:32,152 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=ed+sheeran&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:33:32,195 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=ed+sheeran&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:33:33,204 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=ed+sheeran&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:33:33,258 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=ed+sheeran&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:33:34,265 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '40345', 'guid': 'com.plexapp.agents.lastfm://Ed%20Sheeran?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:33:34,269 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:33:34,270 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:33:34,294 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vRWQlMjBTaGVlcmFuP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:33:34,318 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:33:34,321 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vRWQlMjBTaGVlcmFuP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:33:34,323 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:33:34,324 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:33:55,895 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0RlcyUyN3JlZT9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKNDAzNzNzMgppZHIwCg__
2019-03-27 22:33:55,897 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:33:55,899 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0RlcyUyN3JlZT9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKNDAzNzNzMgppZHIwCg__
2019-03-27 22:33:55,900 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '40373', 'guid': 'com.plexapp.agents.lastfm://Des%27ree?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:33:55,911 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/40373/tree'
2019-03-27 22:33:55,931 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Des%27ree?lang=en
2019-03-27 22:33:55,932 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/2/f55c28868a802fc97afcb1e1441d7f98a00957b.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:33:55,946 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=des%27ree&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:33:55,989 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=des%27ree&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:33:56,996 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=des%27ree&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:33:57,043 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=des%27ree&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:33:58,051 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '40373', 'guid': 'com.plexapp.agents.lastfm://Des%27ree?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:33:58,054 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:33:58,054 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:33:58,072 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0NQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vRGVzJTI3cmVlP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:33:58,073 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:33:58,076 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0NQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vRGVzJTI3cmVlP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:33:58,078 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:33:58,079 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:34:12,287 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0R1ZmZ5P2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQo0MDM4NnMyCmlkcjAK
2019-03-27 22:34:12,289 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:34:12,292 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0R1ZmZ5P2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQo0MDM4NnMyCmlkcjAK
2019-03-27 22:34:12,293 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '40386', 'guid': 'com.plexapp.agents.lastfm://Duffy?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:34:12,294 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/40386/tree'
2019-03-27 22:34:12,312 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Duffy?lang=en
2019-03-27 22:34:12,313 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/0/c27bd9dccc8606fd3ce433994c986a5fe9ef24e.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:34:12,320 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=duffy&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:34:12,365 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=duffy&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:34:13,370 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=duffy&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:34:13,420 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=duffy&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:34:14,427 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '40386', 'guid': 'com.plexapp.agents.lastfm://Duffy?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:34:14,430 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:34:14,431 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:34:14,448 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vRHVmZnk%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:34:14,450 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:34:14,452 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vRHVmZnk@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:34:14,454 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:34:14,454 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:34:45,344 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0RlYWNvbiUyMEJsdWU%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjQwMzk4czIKaWRyMAo_
2019-03-27 22:34:45,346 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:34:45,349 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0RlYWNvbiUyMEJsdWU@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjQwMzk4czIKaWRyMAo_
2019-03-27 22:34:45,350 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '40398', 'guid': 'com.plexapp.agents.lastfm://Deacon%20Blue?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:34:45,351 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/40398/tree'
2019-03-27 22:34:45,404 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Deacon%20Blue?lang=en
2019-03-27 22:34:45,405 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/8/c77aa30a36d390cf6638bda6855b3e62aeb6ad2.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:34:45,479 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=deacon+blue&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:34:45,530 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=deacon+blue&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:34:46,537 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=deacon+blue&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:34:46,578 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=deacon+blue&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:34:47,587 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '40398', 'guid': 'com.plexapp.agents.lastfm://Deacon%20Blue?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:34:47,619 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:34:47,620 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:34:47,646 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vRGVhY29uJTIwQmx1ZT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:34:47,648 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:34:47,651 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vRGVhY29uJTIwQmx1ZT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:34:47,654 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:34:47,655 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:34:50,564 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0NoZXI%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjQwNDQzczIKaWRyMAo_
2019-03-27 22:34:50,569 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:34:50,572 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0NoZXI@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjQwNDQzczIKaWRyMAo_
2019-03-27 22:34:50,573 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '40443', 'guid': 'com.plexapp.agents.lastfm://Cher?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:34:50,575 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/40443/tree'
2019-03-27 22:34:50,600 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Cher?lang=en
2019-03-27 22:34:50,601 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/3/a58f7ed2d39febb88c4b701beda2e792cb42749.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:34:50,670 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=cher&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:34:50,723 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=cher&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:34:51,734 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=cher&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:34:51,778 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=cher&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:34:52,783 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '40443', 'guid': 'com.plexapp.agents.lastfm://Cher?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:34:52,786 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:34:52,787 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:34:52,808 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vQ2hlcj9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:34:52,810 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:34:52,812 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vQ2hlcj9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:34:52,815 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:34:52,815 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:34:53,944 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0Nhcm8lMjBFbWVyYWxkP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQo0MDQ1N3MyCmlkcjAK
2019-03-27 22:34:53,946 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:34:53,949 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0Nhcm8lMjBFbWVyYWxkP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQo0MDQ1N3MyCmlkcjAK
2019-03-27 22:34:53,950 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '40457', 'guid': 'com.plexapp.agents.lastfm://Caro%20Emerald?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:34:53,953 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/40457/tree'
2019-03-27 22:34:53,988 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Caro%20Emerald?lang=en
2019-03-27 22:34:53,989 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/7/30276162225f79d1d1e5c87570256ceaaf39975.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:34:54,037 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=caro+emerald&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:34:54,082 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=caro+emerald&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:34:55,089 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=caro+emerald&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:34:55,139 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=caro+emerald&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:34:56,146 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '40457', 'guid': 'com.plexapp.agents.lastfm://Caro%20Emerald?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:34:56,149 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:34:56,150 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:34:56,169 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vQ2FybyUyMEVtZXJhbGQ%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:34:56,171 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:34:56,173 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vQ2FybyUyMEVtZXJhbGQ@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:34:56,175 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:34:56,175 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:35:04,808 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTYKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0NocmlzdGluYSUyMEFndWlsZXJhP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQo0MDQ3MXMyCmlkcjAK
2019-03-27 22:35:04,810 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:35:04,812 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTYKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0NocmlzdGluYSUyMEFndWlsZXJhP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQo0MDQ3MXMyCmlkcjAK
2019-03-27 22:35:04,813 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '40471', 'guid': 'com.plexapp.agents.lastfm://Christina%20Aguilera?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:35:04,817 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/40471/tree'
2019-03-27 22:35:04,847 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Christina%20Aguilera?lang=en
2019-03-27 22:35:04,848 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/7/b0a4a02476f3bb739e2f57ff530b38b5bb99fcf.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:35:04,869 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=christina+aguilera&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:35:04,906 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=christina+aguilera&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:35:05,912 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=christina+aguilera&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:35:05,954 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=christina+aguilera&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:35:06,960 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '40471', 'guid': 'com.plexapp.agents.lastfm://Christina%20Aguilera?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:35:06,963 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:35:06,964 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:35:06,980 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Ngpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vQ2hyaXN0aW5hJTIwQWd1aWxlcmE%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:35:06,982 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:35:06,984 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Ngpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vQ2hyaXN0aW5hJTIwQWd1aWxlcmE@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:35:06,986 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:35:06,987 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:35:18,607 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDgKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0RhdmlkJTIwR3JheT9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKNDA1MTZzMgppZHIwCg__
2019-03-27 22:35:18,609 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:35:18,611 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDgKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0RhdmlkJTIwR3JheT9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKNDA1MTZzMgppZHIwCg__
2019-03-27 22:35:18,612 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '40516', 'guid': 'com.plexapp.agents.lastfm://David%20Gray?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:35:18,613 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/40516/tree'
2019-03-27 22:35:18,635 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://David%20Gray?lang=en
2019-03-27 22:35:18,636 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/3/b6ea9183afc9b7a4f93bc0919ace490ec99475a.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:35:18,662 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=david+gray&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:35:18,704 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=david+gray&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:35:19,710 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=david+gray&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:35:19,761 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=david+gray&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:35:20,767 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '40516', 'guid': 'com.plexapp.agents.lastfm://David%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:35:20,770 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:35:20,771 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:35:20,796 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vRGF2aWQlMjBHcmF5P2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:35:20,798 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:35:20,800 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vRGF2aWQlMjBHcmF5P2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:35:20,802 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:35:20,803 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:35:49,474 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovLyU1QnVua25vd24lNUQ%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjQwNTQxczIKaWRyMAo_
2019-03-27 22:35:49,476 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:35:49,479 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovLyU1QnVua25vd24lNUQ@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjQwNTQxczIKaWRyMAo_
2019-03-27 22:35:49,480 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '40541', 'guid': 'com.plexapp.agents.lastfm://%5Bunknown%5D?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:35:49,484 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/40541/tree'
2019-03-27 22:35:49,507 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://%5Bunknown%5D?lang=en
2019-03-27 22:35:49,508 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/0/3a95a51d8d699d3ad397c484b429772f30bde36.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:35:49,526 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=%5Bunknown%5D&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:35:49,574 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=%5Bunknown%5D&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:35:50,581 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=%5Bunknown%5D&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:35:50,621 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=%5Bunknown%5D&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:35:51,629 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '40541', 'guid': 'com.plexapp.agents.lastfm://%5Bunknown%5D?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:35:51,632 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:35:51,632 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:35:51,650 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vJTVCdW5rbm93biU1RD9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:35:51,652 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:35:51,654 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vJTVCdW5rbm93biU1RD9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:35:51,656 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:35:51,657 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:35:54,785 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDQKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0NvbGRwbGF5P2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQo0MDU1OHMyCmlkcjAK
2019-03-27 22:35:54,787 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:35:54,789 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDQKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0NvbGRwbGF5P2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQo0MDU1OHMyCmlkcjAK
2019-03-27 22:35:54,790 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '40558', 'guid': 'com.plexapp.agents.lastfm://Coldplay?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:35:54,793 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/40558/tree'
2019-03-27 22:35:54,821 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Coldplay?lang=en
2019-03-27 22:35:54,822 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/6/be2822ca4176d66e70b1ee4d37cc0997284f8da.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:35:54,831 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=coldplay&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:35:54,876 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=coldplay&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:35:55,942 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=coldplay&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:35:55,991 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=coldplay&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:35:56,999 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '40558', 'guid': 'com.plexapp.agents.lastfm://Coldplay?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:35:57,002 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:35:57,003 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:35:57,019 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0NApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vQ29sZHBsYXk%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:35:57,021 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:35:57,023 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0NApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vQ29sZHBsYXk@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:35:57,025 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:35:57,026 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:36:06,117 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0RhbWllbiUyMFJpY2U%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjQwNTk3czIKaWRyMAo_
2019-03-27 22:36:06,119 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:36:06,122 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0RhbWllbiUyMFJpY2U@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjQwNTk3czIKaWRyMAo_
2019-03-27 22:36:06,123 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '40597', 'guid': 'com.plexapp.agents.lastfm://Damien%20Rice?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:36:06,126 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/40597/tree'
2019-03-27 22:36:06,144 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Damien%20Rice?lang=en
2019-03-27 22:36:06,145 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/9/dac5b6767222d5846e05feb0b2c1607e2383206.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:36:06,154 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=damien+rice&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:36:06,205 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=damien+rice&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:36:07,211 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=damien+rice&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:36:07,254 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=damien+rice&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:36:08,259 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '40597', 'guid': 'com.plexapp.agents.lastfm://Damien%20Rice?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:36:08,262 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:36:08,262 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:36:08,280 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vRGFtaWVuJTIwUmljZT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:36:08,281 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:36:08,283 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vRGFtaWVuJTIwUmljZT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:36:08,286 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:36:08,287 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:36:13,198 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0F1Z3VzdGFuYT9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKNDA2MDlzMgppZHIwCg__
2019-03-27 22:36:13,200 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:36:13,203 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0F1Z3VzdGFuYT9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKNDA2MDlzMgppZHIwCg__
2019-03-27 22:36:13,204 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '40609', 'guid': 'com.plexapp.agents.lastfm://Augustana?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:36:13,207 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/40609/tree'
2019-03-27 22:36:13,220 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Augustana?lang=en
2019-03-27 22:36:13,221 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/8/30c0655b09d6627a2fc71fec6b1964429ff5c15.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:36:13,229 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=augustana&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:36:13,271 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=augustana&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:36:14,280 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=augustana&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:36:14,328 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=augustana&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:36:15,336 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '40609', 'guid': 'com.plexapp.agents.lastfm://Augustana?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:36:15,338 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:36:15,339 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:36:15,365 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0NQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vQXVndXN0YW5hP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:36:15,367 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:36:15,369 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0NQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vQXVndXN0YW5hP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:36:15,372 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:36:15,373 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:36:17,974 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTIKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0JyaXRuZXklMjBTcGVhcnM%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjQwNjEyczIKaWRyMAo_
2019-03-27 22:36:17,976 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:36:17,979 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTIKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0JyaXRuZXklMjBTcGVhcnM@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjQwNjEyczIKaWRyMAo_
2019-03-27 22:36:17,980 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '40612', 'guid': 'com.plexapp.agents.lastfm://Britney%20Spears?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:36:17,983 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/40612/tree'
2019-03-27 22:36:18,003 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Britney%20Spears?lang=en
2019-03-27 22:36:18,004 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/d/aea1628379bd11fd51d9eb993794435d64270c2.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:36:18,014 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=britney+spears&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:36:18,064 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=britney+spears&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:36:19,071 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=britney+spears&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:36:19,111 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=britney+spears&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:36:20,119 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '40612', 'guid': 'com.plexapp.agents.lastfm://Britney%20Spears?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:36:20,122 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:36:20,123 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:36:20,141 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mgpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vQnJpdG5leSUyMFNwZWFycz9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:36:20,143 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:36:20,145 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mgpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vQnJpdG5leSUyMFNwZWFycz9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:36:20,147 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:36:20,148 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:36:21,304 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDgKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0JleW9uYyVDMyVBOT9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKNDA2MjhzMgppZHIwCg__
2019-03-27 22:36:21,306 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:36:21,308 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDgKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0JleW9uYyVDMyVBOT9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKNDA2MjhzMgppZHIwCg__
2019-03-27 22:36:21,309 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '40628', 'guid': 'com.plexapp.agents.lastfm://Beyonc%C3%A9?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:36:21,310 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/40628/tree'
2019-03-27 22:36:21,331 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Beyonc%C3%A9?lang=en
2019-03-27 22:36:21,332 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/6/d1cf42800e40f7e09a8916093f4e89cd2e51eb6.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:36:21,341 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=beyonc%C3%A9&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:36:21,390 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=beyonc%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:36:22,395 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=beyonc%C3%A9&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:36:22,440 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=beyonc%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:36:23,447 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '40628', 'guid': 'com.plexapp.agents.lastfm://Beyonc%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:36:23,450 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:36:23,451 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:36:23,471 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vQmV5b25jJUMzJUE5P2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:36:23,473 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:36:23,475 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vQmV5b25jJUMzJUE5P2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:36:23,477 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:36:23,477 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:36:25,015 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0F0b21pYyUyMEtpdHRlbj9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKNDA2NDdzMgppZHIwCg__
2019-03-27 22:36:25,017 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:36:25,020 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0F0b21pYyUyMEtpdHRlbj9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKNDA2NDdzMgppZHIwCg__
2019-03-27 22:36:25,021 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '40647', 'guid': 'com.plexapp.agents.lastfm://Atomic%20Kitten?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:36:25,024 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/40647/tree'
2019-03-27 22:36:25,044 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Atomic%20Kitten?lang=en
2019-03-27 22:36:25,045 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/2/2030d1df8caf14d37ef3d37707e233736b4b7c4.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:36:25,055 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=atomic+kitten&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:36:25,099 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=atomic+kitten&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:36:25,589 (30010fd4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0F2cmlsJTIwTGF2aWduZT9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKNDA2NjNzMgppZHIwCg__
2019-03-27 22:36:25,592 (30010fd4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:36:25,595 (30010fd4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0F2cmlsJTIwTGF2aWduZT9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKNDA2NjNzMgppZHIwCg__
2019-03-27 22:36:25,595 (30010fd4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '40663', 'guid': 'com.plexapp.agents.lastfm://Avril%20Lavigne?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:36:25,597 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/40663/tree'
2019-03-27 22:36:25,617 (30010fd4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Avril%20Lavigne?lang=en
2019-03-27 22:36:25,618 (30010fd4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/9/d43bd209b08181d3d5eacd06a8dbdb0e2ddda62.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:36:25,627 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=avril+lavigne&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:36:25,667 (30010fd4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=avril+lavigne&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:36:26,103 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=atomic+kitten&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:36:26,146 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=atomic+kitten&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:36:26,676 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=avril+lavigne&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:36:26,715 (30010fd4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=avril+lavigne&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:36:27,151 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '40647', 'guid': 'com.plexapp.agents.lastfm://Atomic%20Kitten?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:36:27,154 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:36:27,155 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:36:27,174 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vQXRvbWljJTIwS2l0dGVuP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:36:27,176 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:36:27,178 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vQXRvbWljJTIwS2l0dGVuP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:36:27,181 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:36:27,181 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:36:27,720 (30010fd4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '40663', 'guid': 'com.plexapp.agents.lastfm://Avril%20Lavigne?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:36:27,722 (30010fd4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:36:27,723 (30010fd4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:36:27,741 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vQXZyaWwlMjBMYXZpZ25lP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:36:27,743 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:36:27,746 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vQXZyaWwlMjBMYXZpZ25lP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:36:27,748 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:36:27,748 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:36:32,391 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDgKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0JpbGx5JTIwSm9lbD9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKNDA2NzhzMgppZHIwCg__
2019-03-27 22:36:32,393 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:36:32,395 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDgKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0JpbGx5JTIwSm9lbD9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKNDA2NzhzMgppZHIwCg__
2019-03-27 22:36:32,396 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '40678', 'guid': 'com.plexapp.agents.lastfm://Billy%20Joel?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:36:32,400 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/40678/tree'
2019-03-27 22:36:32,432 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Billy%20Joel?lang=en
2019-03-27 22:36:32,433 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/e/613fe4907ee383282d3a711aba308bec0aae946.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:36:32,445 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=billy+joel&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:36:32,511 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=billy+joel&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:36:33,519 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=billy+joel&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:36:33,557 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=billy+joel&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:36:34,566 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '40678', 'guid': 'com.plexapp.agents.lastfm://Billy%20Joel?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:36:34,568 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:36:34,569 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:36:34,586 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vQmlsbHklMjBKb2VsP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:36:34,588 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:36:34,590 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vQmlsbHklMjBKb2VsP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:36:34,592 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:36:34,593 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:36:43,249 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTYKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0FybWluJTIwdmFuJTIwQnV1cmVuP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQo0MDcyNXMyCmlkcjAK
2019-03-27 22:36:43,250 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:36:43,252 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTYKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0FybWluJTIwdmFuJTIwQnV1cmVuP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQo0MDcyNXMyCmlkcjAK
2019-03-27 22:36:43,253 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '40725', 'guid': 'com.plexapp.agents.lastfm://Armin%20van%20Buuren?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:36:43,254 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/40725/tree'
2019-03-27 22:36:43,271 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Armin%20van%20Buuren?lang=en
2019-03-27 22:36:43,272 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/6/c2567407964895e23b1de5620bcbeeea3105d5e.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:36:43,283 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=armin+van+buuren&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:36:43,327 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=armin+van+buuren&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:36:44,332 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=armin+van+buuren&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:36:44,368 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=armin+van+buuren&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:36:45,376 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '40725', 'guid': 'com.plexapp.agents.lastfm://Armin%20van%20Buuren?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:36:45,379 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:36:45,406 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:36:45,422 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Ngpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vQXJtaW4lMjB2YW4lMjBCdXVyZW4%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:36:45,424 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:36:45,426 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Ngpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vQXJtaW4lMjB2YW4lMjBCdXVyZW4@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:36:45,428 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:36:45,429 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:36:54,680 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0FuYXN0YWNpYT9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKNDA3MzdzMgppZHIwCg__
2019-03-27 22:36:54,682 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:36:54,685 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0FuYXN0YWNpYT9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKNDA3MzdzMgppZHIwCg__
2019-03-27 22:36:54,686 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '40737', 'guid': 'com.plexapp.agents.lastfm://Anastacia?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:36:54,687 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/40737/tree'
2019-03-27 22:36:54,706 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Anastacia?lang=en
2019-03-27 22:36:54,706 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/e/42a64c82b84013a70ab3d67da25e64f0f9bd7e8.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:36:54,716 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=anastacia&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:36:54,753 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=anastacia&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:36:55,759 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=anastacia&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:36:55,799 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=anastacia&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:36:56,807 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '40737', 'guid': 'com.plexapp.agents.lastfm://Anastacia?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:36:56,810 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:36:56,811 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:36:56,827 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0NQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vQW5hc3RhY2lhP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:36:56,829 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:36:56,831 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0NQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vQW5hc3RhY2lhP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:36:56,833 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:36:56,834 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:37:00,693 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0FsZXglMjBHYXVkaW5vP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQo0MDc1MXMyCmlkcjAK
2019-03-27 22:37:00,695 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:37:00,697 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0FsZXglMjBHYXVkaW5vP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQo0MDc1MXMyCmlkcjAK
2019-03-27 22:37:00,698 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '40751', 'guid': 'com.plexapp.agents.lastfm://Alex%20Gaudino?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:37:00,699 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/40751/tree'
2019-03-27 22:37:00,714 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Alex%20Gaudino?lang=en
2019-03-27 22:37:00,715 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/8/3911257cadcb66e2f81e9f3ca4890338f53999e.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:37:00,724 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=alex+gaudino&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:37:00,769 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=alex+gaudino&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:37:01,776 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=alex+gaudino&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:37:01,815 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=alex+gaudino&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:37:02,819 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '40751', 'guid': 'com.plexapp.agents.lastfm://Alex%20Gaudino?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:37:02,822 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:37:02,823 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:37:02,845 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vQWxleCUyMEdhdWRpbm8%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:37:02,846 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:37:02,849 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vQWxleCUyMEdhdWRpbm8@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:37:02,851 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:37:02,852 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:37:04,823 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0FsYW5uYWglMjBNeWxlcz9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKNDA3NTZzMgppZHIwCg__
2019-03-27 22:37:04,825 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:37:04,827 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0FsYW5uYWglMjBNeWxlcz9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKNDA3NTZzMgppZHIwCg__
2019-03-27 22:37:04,828 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '40756', 'guid': 'com.plexapp.agents.lastfm://Alannah%20Myles?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:37:04,832 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/40756/tree'
2019-03-27 22:37:04,850 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Alannah%20Myles?lang=en
2019-03-27 22:37:04,851 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/3/7eb4ccfdeddf622ef8b6dee6c82f0319b53aa78.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:37:04,860 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=alannah+myles&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:37:04,906 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=alannah+myles&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:37:05,914 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=alannah+myles&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:37:05,955 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=alannah+myles&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:37:06,823 (30010fd4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0FubmllJTIwTGVubm94P2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQo0MDc2OHMyCmlkcjAK
2019-03-27 22:37:06,825 (30010fd4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:37:06,828 (30010fd4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0FubmllJTIwTGVubm94P2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQo0MDc2OHMyCmlkcjAK
2019-03-27 22:37:06,829 (30010fd4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '40768', 'guid': 'com.plexapp.agents.lastfm://Annie%20Lennox?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:37:06,833 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/40768/tree'
2019-03-27 22:37:06,851 (30010fd4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Annie%20Lennox?lang=en
2019-03-27 22:37:06,852 (30010fd4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/9/c69ccc2b9d385498970dfa4ba1f88f29eb08026.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:37:06,860 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=annie+lennox&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:37:06,897 (30010fd4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=annie+lennox&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:37:06,963 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '40756', 'guid': 'com.plexapp.agents.lastfm://Alannah%20Myles?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:37:06,966 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:37:06,966 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:37:06,984 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vQWxhbm5haCUyME15bGVzP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:37:06,986 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:37:06,988 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vQWxhbm5haCUyME15bGVzP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:37:06,991 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:37:06,991 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:37:07,073 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0FteSUyMFdpbmVob3VzZT9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKNDA3ODFzMgppZHIwCg__
2019-03-27 22:37:07,075 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:37:07,077 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0FteSUyMFdpbmVob3VzZT9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKNDA3ODFzMgppZHIwCg__
2019-03-27 22:37:07,078 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '40781', 'guid': 'com.plexapp.agents.lastfm://Amy%20Winehouse?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:37:07,079 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/40781/tree'
2019-03-27 22:37:07,098 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Amy%20Winehouse?lang=en
2019-03-27 22:37:07,099 (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 22:37:07,113 (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 22:37:07,153 (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 22:37:07,903 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=annie+lennox&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:37:07,948 (30010fd4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=annie+lennox&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:37:08,161 (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 22:37:08,200 (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 22:37:08,957 (30010fd4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '40768', 'guid': 'com.plexapp.agents.lastfm://Annie%20Lennox?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:37:08,960 (30010fd4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:37:08,960 (30010fd4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:37:08,977 (30010fd4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vQW5uaWUlMjBMZW5ub3g%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:37:08,979 (30010fd4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:37:08,982 (30010fd4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vQW5uaWUlMjBMZW5ub3g@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:37:08,984 (30010fd4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:37:08,985 (30010fd4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:37:09,207 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '40781', '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 22:37:09,210 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:37:09,210 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:37:09,227 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vQW15JTIwV2luZWhvdXNlP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:37:09,229 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:37:09,231 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vQW15JTIwV2luZWhvdXNlP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:37:09,233 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:37:09,234 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:37:14,942 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDgKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0FsbCUyMFNhaW50cz9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKNDA4MjhzMgppZHIwCg__
2019-03-27 22:37:14,944 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:37:14,947 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDgKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0FsbCUyMFNhaW50cz9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKNDA4MjhzMgppZHIwCg__
2019-03-27 22:37:14,948 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '40828', 'guid': 'com.plexapp.agents.lastfm://All%20Saints?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:37:14,949 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/40828/tree'
2019-03-27 22:37:14,968 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://All%20Saints?lang=en
2019-03-27 22:37:14,969 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/5/ddd8e90860cb0d864101c7a1e0b7761bf7357c6.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:37:14,980 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=all+saints&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:37:15,018 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=all+saints&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:37:15,335 (30010fd4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0FsaWNpYSUyMEtleXM%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjQwNzk0czIKaWRyMAo_
2019-03-27 22:37:15,337 (30010fd4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:37:15,339 (30010fd4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0FsaWNpYSUyMEtleXM@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjQwNzk0czIKaWRyMAo_
2019-03-27 22:37:15,340 (30010fd4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '40794', 'guid': 'com.plexapp.agents.lastfm://Alicia%20Keys?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:37:15,344 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/40794/tree'
2019-03-27 22:37:15,370 (30010fd4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Alicia%20Keys?lang=en
2019-03-27 22:37:15,371 (30010fd4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/c/77d1007f1aebb9a26c1c540def3de87b53bc80a.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:37:15,381 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=alicia+keys&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:37:15,419 (30010fd4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=alicia+keys&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:37:16,023 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=all+saints&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:37:16,064 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=all+saints&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:37:16,427 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=alicia+keys&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:37:16,471 (30010fd4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=alicia+keys&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:37:17,071 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '40828', 'guid': 'com.plexapp.agents.lastfm://All%20Saints?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:37:17,077 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:37:17,287 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:37:17,303 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vQWxsJTIwU2FpbnRzP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:37:17,305 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:37:17,307 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vQWxsJTIwU2FpbnRzP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:37:17,309 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:37:17,310 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:37:17,479 (30010fd4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '40794', 'guid': 'com.plexapp.agents.lastfm://Alicia%20Keys?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:37:17,482 (30010fd4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:37:17,483 (30010fd4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:37:17,499 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vQWxpY2lhJTIwS2V5cz9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:37:17,501 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:37:17,503 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vQWxpY2lhJTIwS2V5cz9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:37:17,505 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:37:17,506 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:37:28,998 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0FsYW5pcyUyME1vcmlzc2V0dGU%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjQwODQzczIKaWRyMAo_
2019-03-27 22:37:29,000 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:37:29,003 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0FsYW5pcyUyME1vcmlzc2V0dGU@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjQwODQzczIKaWRyMAo_
2019-03-27 22:37:29,004 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '40843', 'guid': 'com.plexapp.agents.lastfm://Alanis%20Morissette?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:37:29,007 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/40843/tree'
2019-03-27 22:37:29,026 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Alanis%20Morissette?lang=en
2019-03-27 22:37:29,027 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/d/ab4d8f6d163eba31d8729dc959af39d450f0062.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:37:29,036 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=alanis+morissette&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:37:29,075 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=alanis+morissette&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:37:30,084 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=alanis+morissette&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:37:30,124 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=alanis+morissette&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:37:31,128 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '40843', 'guid': 'com.plexapp.agents.lastfm://Alanis%20Morissette?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:37:31,131 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:37:31,132 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:37:31,150 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1NQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vQWxhbmlzJTIwTW9yaXNzZXR0ZT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:37:31,151 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:37:31,154 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1NQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vQWxhbmlzJTIwTW9yaXNzZXR0ZT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:37:31,156 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:37:31,157 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:37:39,121 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0Flcm9zbWl0aD9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKNDA4NThzMgppZHIwCg__
2019-03-27 22:37:39,123 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:37:39,125 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0Flcm9zbWl0aD9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKNDA4NThzMgppZHIwCg__
2019-03-27 22:37:39,126 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '40858', 'guid': 'com.plexapp.agents.lastfm://Aerosmith?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:37:39,130 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/40858/tree'
2019-03-27 22:37:39,149 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Aerosmith?lang=en
2019-03-27 22:37:39,151 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/b/7286a24aa466fc1c09487d5521b87d875b0e3c8.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:37:39,170 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=aerosmith&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:37:39,214 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=aerosmith&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:37:40,222 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=aerosmith&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:37:40,263 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=aerosmith&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:37:41,269 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '40858', 'guid': 'com.plexapp.agents.lastfm://Aerosmith?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:37:41,271 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:37:41,272 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:37:41,289 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0NQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vQWVyb3NtaXRoP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:37:41,290 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:37:41,292 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0NQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vQWVyb3NtaXRoP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:37:41,294 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:37:41,295 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:37:53,248 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0FCQkE%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjQwODc2czIKaWRyMAo_
2019-03-27 22:37:53,250 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:37:53,252 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0FCQkE@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjQwODc2czIKaWRyMAo_
2019-03-27 22:37:53,253 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '40876', 'guid': 'com.plexapp.agents.lastfm://ABBA?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:37:53,257 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/40876/tree'
2019-03-27 22:37:53,277 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://ABBA?lang=en
2019-03-27 22:37:53,278 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/7/ba1add29f97e2c100b0b2b3fed261ff9974bc63.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:37:53,287 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=abba&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:37:53,323 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=abba&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:37:54,330 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=abba&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:37:54,384 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=abba&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:37:55,391 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '40876', 'guid': 'com.plexapp.agents.lastfm://ABBA?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:37:55,394 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:37:55,394 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:37:55,411 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vQUJCQT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:37:55,412 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:37:55,415 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vQUJCQT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:37:55,417 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:37:55,417 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:38:06,203 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovLzVpdmU%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjQwODk3czIKaWRyMAo_
2019-03-27 22:38:06,204 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:38:06,207 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovLzVpdmU@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjQwODk3czIKaWRyMAo_
2019-03-27 22:38:06,207 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '40897', 'guid': 'com.plexapp.agents.lastfm://5ive?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:38:06,208 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/40897/tree'
2019-03-27 22:38:06,229 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://5ive?lang=en
2019-03-27 22:38:06,230 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/7/827583e34dff8a243e6f13dbae17bcec738721d.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:38:06,243 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=5ive&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:38:06,299 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=5ive&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:38:07,307 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=5ive&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:38:07,354 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=5ive&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:38:08,359 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '40897', 'guid': 'com.plexapp.agents.lastfm://5ive?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:38:08,362 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:38:08,362 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:38:08,379 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vNWl2ZT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:38:08,381 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:38:08,384 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vNWl2ZT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:38:08,386 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:38:08,387 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:38:20,864 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0FkZWxlP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQo0MDkxN3MyCmlkcjAK
2019-03-27 22:38:20,865 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:38:20,868 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0FkZWxlP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQo0MDkxN3MyCmlkcjAK
2019-03-27 22:38:20,869 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '40917', 'guid': 'com.plexapp.agents.lastfm://Adele?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:38:20,870 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/40917/tree'
2019-03-27 22:38:20,905 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Adele?lang=en
2019-03-27 22:38:20,906 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/e/309561eadde07eedb0531bad244cb53a386d9c3.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:38:20,916 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=adele&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:38:20,956 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=adele&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:38:21,964 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=adele&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:38:22,006 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=adele&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:38:23,012 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '40917', 'guid': 'com.plexapp.agents.lastfm://Adele?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:38:23,015 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:38:23,016 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:38:23,034 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vQWRlbGU%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:38:23,036 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:38:23,039 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vQWRlbGU@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:38:23,041 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:38:23,042 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:38:32,590 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTcKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL01pbmlzdHJ5JTIwb2YlMjBTb3VuZD9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKNDA5NzNzMgppZHIwCg__
2019-03-27 22:38:32,591 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:38:32,594 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTcKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL01pbmlzdHJ5JTIwb2YlMjBTb3VuZD9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKNDA5NzNzMgppZHIwCg__
2019-03-27 22:38:32,594 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '40973', 'guid': 'com.plexapp.agents.lastfm://Ministry%20of%20Sound?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:38:32,595 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/40973/tree'
2019-03-27 22:38:32,610 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Ministry%20of%20Sound?lang=en
2019-03-27 22:38:32,611 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/0/6dd310be97a2c388480f7970d230ff86c177d59.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:38:32,621 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=ministry+of+sound&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:38:32,660 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=ministry+of+sound&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:38:33,668 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=ministry+of+sound&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:38:33,708 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=ministry+of+sound&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:38:34,716 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '40973', 'guid': 'com.plexapp.agents.lastfm://Ministry%20of%20Sound?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:38:34,718 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:38:34,719 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:38:34,740 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Nwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTWluaXN0cnklMjBvZiUyMFNvdW5kP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:38:34,741 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:38:34,744 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Nwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTWluaXN0cnklMjBvZiUyMFNvdW5kP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:38:34,746 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:38:34,746 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:38:41,089 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/TWVzc2FnZUtpdDpBcnRpc3RTZWFyY2g_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMQpzMzAKVGhlIEdyZWF0ZXN0IFNob3dtYW4gRmlsbSBDYXN0czExCmFydGlzdF9uYW1lcjAK
2019-03-27 22:38:41,091 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:38:41,093 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/TWVzc2FnZUtpdDpBcnRpc3RTZWFyY2g_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMQpzMzAKVGhlIEdyZWF0ZXN0IFNob3dtYW4gRmlsbSBDYXN0czExCmFydGlzdF9uYW1lcjAK
2019-03-27 22:38:41,100 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+greatest+showman+film+cast&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:38:41,143 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+greatest+showman+film+cast&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:38:42,150 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+greatest+showman+film+cast&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:38:42,201 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+greatest+showman+film+cast&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:38:42,526 (30010fd4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1RoZSUyMEtMRj9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKNDA5NzdzMgppZHIwCg__
2019-03-27 22:38:42,527 (30010fd4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:38:42,530 (30010fd4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1RoZSUyMEtMRj9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKNDA5NzdzMgppZHIwCg__
2019-03-27 22:38:42,531 (30010fd4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '40977', 'guid': 'com.plexapp.agents.lastfm://The%20KLF?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:38:42,534 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/40977/tree'
2019-03-27 22:38:42,551 (30010fd4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://The%20KLF?lang=en
2019-03-27 22:38:42,552 (30010fd4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/5/4ed0a3d48608933a41241334f026fc3a417bf5a.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:38:42,563 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+klf&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:38:42,614 (30010fd4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+klf&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:38:43,207 (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:38:43,209 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:38:43,210 (300052d4f0) :  DEBUG (runtime:924) - Response: [404] NoneType, 0 bytes
2019-03-27 22:38:43,622 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+klf&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:38:43,667 (30010fd4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+klf&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:38:44,673 (30010fd4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '40977', 'guid': 'com.plexapp.agents.lastfm://The%20KLF?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:38:44,676 (30010fd4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:38:44,676 (30010fd4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:38:44,709 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0NQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vVGhlJTIwS0xGP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:38:44,711 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:38:44,714 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0NQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vVGhlJTIwS0xGP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:38:44,716 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:38:44,716 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:38:51,439 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTcKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1RoZSUyMERpdmluZSUyMENvbWVkeT9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKNDEwMDFzMgppZHIwCg__
2019-03-27 22:38:51,441 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:38:51,443 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTcKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1RoZSUyMERpdmluZSUyMENvbWVkeT9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKNDEwMDFzMgppZHIwCg__
2019-03-27 22:38:51,444 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '41001', 'guid': 'com.plexapp.agents.lastfm://The%20Divine%20Comedy?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:38:51,445 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/41001/tree'
2019-03-27 22:38:51,465 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://The%20Divine%20Comedy?lang=en
2019-03-27 22:38:51,466 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/9/bbbb9c0b817f20ac805c0f5cc5cf4c14a2a1eb9.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:38:51,475 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+divine+comedy&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:38:51,518 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+divine+comedy&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:38:52,523 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+divine+comedy&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:38:52,564 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+divine+comedy&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:38:52,707 (30010fd4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTQKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1RoZSUyMENoYWluc21va2Vycz9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKNDEwMjBzMgppZHIwCg__
2019-03-27 22:38:52,709 (30010fd4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:38:52,711 (30010fd4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTQKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1RoZSUyMENoYWluc21va2Vycz9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKNDEwMjBzMgppZHIwCg__
2019-03-27 22:38:52,712 (30010fd4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '41020', 'guid': 'com.plexapp.agents.lastfm://The%20Chainsmokers?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:38:52,714 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/41020/tree'
2019-03-27 22:38:52,733 (30010fd4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://The%20Chainsmokers?lang=en
2019-03-27 22:38:52,734 (30010fd4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/3/13ec5e208bba9668fc737c405d67199f0a9e050.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:38:52,763 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+chainsmokers&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:38:52,805 (30010fd4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+chainsmokers&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:38:53,568 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '41001', 'guid': 'com.plexapp.agents.lastfm://The%20Divine%20Comedy?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:38:53,570 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:38:53,571 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:38:53,588 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Nwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vVGhlJTIwRGl2aW5lJTIwQ29tZWR5P2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:38:53,589 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:38:53,591 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Nwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vVGhlJTIwRGl2aW5lJTIwQ29tZWR5P2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:38:53,593 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:38:53,594 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:38:53,811 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+chainsmokers&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:38:53,852 (30010fd4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+chainsmokers&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:38:54,859 (30010fd4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '41020', 'guid': 'com.plexapp.agents.lastfm://The%20Chainsmokers?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:38:54,862 (30010fd4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:38:54,863 (30010fd4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:38:54,881 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1NApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vVGhlJTIwQ2hhaW5zbW9rZXJzP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:38:54,883 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:38:54,885 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1NApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vVGhlJTIwQ2hhaW5zbW9rZXJzP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:38:54,887 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:38:54,887 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:38:59,874 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNjMKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1RoZSUyMEJyYW5kJTIwTmV3JTIwSGVhdmllcz9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKNDEwMzRzMgppZHIwCg__
2019-03-27 22:38:59,876 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:38:59,879 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNjMKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1RoZSUyMEJyYW5kJTIwTmV3JTIwSGVhdmllcz9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKNDEwMzRzMgppZHIwCg__
2019-03-27 22:38:59,880 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '41034', 'guid': 'com.plexapp.agents.lastfm://The%20Brand%20New%20Heavies?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:38:59,881 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/41034/tree'
2019-03-27 22:38:59,903 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://The%20Brand%20New%20Heavies?lang=en
2019-03-27 22:38:59,904 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/c/a46e166162b9184210e50946ed691cd843e28f6.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:38:59,915 (30010fd4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDIKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1AlMjFuaz9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKNDEwNjlzMgppZHIwCg__
2019-03-27 22:38:59,916 (30010fd4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:38:59,919 (30010fd4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDIKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1AlMjFuaz9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKNDEwNjlzMgppZHIwCg__
2019-03-27 22:38:59,920 (30010fd4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '41069', 'guid': 'com.plexapp.agents.lastfm://P%21nk?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:38:59,922 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/41069/tree'
2019-03-27 22:38:59,925 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+brand+new+heavies&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:38:59,943 (30010fd4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://P%21nk?lang=en
2019-03-27 22:38:59,944 (30010fd4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/6/69f8b74a9cdc23fad74b16d2b459798fcdd7d5f.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:38:59,973 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+brand+new+heavies&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:38:59,973 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=p%21nk&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:39:00,021 (30010fd4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=p%21nk&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:39:00,980 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+brand+new+heavies&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:39:01,021 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=the+brand+new+heavies&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:39:01,027 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=p%21nk&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:39:01,064 (30010fd4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=p%21nk&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:39:01,198 (30011fb4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1Bpbms%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjQxMDUxczIKaWRyMAo_
2019-03-27 22:39:01,200 (30011fb4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:39:01,202 (30011fb4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1Bpbms@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjQxMDUxczIKaWRyMAo_
2019-03-27 22:39:01,203 (30011fb4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '41051', 'guid': 'com.plexapp.agents.lastfm://Pink?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:39:01,211 (30011fb4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/41051/tree'
2019-03-27 22:39:01,231 (30011fb4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Pink?lang=en
2019-03-27 22:39:01,232 (30011fb4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/5/96fed096d244b7b948fea8e6a94b589296d28e4.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:39:01,255 (30011fb4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=pink&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:39:01,294 (30011fb4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=pink&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:39:02,030 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '41034', 'guid': 'com.plexapp.agents.lastfm://The%20Brand%20New%20Heavies?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:39:02,032 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:39:02,033 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:39:02,050 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM2Mwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vVGhlJTIwQnJhbmQlMjBOZXclMjBIZWF2aWVzP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:39:02,051 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:39:02,053 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM2Mwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vVGhlJTIwQnJhbmQlMjBOZXclMjBIZWF2aWVzP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:39:02,055 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:39:02,056 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:39:02,071 (30010fd4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '41069', 'guid': 'com.plexapp.agents.lastfm://P%21nk?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:39:02,074 (30010fd4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:39:02,075 (30010fd4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:39:02,129 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Mgpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vUCUyMW5rP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:39:02,131 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:39:02,134 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Mgpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vUCUyMW5rP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:39:02,136 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:39:02,137 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:39:02,299 (30011fb4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=pink&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:39:02,337 (30011fb4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=pink&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:39:03,343 (30011fb4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '41051', 'guid': 'com.plexapp.agents.lastfm://Pink?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:39:03,346 (30011fb4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:39:03,346 (30011fb4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:39:03,365 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vUGluaz9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:39:03,367 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:39:03,369 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vUGluaz9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:39:03,372 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:39:03,372 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:39:06,583 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL09yc29uP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQo0MTA4NHMyCmlkcjAK
2019-03-27 22:39:06,585 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:39:06,588 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL09yc29uP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQo0MTA4NHMyCmlkcjAK
2019-03-27 22:39:06,588 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '41084', 'guid': 'com.plexapp.agents.lastfm://Orson?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:39:06,589 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/41084/tree'
2019-03-27 22:39:06,610 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Orson?lang=en
2019-03-27 22:39:06,612 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/7/67728497f7fc41a5eb3cc1f337d5fba114da852.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:39:06,621 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=orson&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:39:06,637 (30010fd4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL21peGVkP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQo0MTA5NnMyCmlkcjAK
2019-03-27 22:39:06,639 (30010fd4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:39:06,642 (30010fd4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL21peGVkP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQo0MTA5NnMyCmlkcjAK
2019-03-27 22:39:06,642 (30010fd4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '41096', 'guid': 'com.plexapp.agents.lastfm://mixed?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:39:06,646 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/41096/tree'
2019-03-27 22:39:06,666 (30010fd4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://mixed?lang=en
2019-03-27 22:39:06,667 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=orson&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:39:06,667 (30010fd4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/7/9d148b7a5775675ead52489c6491277f8be8eed.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:39:06,677 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=mixed&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:39:06,719 (30010fd4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=mixed&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:39:07,675 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=orson&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:39:07,724 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=mixed&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:39:07,729 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=orson&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:39:07,765 (30010fd4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=mixed&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:39:08,284 (30011fb4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0x1Y2llJTIwU2lsdmFzP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQo0MTEwOHMyCmlkcjAK
2019-03-27 22:39:08,285 (30011fb4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:39:08,287 (30011fb4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0x1Y2llJTIwU2lsdmFzP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQo0MTEwOHMyCmlkcjAK
2019-03-27 22:39:08,288 (30011fb4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '41108', 'guid': 'com.plexapp.agents.lastfm://Lucie%20Silvas?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:39:08,292 (30011fb4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/41108/tree'
2019-03-27 22:39:08,311 (30011fb4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Lucie%20Silvas?lang=en
2019-03-27 22:39:08,312 (30011fb4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/1/29e5e76a2dacf857d60b2f873ff1dfd42877d0b.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:39:08,327 (30011fb4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=lucie+silvas&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:39:08,365 (30011fb4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=lucie+silvas&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:39:08,738 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '41084', 'guid': 'com.plexapp.agents.lastfm://Orson?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:39:08,741 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:39:08,741 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:39:08,758 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vT3Jzb24%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:39:08,760 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:39:08,762 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vT3Jzb24@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:39:08,764 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:39:08,765 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:39:08,773 (30010fd4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '41096', 'guid': 'com.plexapp.agents.lastfm://mixed?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:39:08,775 (30010fd4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:39:08,776 (30010fd4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:39:08,819 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vbWl4ZWQ%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:39:08,821 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:39:08,824 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vbWl4ZWQ@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:39:08,826 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:39:08,827 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:39:09,371 (30011fb4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=lucie+silvas&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:39:09,420 (30011fb4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=lucie+silvas&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:39:10,427 (30011fb4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '41108', 'guid': 'com.plexapp.agents.lastfm://Lucie%20Silvas?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:39:10,430 (30011fb4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:39:10,431 (30011fb4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:39:10,450 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTHVjaWUlMjBTaWx2YXM%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:39:10,452 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:39:10,454 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTHVjaWUlMjBTaWx2YXM@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:39:10,457 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:39:10,457 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:39:13,308 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0xlb25hJTIwTGV3aXM%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjQxMTIzczIKaWRyMAo_
2019-03-27 22:39:13,310 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:39:13,312 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0xlb25hJTIwTGV3aXM@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjQxMTIzczIKaWRyMAo_
2019-03-27 22:39:13,313 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '41123', 'guid': 'com.plexapp.agents.lastfm://Leona%20Lewis?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:39:13,314 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/41123/tree'
2019-03-27 22:39:13,333 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Leona%20Lewis?lang=en
2019-03-27 22:39:13,334 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/b/9623d753c63b7f3784d256560cbcadd5c06765f.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:39:13,343 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=leona+lewis&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:39:13,381 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=leona+lewis&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:39:14,387 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=leona+lewis&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:39:14,428 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=leona+lewis&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:39:15,044 (30010fd4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0xhdXJlbiUyMERhaWdsZT9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKNDExNDFzMgppZHIwCg__
2019-03-27 22:39:15,045 (30010fd4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:39:15,048 (30010fd4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0xhdXJlbiUyMERhaWdsZT9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKNDExNDFzMgppZHIwCg__
2019-03-27 22:39:15,048 (30010fd4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '41141', 'guid': 'com.plexapp.agents.lastfm://Lauren%20Daigle?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:39:15,052 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/41141/tree'
2019-03-27 22:39:15,070 (30010fd4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Lauren%20Daigle?lang=en
2019-03-27 22:39:15,071 (30010fd4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/8/4af858cb6817d8ae568c71e5b6c381f944aa098.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:39:15,089 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=lauren+daigle&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:39:15,130 (30010fd4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=lauren+daigle&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:39:15,435 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '41123', 'guid': 'com.plexapp.agents.lastfm://Leona%20Lewis?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:39:15,438 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:39:15,438 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:39:15,454 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTGVvbmElMjBMZXdpcz9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:39:15,456 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:39:15,458 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTGVvbmElMjBMZXdpcz9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:39:15,460 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:39:15,460 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:39:16,161 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=lauren+daigle&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:39:16,197 (30010fd4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=lauren+daigle&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:39:17,204 (30010fd4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '41141', 'guid': 'com.plexapp.agents.lastfm://Lauren%20Daigle?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:39:17,207 (30010fd4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:39:17,207 (30010fd4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:39:17,224 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTGF1cmVuJTIwRGFpZ2xlP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:39:17,226 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:39:17,228 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTGF1cmVuJTIwRGFpZ2xlP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:39:17,230 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:39:17,231 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:39:57,501 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0phbmV0JTIwSmFja3Nvbj9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKNDExODRzMgppZHIwCg__
2019-03-27 22:39:57,502 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:39:57,505 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0phbmV0JTIwSmFja3Nvbj9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKNDExODRzMgppZHIwCg__
2019-03-27 22:39:57,506 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '41184', 'guid': 'com.plexapp.agents.lastfm://Janet%20Jackson?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:39:57,506 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/41184/tree'
2019-03-27 22:39:57,529 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Janet%20Jackson?lang=en
2019-03-27 22:39:57,530 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/1/795e88a5a0dec184b479f3b5e682c725cbd9328.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:39:57,544 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=janet+jackson&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:39:57,594 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=janet+jackson&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:39:58,600 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=janet+jackson&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:39:58,653 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=janet+jackson&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:39:59,660 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '41184', 'guid': 'com.plexapp.agents.lastfm://Janet%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:39:59,662 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:39:59,663 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:39:59,680 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vSmFuZXQlMjBKYWNrc29uP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:39:59,682 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:39:59,684 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vSmFuZXQlMjBKYWNrc29uP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:39:59,686 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:39:59,687 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:40:32,428 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTMKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0ltYWdpbmUlMjBEcmFnb25zP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQo0MTIyMHMyCmlkcjAK
2019-03-27 22:40:32,431 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:40:32,433 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTMKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0ltYWdpbmUlMjBEcmFnb25zP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQo0MTIyMHMyCmlkcjAK
2019-03-27 22:40:32,434 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '41220', 'guid': 'com.plexapp.agents.lastfm://Imagine%20Dragons?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:40:32,435 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/41220/tree'
2019-03-27 22:40:32,453 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Imagine%20Dragons?lang=en
2019-03-27 22:40:32,454 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/1/74c266d034a8983a71faa594e96d399626135ad.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:40:32,466 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=imagine+dragons&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:40:32,509 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=imagine+dragons&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:40:33,515 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=imagine+dragons&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:40:33,553 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=imagine+dragons&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:40:34,559 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '41220', 'guid': 'com.plexapp.agents.lastfm://Imagine%20Dragons?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:40:34,562 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:40:34,562 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:40:34,581 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vSW1hZ2luZSUyMERyYWdvbnM%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:40:34,584 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:40:34,587 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vSW1hZ2luZSUyMERyYWdvbnM@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:40:34,589 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:40:34,590 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:40:42,428 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0dpcmxzJTIwQWxvdWQ%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjQxMjMzczIKaWRyMAo_
2019-03-27 22:40:42,430 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:40:42,432 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0dpcmxzJTIwQWxvdWQ@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjQxMjMzczIKaWRyMAo_
2019-03-27 22:40:42,433 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '41233', 'guid': 'com.plexapp.agents.lastfm://Girls%20Aloud?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:40:42,434 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/41233/tree'
2019-03-27 22:40:42,453 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Girls%20Aloud?lang=en
2019-03-27 22:40:42,454 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/c/6643ffdf02b3c221fe1fe7508a9f81af080deb0.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:40:42,462 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=girls+aloud&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:40:42,515 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=girls+aloud&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:40:43,519 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=girls+aloud&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:40:43,568 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=girls+aloud&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:40:44,575 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '41233', 'guid': 'com.plexapp.agents.lastfm://Girls%20Aloud?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:40:44,578 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:40:44,578 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:40:44,596 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vR2lybHMlMjBBbG91ZD9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:40:44,598 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:40:44,600 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vR2lybHMlMjBBbG91ZD9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:40:44,602 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:40:44,602 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:40:58,000 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0NoYXJsaWUlMjBQdXRoP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQo0MTI0OXMyCmlkcjAK
2019-03-27 22:40:58,002 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:40:58,004 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0NoYXJsaWUlMjBQdXRoP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQo0MTI0OXMyCmlkcjAK
2019-03-27 22:40:58,005 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '41249', 'guid': 'com.plexapp.agents.lastfm://Charlie%20Puth?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:40:58,006 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/41249/tree'
2019-03-27 22:40:58,024 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Charlie%20Puth?lang=en
2019-03-27 22:40:58,025 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/6/db48e5488c7e7a8b601724bf695a9e2471c92ec.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:40:58,034 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=charlie+puth&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:40:58,077 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=charlie+puth&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:40:59,083 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=charlie+puth&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:40:59,126 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=charlie+puth&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:40:59,699 (30010fd4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDgKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0JydW5vJTIwTWFycz9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKNDEyNjNzMgppZHIwCg__
2019-03-27 22:40:59,701 (30010fd4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:40:59,704 (30010fd4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDgKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0JydW5vJTIwTWFycz9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKNDEyNjNzMgppZHIwCg__
2019-03-27 22:40:59,705 (30010fd4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '41263', 'guid': 'com.plexapp.agents.lastfm://Bruno%20Mars?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:40:59,706 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/41263/tree'
2019-03-27 22:40:59,728 (30010fd4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Bruno%20Mars?lang=en
2019-03-27 22:40:59,729 (30010fd4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/6/7879e50917ef535b23e2cf8313ba63ccd05f45f.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:40:59,742 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=bruno+mars&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:40:59,785 (30010fd4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=bruno+mars&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:41:00,135 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '41249', 'guid': 'com.plexapp.agents.lastfm://Charlie%20Puth?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:41:00,137 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:41:00,138 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:41:00,156 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vQ2hhcmxpZSUyMFB1dGg%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:41:00,157 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:41:00,159 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vQ2hhcmxpZSUyMFB1dGg@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:41:00,161 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:41:00,162 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:41:00,791 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=bruno+mars&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:41:00,833 (30010fd4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=bruno+mars&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:41:01,841 (30010fd4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '41263', 'guid': 'com.plexapp.agents.lastfm://Bruno%20Mars?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:41:01,845 (30010fd4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:41:01,845 (30010fd4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:41:01,865 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vQnJ1bm8lMjBNYXJzP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:41:01,867 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:41:01,869 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vQnJ1bm8lMjBNYXJzP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:41:01,871 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:41:01,872 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:41:29,189 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDcKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0Jvb3R5JTIwTHV2P2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQo0MTI4NXMyCmlkcjAK
2019-03-27 22:41:29,191 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:41:29,194 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDcKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0Jvb3R5JTIwTHV2P2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQo0MTI4NXMyCmlkcjAK
2019-03-27 22:41:29,195 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '41285', 'guid': 'com.plexapp.agents.lastfm://Booty%20Luv?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:41:29,198 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/41285/tree'
2019-03-27 22:41:29,218 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Booty%20Luv?lang=en
2019-03-27 22:41:29,219 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/6/3c66dd0306904e0917f1c102a65d048f722285f.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:41:29,231 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=booty+luv&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:41:29,293 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=booty+luv&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:41:30,299 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=booty+luv&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:41:30,344 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=booty+luv&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:41:31,351 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '41285', 'guid': 'com.plexapp.agents.lastfm://Booty%20Luv?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:41:31,354 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:41:31,355 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:41:31,373 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Nwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vQm9vdHklMjBMdXY%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:41:31,375 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:41:31,377 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Nwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vQm9vdHklMjBMdXY@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:41:31,379 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:41:31,379 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:41:33,064 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTMKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0JldmVybGV5JTIwS25pZ2h0P2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQo0MTMyMHMyCmlkcjAK
2019-03-27 22:41:33,066 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:41:33,069 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTMKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0JldmVybGV5JTIwS25pZ2h0P2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQo0MTMyMHMyCmlkcjAK
2019-03-27 22:41:33,070 (300052d4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '41320', 'guid': 'com.plexapp.agents.lastfm://Beverley%20Knight?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:41:33,074 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/41320/tree'
2019-03-27 22:41:33,093 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Beverley%20Knight?lang=en
2019-03-27 22:41:33,094 (300052d4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/e/0250cd8984cdc5b8062af085caddf64a084e405.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:41:33,114 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=beverley+knight&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:41:33,115 (30010fd4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDYKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0JvbiUyMEpvdmk%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjQxMzAyczIKaWRyMAo_
2019-03-27 22:41:33,118 (30010fd4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:41:33,120 (30010fd4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDYKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0JvbiUyMEpvdmk@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjQxMzAyczIKaWRyMAo_
2019-03-27 22:41:33,121 (30010fd4f0) :  INFO (agentkit:957) - Searching for matches for {'id': '41302', 'guid': 'com.plexapp.agents.lastfm://Bon%20Jovi?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2019-03-27 22:41:33,122 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/41302/tree'
2019-03-27 22:41:33,143 (30010fd4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Bon%20Jovi?lang=en
2019-03-27 22:41:33,144 (30010fd4f0) :  DEBUG (model:234) - Deserializing from /data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Metadata/Artists/8/37de4dcd93c4f95fc856c3e2caece7c20087892.bundle/Contents/com.plexapp.agents.lastfm/Info.xml
2019-03-27 22:41:33,161 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=beverley+knight&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:41:33,162 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=bon+jovi&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:41:33,463 (30010fd4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=bon+jovi&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:41:34,167 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=beverley+knight&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:41:34,216 (300052d4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=beverley+knight&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:41:34,471 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=bon+jovi&default_operator=and&limit=50&aid=1,5'
2019-03-27 22:41:34,509 (30010fd4f0) :  DEBUG (networking:198) - Not caching 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=bon+jovi&default_operator=and&limit=50&aid=1,5' (content type 'application/octet-stream' not cacheable in Agent plug-ins)
2019-03-27 22:41:35,224 (300052d4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '41320', 'guid': 'com.plexapp.agents.lastfm://Beverley%20Knight?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:41:35,227 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:41:35,228 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:41:35,246 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vQmV2ZXJsZXklMjBLbmlnaHQ%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:41:35,248 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:41:35,251 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vQmV2ZXJsZXklMjBLbmlnaHQ@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:41:35,253 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:41:35,254 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:41:35,515 (30010fd4f0) :  CRITICAL (agentkit:1014) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '41302', 'guid': 'com.plexapp.agents.lastfm://Bon%20Jovi?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:41:35,519 (30010fd4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:41:35,520 (30010fd4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:41:35,537 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Ngpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vQm9uJTIwSm92aT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:41:35,539 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:41:35,541 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Ngpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vQm9uJTIwSm92aT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:41:35,543 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:41:35,544 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:41:38,765 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTIKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0dlb3JnZSUyME1pY2hhZWw%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM5NzQyczIKaWRyMAo_
2019-03-27 22:41:38,767 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:41:38,770 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTIKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0dlb3JnZSUyME1pY2hhZWw@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM5NzQyczIKaWRyMAo_
2019-03-27 22:41:38,771 (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:41:38,772 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/39742/tree'
2019-03-27 22:41:38,804 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://George%20Michael?lang=en
2019-03-27 22:41:38,807 (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:41:38,817 (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:41:38,866 (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:41:39,873 (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:41:40,033 (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:41:41,039 (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:41:41,043 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:41:41,043 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:41:41,068 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mgpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vR2VvcmdlJTIwTWljaGFlbD9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:41:41,070 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:41:41,072 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mgpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vR2VvcmdlJTIwTWljaGFlbD9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:41:41,074 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:41:41,074 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:41:45,613 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/TWVzc2FnZUtpdDpBcnRpc3RTZWFyY2g_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMQp1NApHbGVlczExCmFydGlzdF9uYW1lcjAK
2019-03-27 22:41:45,615 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:41:45,617 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/TWVzc2FnZUtpdDpBcnRpc3RTZWFyY2g_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMQp1NApHbGVlczExCmFydGlzdF9uYW1lcjAK
2019-03-27 22:41:45,646 (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:41:45,711 (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:41:46,719 (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:41:46,761 (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:41:47,768 (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:41:47,770 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:41:47,771 (300052d4f0) :  DEBUG (runtime:924) - Response: [404] NoneType, 0 bytes
2019-03-27 22:41:50,358 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0d3ZW4lMjBTdGVmYW5pP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozOTc3NHMyCmlkcjAK
2019-03-27 22:41:50,360 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:41:50,362 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0d3ZW4lMjBTdGVmYW5pP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozOTc3NHMyCmlkcjAK
2019-03-27 22:41:50,363 (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:41:50,364 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/39774/tree'
2019-03-27 22:41:50,377 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Gwen%20Stefani?lang=en
2019-03-27 22:41:50,378 (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:41:50,394 (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:41:50,432 (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:41:51,439 (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:41:51,487 (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:41:52,493 (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:41:52,496 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:41:52,497 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:41:52,515 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vR3dlbiUyMFN0ZWZhbmk%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:41:52,516 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:41:52,519 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vR3dlbiUyMFN0ZWZhbmk@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:41:52,521 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:41:52,521 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:41:56,581 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0phZGU%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM5NTk1czIKaWRyMAo_
2019-03-27 22:41:56,583 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:41:56,585 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0phZGU@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM5NTk1czIKaWRyMAo_
2019-03-27 22:41:56,586 (300052d4f0) :  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:41:56,587 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/39595/tree'
2019-03-27 22:41:56,611 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Jade?lang=en
2019-03-27 22:41:56,612 (300052d4f0) :  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:41:56,619 (300052d4f0) :  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:41:56,658 (300052d4f0) :  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:41:57,133 (30010fd4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0lyZW5lJTIwR3JhbmRpP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozOTcwNHMyCmlkcjAK
2019-03-27 22:41:57,135 (30010fd4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:41:57,138 (30010fd4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0lyZW5lJTIwR3JhbmRpP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozOTcwNHMyCmlkcjAK
2019-03-27 22:41:57,139 (30010fd4f0) :  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:41:57,140 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/39704/tree'
2019-03-27 22:41:57,166 (30010fd4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Irene%20Grandi?lang=en
2019-03-27 22:41:57,167 (30010fd4f0) :  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:41:57,176 (30010fd4f0) :  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:41:57,217 (30010fd4f0) :  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:41:57,666 (300052d4f0) :  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:41:57,707 (300052d4f0) :  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:41:58,222 (30010fd4f0) :  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:41:58,264 (30010fd4f0) :  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:41:58,715 (300052d4f0) :  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:41:58,718 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:41:58,719 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:41:58,736 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vSmFkZT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:41:58,738 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:41:58,740 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vSmFkZT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:41:58,743 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:41:58,743 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:41:59,271 (30010fd4f0) :  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:41:59,274 (30010fd4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:41:59,275 (30010fd4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:41:59,298 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vSXJlbmUlMjBHcmFuZGk%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:41:59,300 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:41:59,303 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vSXJlbmUlMjBHcmFuZGk@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:41:59,305 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:41:59,306 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:42:00,956 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/TWVzc2FnZUtpdDpBcnRpc3RTZWFyY2g_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMQp1NQpKYW1lc3MxMQphcnRpc3RfbmFtZXIwCg__
2019-03-27 22:42:00,959 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:42:00,962 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/TWVzc2FnZUtpdDpBcnRpc3RTZWFyY2g_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMQp1NQpKYW1lc3MxMQphcnRpc3RfbmFtZXIwCg__
2019-03-27 22:42:00,969 (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:42:01,126 (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:42:02,132 (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:42:02,184 (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:42:02,933 (30010fd4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0phbWVzJTIwQnJvd24%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM5Njg4czIKaWRyMAo_
2019-03-27 22:42:02,935 (30010fd4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:42:02,937 (30010fd4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0phbWVzJTIwQnJvd24@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM5Njg4czIKaWRyMAo_
2019-03-27 22:42:02,938 (30010fd4f0) :  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:42:02,939 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/39688/tree'
2019-03-27 22:42:02,962 (30010fd4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://James%20Brown?lang=en
2019-03-27 22:42:02,963 (30010fd4f0) :  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:42:02,972 (30010fd4f0) :  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:42:03,007 (30010fd4f0) :  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:42:03,193 (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:42:03,195 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:42:03,196 (300052d4f0) :  DEBUG (runtime:924) - Response: [404] NoneType, 0 bytes
2019-03-27 22:42:04,016 (30010fd4f0) :  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:42:04,055 (30010fd4f0) :  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:42:05,059 (30010fd4f0) :  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:42:05,062 (30010fd4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:42:05,063 (30010fd4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:42:05,080 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vSmFtZXMlMjBCcm93bj9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:42:05,082 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:42:05,085 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vSmFtZXMlMjBCcm93bj9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:42:05,087 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:42:05,087 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:42:07,965 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDYKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0phbWlyb3F1YWk%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM5NjU0czIKaWRyMAo_
2019-03-27 22:42:07,967 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:42:07,970 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDYKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0phbWlyb3F1YWk@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM5NjU0czIKaWRyMAo_
2019-03-27 22:42:07,971 (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:42:07,972 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/39654/tree'
2019-03-27 22:42:08,005 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Jamiroquai?lang=en
2019-03-27 22:42:08,006 (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:42:08,020 (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:42:08,069 (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:42:09,077 (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:42:09,116 (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:42:09,534 (30010fd4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzMzkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0plbT9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzk0MjdzMgppZHIwCg__
2019-03-27 22:42:09,536 (30010fd4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:42:09,539 (30010fd4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzMzkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0plbT9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzk0MjdzMgppZHIwCg__
2019-03-27 22:42:09,539 (30010fd4f0) :  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:42:09,540 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/39427/tree'
2019-03-27 22:42:09,562 (30010fd4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Jem?lang=en
2019-03-27 22:42:09,563 (30010fd4f0) :  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:42:09,572 (30010fd4f0) :  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:42:09,613 (30010fd4f0) :  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:42:10,124 (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:42:10,127 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:42:10,128 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:42:10,145 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Ngpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vSmFtaXJvcXVhaT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:42:10,147 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:42:10,149 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Ngpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vSmFtaXJvcXVhaT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:42:10,151 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:42:10,151 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:42:10,621 (30010fd4f0) :  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:42:10,659 (30010fd4f0) :  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:42:11,667 (30010fd4f0) :  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:42:11,670 (30010fd4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:42:11,671 (30010fd4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:42:11,689 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXMzOQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vSmVtP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:42:11,691 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:42:11,693 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXMzOQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vSmVtP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:42:11,695 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:42:11,696 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:42:15,891 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTcKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0plYW4lMjBNaWNoZWwlMjBKYXJyZT9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzk2MDlzMgppZHIwCg__
2019-03-27 22:42:15,893 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:42:15,896 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTcKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0plYW4lMjBNaWNoZWwlMjBKYXJyZT9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzk2MDlzMgppZHIwCg__
2019-03-27 22:42:15,897 (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:42:15,898 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/39609/tree'
2019-03-27 22:42:15,932 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Jean%20Michel%20Jarre?lang=en
2019-03-27 22:42:15,933 (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:42:15,943 (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:42:16,040 (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:42:16,608 (30010fd4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0pvaG4lMjBMZWdlbmQ%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM5NDk1czIKaWRyMAo_
2019-03-27 22:42:16,609 (30010fd4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:42:16,612 (30010fd4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0pvaG4lMjBMZWdlbmQ@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM5NDk1czIKaWRyMAo_
2019-03-27 22:42:16,613 (30010fd4f0) :  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:42:16,614 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/39495/tree'
2019-03-27 22:42:16,640 (30010fd4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://John%20Legend?lang=en
2019-03-27 22:42:16,641 (30010fd4f0) :  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:42:16,650 (30010fd4f0) :  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:42:16,690 (30010fd4f0) :  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:42:17,047 (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:42:17,087 (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:42:17,183 (30011fb4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0p1c3RpbiUyMFRpbWJlcmxha2U%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM5Mzk3czIKaWRyMAo_
2019-03-27 22:42:17,184 (30011fb4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:42:17,187 (30011fb4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0p1c3RpbiUyMFRpbWJlcmxha2U@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM5Mzk3czIKaWRyMAo_
2019-03-27 22:42:17,188 (30011fb4f0) :  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:42:17,188 (30011fb4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/39397/tree'
2019-03-27 22:42:17,212 (30011fb4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Justin%20Timberlake?lang=en
2019-03-27 22:42:17,213 (30011fb4f0) :  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:42:17,226 (30011fb4f0) :  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:42:17,271 (30011fb4f0) :  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:42:17,699 (30010fd4f0) :  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:42:17,736 (30010fd4f0) :  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:42:18,095 (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:42:18,098 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:42:18,099 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:42:18,116 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Nwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vSmVhbiUyME1pY2hlbCUyMEphcnJlP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:42:18,118 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:42:18,120 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Nwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vSmVhbiUyME1pY2hlbCUyMEphcnJlP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:42:18,122 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:42:18,123 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:42:18,279 (30011fb4f0) :  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:42:18,318 (30011fb4f0) :  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:42:18,745 (30010fd4f0) :  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:42:18,748 (30010fd4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:42:18,748 (30010fd4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:42:18,765 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vSm9obiUyMExlZ2VuZD9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:42:18,767 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:42:18,770 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vSm9obiUyMExlZ2VuZD9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:42:18,772 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:42:18,773 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:42:19,324 (30011fb4f0) :  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:42:19,326 (30011fb4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:42:19,327 (30011fb4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:42:19,347 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1NQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vSnVzdGluJTIwVGltYmVybGFrZT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:42:19,349 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:42:19,351 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1NQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vSnVzdGluJTIwVGltYmVybGFrZT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:42:19,353 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:42:19,353 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:42:26,316 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDgKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0thdHklMjBQZXJyeT9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzk1NTJzMgppZHIwCg__
2019-03-27 22:42:26,318 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:42:26,321 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDgKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0thdHklMjBQZXJyeT9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzk1NTJzMgppZHIwCg__
2019-03-27 22:42:26,322 (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:42:26,323 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/39552/tree'
2019-03-27 22:42:26,353 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Katy%20Perry?lang=en
2019-03-27 22:42:26,354 (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:42:26,363 (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:42:26,405 (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:42:27,412 (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:42:27,456 (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:42:28,463 (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:42:28,466 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:42:28,467 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:42:28,484 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vS2F0eSUyMFBlcnJ5P2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:42:28,486 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:42:28,488 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vS2F0eSUyMFBlcnJ5P2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:42:28,491 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:42:28,491 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:42:29,443 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0thdGllJTIwTWVsdWE%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM5NTEzczIKaWRyMAo_
2019-03-27 22:42:29,445 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:42:29,447 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0thdGllJTIwTWVsdWE@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM5NTEzczIKaWRyMAo_
2019-03-27 22:42:29,448 (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:42:29,449 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/39513/tree'
2019-03-27 22:42:29,486 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Katie%20Melua?lang=en
2019-03-27 22:42:29,487 (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:42:29,500 (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:42:29,540 (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:42:30,548 (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:42:30,587 (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:42:31,070 (30010fd4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0tlYW5lP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozOTQ1NXMyCmlkcjAK
2019-03-27 22:42:31,072 (30010fd4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:42:31,074 (30010fd4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0tlYW5lP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozOTQ1NXMyCmlkcjAK
2019-03-27 22:42:31,075 (30010fd4f0) :  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:42:31,076 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/39455/tree'
2019-03-27 22:42:31,115 (30010fd4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Keane?lang=en
2019-03-27 22:42:31,116 (30010fd4f0) :  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:42:31,127 (30010fd4f0) :  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:42:31,166 (30010fd4f0) :  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:42:31,596 (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:42:31,599 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:42:31,599 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:42:31,616 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vS2F0aWUlMjBNZWx1YT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:42:31,618 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:42:31,620 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vS2F0aWUlMjBNZWx1YT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:42:31,622 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:42:31,623 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:42:32,173 (30010fd4f0) :  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:42:32,197 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTIKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0tlbGx5JTIwQ2xhcmtzb24%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM5NDEzczIKaWRyMAo_
2019-03-27 22:42:32,199 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:42:32,201 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTIKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0tlbGx5JTIwQ2xhcmtzb24@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM5NDEzczIKaWRyMAo_
2019-03-27 22:42:32,202 (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:42:32,203 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/39413/tree'
2019-03-27 22:42:32,212 (30010fd4f0) :  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:42:32,231 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Kelly%20Clarkson?lang=en
2019-03-27 22:42:32,232 (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:42:32,255 (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:42:32,296 (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:42:33,220 (30010fd4f0) :  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:42:33,223 (30010fd4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:42:33,224 (30010fd4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:42:33,244 (30010fd4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vS2VhbmU%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:42:33,245 (30010fd4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:42:33,248 (30010fd4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vS2VhbmU@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:42:33,250 (30010fd4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:42:33,251 (30010fd4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:42:33,305 (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:42:33,347 (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:42:34,355 (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:42:34,358 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:42:34,359 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:42:34,376 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mgpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vS2VsbHklMjBDbGFya3Nvbj9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:42:34,378 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:42:34,380 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mgpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vS2VsbHklMjBDbGFya3Nvbj9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:42:34,383 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:42:34,384 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:42:35,068 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTMKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0tpbmdzJTIwb2YlMjBMZW9uP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozOTQ0MHMyCmlkcjAK
2019-03-27 22:42:35,070 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:42:35,073 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTMKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0tpbmdzJTIwb2YlMjBMZW9uP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozOTQ0MHMyCmlkcjAK
2019-03-27 22:42:35,074 (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:42:35,075 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/39440/tree'
2019-03-27 22:42:35,099 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Kings%20of%20Leon?lang=en
2019-03-27 22:42:35,100 (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:42:35,111 (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:42:35,150 (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:42:36,159 (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:42:36,200 (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:42:37,209 (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:42:37,211 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:42:37,212 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:42:37,229 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vS2luZ3MlMjBvZiUyMExlb24%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:42:37,231 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:42:37,234 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vS2luZ3MlMjBvZiUyMExlb24@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:42:37,237 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:42:37,237 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:42:41,127 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0xhdXJ5biUyMEhpbGw%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM5MTU5czIKaWRyMAo_
2019-03-27 22:42:41,129 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:42:41,131 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0xhdXJ5biUyMEhpbGw@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM5MTU5czIKaWRyMAo_
2019-03-27 22:42:41,132 (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:42:41,133 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/39159/tree'
2019-03-27 22:42:41,160 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Lauryn%20Hill?lang=en
2019-03-27 22:42:41,161 (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:42:41,180 (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:42:41,219 (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:42:42,228 (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:42:42,271 (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:42:43,094 (30010fd4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0xlbWFyP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozOTIwN3MyCmlkcjAK
2019-03-27 22:42:43,096 (30010fd4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:42:43,098 (30010fd4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0xlbWFyP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozOTIwN3MyCmlkcjAK
2019-03-27 22:42:43,099 (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:42:43,100 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/39207/tree'
2019-03-27 22:42:43,122 (30010fd4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Lemar?lang=en
2019-03-27 22:42:43,123 (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:42:43,135 (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:42:43,175 (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:42:43,278 (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:42:43,281 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:42:43,282 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:42:43,299 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTGF1cnluJTIwSGlsbD9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:42:43,301 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:42:43,303 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTGF1cnluJTIwSGlsbD9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:42:43,305 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:42:43,306 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:42:44,183 (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:42:44,230 (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:42:45,239 (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:42:45,242 (30010fd4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:42:45,242 (30010fd4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:42:45,260 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTGVtYXI%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:42:45,262 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:42:45,264 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTGVtYXI@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:42:45,267 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:42:45,268 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:42:48,613 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDcKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0xpYmVydHklMjBYP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozOTIyNHMyCmlkcjAK
2019-03-27 22:42:48,615 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:42:48,617 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDcKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0xpYmVydHklMjBYP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozOTIyNHMyCmlkcjAK
2019-03-27 22:42:48,618 (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:42:48,619 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/39224/tree'
2019-03-27 22:42:48,641 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Liberty%20X?lang=en
2019-03-27 22:42:48,642 (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:42:48,663 (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:42:48,705 (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:42:49,712 (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:42:49,763 (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:42:50,771 (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:42:50,775 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:42:50,775 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:42:50,792 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Nwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTGliZXJ0eSUyMFg%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:42:50,794 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:42:50,796 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Nwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTGliZXJ0eSUyMFg@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:42:50,798 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:42:50,799 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:42:54,308 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0xpZ2h0aG91c2UlMjBGYW1pbHk%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM5MTc3czIKaWRyMAo_
2019-03-27 22:42:54,310 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:42:54,313 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0xpZ2h0aG91c2UlMjBGYW1pbHk@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM5MTc3czIKaWRyMAo_
2019-03-27 22:42:54,314 (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:42:54,315 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/39177/tree'
2019-03-27 22:42:54,345 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Lighthouse%20Family?lang=en
2019-03-27 22:42:54,346 (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:42:54,359 (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:42:54,405 (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:42:55,413 (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:42:55,451 (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:42:56,024 (30010fd4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDYKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0xvdSUyMEJlZ2E%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM5MDk2czIKaWRyMAo_
2019-03-27 22:42:56,026 (30010fd4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:42:56,029 (30010fd4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDYKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0xvdSUyMEJlZ2E@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM5MDk2czIKaWRyMAo_
2019-03-27 22:42:56,030 (30010fd4f0) :  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:42:56,030 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/39096/tree'
2019-03-27 22:42:56,052 (30010fd4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Lou%20Bega?lang=en
2019-03-27 22:42:56,053 (30010fd4f0) :  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:42:56,062 (30010fd4f0) :  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:42:56,100 (30010fd4f0) :  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:42:56,459 (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:42:56,462 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:42:56,462 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:42:56,481 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1NQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTGlnaHRob3VzZSUyMEZhbWlseT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:42:56,483 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:42:56,485 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1NQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTGlnaHRob3VzZSUyMEZhbWlseT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:42:56,487 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:42:56,488 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:42:57,107 (30010fd4f0) :  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:42:57,145 (30010fd4f0) :  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:42:58,154 (30010fd4f0) :  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:42:58,156 (30010fd4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:42:58,157 (30010fd4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:42:58,176 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Ngpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTG91JTIwQmVnYT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:42:58,178 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:42:58,180 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Ngpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTG91JTIwQmVnYT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:42:58,182 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:42:58,183 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:43:02,967 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDYKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0xvdSUyMFJlZWQ%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM5MTI3czIKaWRyMAo_
2019-03-27 22:43:02,970 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:43:02,973 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDYKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0xvdSUyMFJlZWQ@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM5MTI3czIKaWRyMAo_
2019-03-27 22:43:02,974 (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:43:02,975 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/39127/tree'
2019-03-27 22:43:02,999 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Lou%20Reed?lang=en
2019-03-27 22:43:03,000 (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:43:03,008 (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:43:03,048 (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:43:03,604 (30010fd4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDcKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL01hY3klMjBHcmF5P2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozOTE0N3MyCmlkcjAK
2019-03-27 22:43:03,605 (30010fd4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:43:03,610 (30010fd4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDcKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL01hY3klMjBHcmF5P2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozOTE0N3MyCmlkcjAK
2019-03-27 22:43:03,611 (30010fd4f0) :  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:43:03,612 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/39147/tree'
2019-03-27 22:43:03,630 (30010fd4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Macy%20Gray?lang=en
2019-03-27 22:43:03,631 (30010fd4f0) :  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:43:03,641 (30010fd4f0) :  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:43:03,683 (30010fd4f0) :  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:43:04,057 (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:43:04,097 (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:43:04,691 (30010fd4f0) :  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:43:04,732 (30010fd4f0) :  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:43:05,103 (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:43:05,106 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:43:05,107 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:43:05,124 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Ngpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTG91JTIwUmVlZD9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:43:05,126 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:43:05,128 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Ngpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTG91JTIwUmVlZD9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:43:05,130 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:43:05,131 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:43:05,739 (30010fd4f0) :  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:43:05,742 (30010fd4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:43:05,743 (30010fd4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:43:05,761 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Nwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTWFjeSUyMEdyYXk%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:43:05,763 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:43:05,765 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Nwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTWFjeSUyMEdyYXk@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:43:05,768 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:43:05,769 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:43:12,404 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL01hcmlsbGlvbj9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzkxMTFzMgppZHIwCg__
2019-03-27 22:43:12,405 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:43:12,408 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL01hcmlsbGlvbj9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzkxMTFzMgppZHIwCg__
2019-03-27 22:43:12,409 (300052d4f0) :  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:43:12,410 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/39111/tree'
2019-03-27 22:43:12,432 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Marillion?lang=en
2019-03-27 22:43:12,433 (300052d4f0) :  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:43:12,450 (300052d4f0) :  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:43:12,582 (300052d4f0) :  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:43:13,001 (30010fd4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0t5bGllJTIwTWlub2d1ZT9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzkyNDBzMgppZHIwCg__
2019-03-27 22:43:13,003 (30010fd4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:43:13,006 (30010fd4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL0t5bGllJTIwTWlub2d1ZT9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzkyNDBzMgppZHIwCg__
2019-03-27 22:43:13,006 (30010fd4f0) :  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:43:13,008 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/39240/tree'
2019-03-27 22:43:13,131 (30010fd4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Kylie%20Minogue?lang=en
2019-03-27 22:43:13,132 (30010fd4f0) :  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:43:13,149 (30010fd4f0) :  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:43:13,188 (30010fd4f0) :  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:43:13,591 (300052d4f0) :  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:43:13,630 (300052d4f0) :  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:43:14,193 (30010fd4f0) :  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:43:14,233 (30010fd4f0) :  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:43:14,636 (300052d4f0) :  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:43:14,638 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:43:14,639 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:43:14,657 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0NQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTWFyaWxsaW9uP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:43:14,658 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:43:14,660 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0NQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTWFyaWxsaW9uP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:43:14,663 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:43:14,663 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:43:15,241 (30010fd4f0) :  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:43:15,246 (30010fd4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:43:15,246 (30010fd4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:43:15,263 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vS3lsaWUlMjBNaW5vZ3VlP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:43:15,265 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:43:15,267 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vS3lsaWUlMjBNaW5vZ3VlP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:43:15,269 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:43:15,269 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:43:19,433 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTIKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL01hc3NpdmUlMjBBdHRhY2s%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM4ODE0czIKaWRyMAo_
2019-03-27 22:43:19,435 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:43:19,438 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTIKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL01hc3NpdmUlMjBBdHRhY2s@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM4ODE0czIKaWRyMAo_
2019-03-27 22:43:19,438 (300052d4f0) :  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:43:19,439 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/38814/tree'
2019-03-27 22:43:19,460 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Massive%20Attack?lang=en
2019-03-27 22:43:19,461 (300052d4f0) :  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:43:19,477 (300052d4f0) :  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:43:19,524 (300052d4f0) :  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:43:19,938 (30010fd4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTIKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL01lZ2hhbiUyMFRyYWlub3I%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM4OTE2czIKaWRyMAo_
2019-03-27 22:43:19,940 (30010fd4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:43:19,942 (30010fd4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTIKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL01lZ2hhbiUyMFRyYWlub3I@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM4OTE2czIKaWRyMAo_
2019-03-27 22:43:19,943 (30010fd4f0) :  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:43:19,944 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/38916/tree'
2019-03-27 22:43:19,964 (30010fd4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Meghan%20Trainor?lang=en
2019-03-27 22:43:19,965 (30010fd4f0) :  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:43:19,975 (30010fd4f0) :  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:43:20,016 (30010fd4f0) :  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:43:20,530 (300052d4f0) :  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:43:20,574 (300052d4f0) :  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:43:21,024 (30010fd4f0) :  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:43:21,064 (30010fd4f0) :  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:43:21,578 (300052d4f0) :  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:43:21,581 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:43:21,582 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:43:21,599 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mgpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTWFzc2l2ZSUyMEF0dGFjaz9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:43:21,601 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:43:21,603 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mgpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTWFzc2l2ZSUyMEF0dGFjaz9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:43:21,605 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:43:21,606 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:43:22,072 (30010fd4f0) :  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:43:22,075 (30010fd4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:43:22,075 (30010fd4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:43:22,095 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mgpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTWVnaGFuJTIwVHJhaW5vcj9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:43:22,097 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:43:22,099 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mgpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTWVnaGFuJTIwVHJhaW5vcj9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:43:22,102 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:43:22,102 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:43:22,863 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDMKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL01hZG9ubmE%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM5MDIzczIKaWRyMAo_
2019-03-27 22:43:22,865 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:43:22,868 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDMKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL01hZG9ubmE@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM5MDIzczIKaWRyMAo_
2019-03-27 22:43:22,869 (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:43:22,870 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/39023/tree'
2019-03-27 22:43:22,936 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Madonna?lang=en
2019-03-27 22:43:22,937 (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:43:22,946 (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:43:22,989 (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:43:23,997 (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:43:24,039 (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:43:25,047 (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:43:25,051 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:43:25,052 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:43:25,070 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Mwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTWFkb25uYT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:43:25,072 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:43:25,074 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Mwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTWFkb25uYT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:43:25,076 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:43:25,077 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:43:29,747 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL01pa2E%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM4OTU3czIKaWRyMAo_
2019-03-27 22:43:29,749 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:43:29,752 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL01pa2E@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM4OTU3czIKaWRyMAo_
2019-03-27 22:43:29,753 (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:43:29,754 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/38957/tree'
2019-03-27 22:43:29,776 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Mika?lang=en
2019-03-27 22:43:29,777 (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:43:29,785 (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:43:29,833 (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:43:30,407 (30010fd4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTYKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL01pY2hhZWwlMjBCdWJsJUMzJUE4P2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozODkyN3MyCmlkcjAK
2019-03-27 22:43:30,409 (30010fd4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:43:30,411 (30010fd4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTYKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL01pY2hhZWwlMjBCdWJsJUMzJUE4P2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozODkyN3MyCmlkcjAK
2019-03-27 22:43:30,412 (30010fd4f0) :  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:43:30,413 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/38927/tree'
2019-03-27 22:43:30,443 (30010fd4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Michael%20Bubl%C3%A8?lang=en
2019-03-27 22:43:30,448 (30010fd4f0) :  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:43:30,475 (30010fd4f0) :  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:43:30,509 (30010fd4f0) :  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:43:30,841 (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:43:30,877 (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:43:31,517 (30010fd4f0) :  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:43:31,554 (30010fd4f0) :  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:43:31,887 (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:43:31,890 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:43:31,890 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:43:31,908 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTWlrYT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:43:31,910 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:43:31,912 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTWlrYT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:43:31,914 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:43:31,915 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:43:32,562 (30010fd4f0) :  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:43:32,566 (30010fd4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:43:32,566 (30010fd4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:43:32,587 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Ngpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTWljaGFlbCUyMEJ1YmwlQzMlQTg%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:43:32,589 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:43:32,591 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Ngpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTWljaGFlbCUyMEJ1YmwlQzMlQTg@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:43:32,614 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:43:32,614 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:43:33,856 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTMKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL01pY2hhZWwlMjBKYWNrc29uP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozODgyNXMyCmlkcjAK
2019-03-27 22:43:33,858 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:43:33,860 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTMKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL01pY2hhZWwlMjBKYWNrc29uP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozODgyNXMyCmlkcjAK
2019-03-27 22:43:33,861 (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:43:33,865 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/38825/tree'
2019-03-27 22:43:33,911 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Michael%20Jackson?lang=en
2019-03-27 22:43:33,912 (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:43:33,921 (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:43:33,964 (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:43:34,972 (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:43:35,012 (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:43:36,019 (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:43:36,023 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:43:36,023 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:43:36,042 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTWljaGFlbCUyMEphY2tzb24%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:43:36,044 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:43:36,046 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTWljaGFlbCUyMEphY2tzb24@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:43:36,049 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:43:36,049 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:43:36,785 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL01pa2UlMjBPbGRmaWVsZD9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzg3OThzMgppZHIwCg__
2019-03-27 22:43:36,786 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:43:36,789 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTEKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL01pa2UlMjBPbGRmaWVsZD9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzg3OThzMgppZHIwCg__
2019-03-27 22:43:36,790 (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:43:36,794 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/38798/tree'
2019-03-27 22:43:36,815 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Mike%20Oldfield?lang=en
2019-03-27 22:43:36,816 (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:43:36,826 (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:43:36,867 (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:43:37,875 (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:43:37,913 (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:43:38,920 (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:43:38,923 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:43:38,924 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:43:38,941 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTWlrZSUyME9sZGZpZWxkP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:43:38,943 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:43:38,945 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1MQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTWlrZSUyME9sZGZpZWxkP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:43:38,948 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:43:38,949 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:43:42,803 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL01vYnk%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM4OTcwczIKaWRyMAo_
2019-03-27 22:43:42,805 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:43:42,808 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDAKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL01vYnk@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM4OTcwczIKaWRyMAo_
2019-03-27 22:43:42,809 (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:43:42,810 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/38970/tree'
2019-03-27 22:43:42,879 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Moby?lang=en
2019-03-27 22:43:42,880 (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:43:42,890 (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:43:42,932 (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:43:43,486 (30010fd4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL05vaXNldHRlcz9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzg3NTVzMgppZHIwCg__
2019-03-27 22:43:43,488 (30010fd4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:43:43,491 (30010fd4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL05vaXNldHRlcz9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbXMxMwpwcmltYXJ5X2FnZW50czUKMzg3NTVzMgppZHIwCg__
2019-03-27 22:43:43,492 (30010fd4f0) :  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:43:43,493 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/38755/tree'
2019-03-27 22:43:43,514 (30010fd4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Noisettes?lang=en
2019-03-27 22:43:43,515 (30010fd4f0) :  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:43:43,523 (30010fd4f0) :  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:43:43,563 (30010fd4f0) :  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:43:43,939 (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:43:43,983 (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:43:44,571 (30010fd4f0) :  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:43:44,610 (30010fd4f0) :  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:43:44,988 (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:43:44,991 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:43:44,991 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:43:45,009 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTW9ieT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:43:45,012 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:43:45,014 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0MApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTW9ieT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:43:45,016 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:43:45,017 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:43:45,617 (30010fd4f0) :  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:43:45,620 (30010fd4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:43:45,621 (30010fd4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:43:45,639 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0NQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTm9pc2V0dGVzP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:43:45,640 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:43:45,642 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0NQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTm9pc2V0dGVzP2xhbmc9ZW5zNApndWlkcjAK
2019-03-27 22:43:45,644 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:43:45,645 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:43:46,066 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL05hdGFsaWUlMjBJbWJydWdsaWE%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM4ODc0czIKaWRyMAo_
2019-03-27 22:43:46,068 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:43:46,070 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTUKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL05hdGFsaWUlMjBJbWJydWdsaWE@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM4ODc0czIKaWRyMAo_
2019-03-27 22:43:46,071 (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:43:46,073 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/38874/tree'
2019-03-27 22:43:46,110 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Natalie%20Imbruglia?lang=en
2019-03-27 22:43:46,111 (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:43:46,119 (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:43:46,164 (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:43:47,171 (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:43:47,206 (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:43:48,211 (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:43:48,214 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:43:48,215 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:43:48,233 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1NQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTmF0YWxpZSUyMEltYnJ1Z2xpYT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:43:48,235 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:43:48,237 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1NQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTmF0YWxpZSUyMEltYnJ1Z2xpYT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:43:48,240 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:43:48,240 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:43:50,516 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTgKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL09jZWFuJTIwQ29sb3VyJTIwU2NlbmU%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM4NzQxczIKaWRyMAo_
2019-03-27 22:43:50,518 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:43:50,520 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTgKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL09jZWFuJTIwQ29sb3VyJTIwU2NlbmU@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM4NzQxczIKaWRyMAo_
2019-03-27 22:43:50,521 (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:43:50,522 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/38741/tree'
2019-03-27 22:43:50,545 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Ocean%20Colour%20Scene?lang=en
2019-03-27 22:43:50,546 (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:43:50,557 (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:43:50,596 (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:43:51,603 (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:43:51,644 (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:43:52,652 (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:43:52,655 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:43:52,655 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:43:52,673 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1OApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vT2NlYW4lMjBDb2xvdXIlMjBTY2VuZT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:43:52,675 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:43:52,677 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1OApjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vT2NlYW4lMjBDb2xvdXIlMjBTY2VuZT9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:43:52,679 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:43:52,680 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:43:53,434 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL05vcmFoJTIwSm9uZXM%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM4NzY4czIKaWRyMAo_
2019-03-27 22:43:53,436 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:43:53,439 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDkKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL05vcmFoJTIwSm9uZXM@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM4NzY4czIKaWRyMAo_
2019-03-27 22:43:53,440 (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:43:53,441 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/38768/tree'
2019-03-27 22:43:53,476 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Norah%20Jones?lang=en
2019-03-27 22:43:53,477 (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:43:53,497 (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:43:53,543 (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:43:54,552 (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:43:54,590 (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:43:55,597 (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:43:55,600 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:43:55,600 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:43:55,618 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTm9yYWglMjBKb25lcz9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:43:55,620 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:43:55,622 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0OQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vTm9yYWglMjBKb25lcz9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:43:55,624 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:43:55,624 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:43:59,936 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTMKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1VuLWtub3duJTIwYXJ0aXN0P2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozNjcxOXMyCmlkcjAK
2019-03-27 22:43:59,938 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:43:59,940 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTMKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1VuLWtub3duJTIwYXJ0aXN0P2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozNjcxOXMyCmlkcjAK
2019-03-27 22:43:59,941 (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 22:43:59,942 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/36719/tree'
2019-03-27 22:43:59,968 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Un-known%20artist?lang=en
2019-03-27 22:43:59,969 (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 22:43:59,976 (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 22:44:00,031 (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 22:44:01,035 (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 22:44:01,073 (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 22:44:01,980 (30010fd4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDMKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL091dEthc3Q%40bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM4Njk5czIKaWRyMAo_
2019-03-27 22:44:01,982 (30010fd4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:44:01,984 (30010fd4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNDMKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL091dEthc3Q@bGFuZz1lbnM0Cmd1aWRiMXM1CmZvcmNlczI1CmNvbS5wbGV4YXBwLmFnZW50cy5sYXN0Zm1zMTMKcHJpbWFyeV9hZ2VudHM1CjM4Njk5czIKaWRyMAo_
2019-03-27 22:44:01,985 (30010fd4f0) :  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:44:01,986 (30010fd4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/38699/tree'
2019-03-27 22:44:02,029 (30010fd4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://OutKast?lang=en
2019-03-27 22:44:02,030 (30010fd4f0) :  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:44:02,039 (30010fd4f0) :  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:44:02,080 (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 22:44:02,083 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:44:02,084 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:44:02,088 (30010fd4f0) :  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:44:02,102 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vVW4ta25vd24lMjBhcnRpc3Q%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:44:02,104 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:44:02,106 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vVW4ta25vd24lMjBhcnRpc3Q@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:44:02,108 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:44:02,109 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:44:03,095 (30010fd4f0) :  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:44:03,134 (30010fd4f0) :  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:44:04,140 (30010fd4f0) :  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:44:04,143 (30010fd4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:44:04,144 (30010fd4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:44:04,162 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Mwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vT3V0S2FzdD9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:44:04,163 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:44:04,166 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM0Mwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vT3V0S2FzdD9sYW5nPWVuczQKZ3VpZHIwCg__
2019-03-27 22:44:04,168 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:44:04,168 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:44:36,356 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTMKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1ZhcmlvdXMlMjBBcnRpc3RzP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozNzI1NnMyCmlkcjAK
2019-03-27 22:44:36,358 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2019-03-27 22:44:36,360 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTMKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1ZhcmlvdXMlMjBBcnRpc3RzP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNQozNzI1NnMyCmlkcjAK
2019-03-27 22:44:36,361 (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 22:44:36,362 (300052d4f0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/37256/tree'
2019-03-27 22:44:36,535 (300052d4f0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Various%20Artists?lang=en
2019-03-27 22:44:36,536 (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 22:44:36,544 (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 22:44:36,582 (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 22:44:37,587 (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 22:44:37,632 (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 22:44:38,638 (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 22:44:38,644 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2019-03-27 22:44:38,644 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2019-03-27 22:44:38,662 (300052d4f0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vVmFyaW91cyUyMEFydGlzdHM%40bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:44:38,664 (300052d4f0) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-27 22:44:38,666 (300052d4f0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vVmFyaW91cyUyMEFydGlzdHM@bGFuZz1lbnM0Cmd1aWRyMAo_
2019-03-27 22:44:38,668 (300052d4f0) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2019-03-27 22:44:38,668 (300052d4f0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
