2018-10-22 21:39:58,243 (142c) :  INFO (core:349) - Starting framework core - Version: 2.6.3, Build: 10d48da (Fri Sep 21 03:46:16 UTC 2018)
2018-10-22 21:39:58,243 (142c) :  DEBUG (core:361) - Using the standard policy
2018-10-22 21:39:58,244 (142c) :  DEBUG (core:450) - Starting runtime component.
2018-10-22 21:39:58,255 (142c) :  DEBUG (core:450) - Starting caching component.
2018-10-22 21:39:58,255 (142c) :  DEBUG (core:450) - Starting data component.
2018-10-22 21:39:58,255 (142c) :  DEBUG (core:450) - Starting networking component.
2018-10-22 21:39:58,255 (142c) :  DEBUG (networking:284) - Loaded HTTP cookies
2018-10-22 21:39:58,318 (142c) :  DEBUG (networking:452) - Setting the default network timeout to 20.0
2018-10-22 21:39:58,318 (142c) :  DEBUG (core:450) - Starting localization component.
2018-10-22 21:39:58,318 (142c) :  INFO (localization:409) - Setting the default locale to en-us
2018-10-22 21:39:58,318 (142c) :  DEBUG (core:450) - Starting messaging component.
2018-10-22 21:39:58,318 (142c) :  DEBUG (core:450) - Starting debugging component.
2018-10-22 21:39:58,318 (142c) :  DEBUG (core:450) - Starting services component.
2018-10-22 21:39:58,318 (142c) :  DEBUG (core:450) - Starting myplex component.
2018-10-22 21:39:58,318 (142c) :  DEBUG (core:450) - Starting notifications component.
2018-10-22 21:39:58,332 (14f4) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/system/messaging/clear_events/com.plexapp.agents.htbackdrops'
2018-10-22 21:39:58,505 (142c) :  DEBUG (accessor:68) - Creating a new model access point for provider com.plexapp.agents.htbackdrops in namespace 'metadata'
2018-10-22 21:39:58,520 (142c) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/resourceHashes'
2018-10-22 21:39:58,552 (142c) :  DEBUG (runtime:1117) - Created a thread named 'load_all_services'
2018-10-22 21:39:58,552 (2ae4) :  DEBUG (services:265) - Plug-in is not daemonized - loading services from system
2018-10-22 21:39:58,556 (142c) :  DEBUG (runtime:1117) - Created a thread named 'get_server_info'
2018-10-22 21:39:58,568 (142c) :  DEBUG (core:150) - Finished starting framework core
2018-10-22 21:39:58,568 (142c) :  DEBUG (core:560) - Loading plug-in code
2018-10-22 21:39:58,568 (1020) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400'
2018-10-22 21:39:58,568 (2ae4) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X0J1bmRsZVNlcnZpY2U6QWxsU2VydmljZXM_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMApyMAo_'
2018-10-22 21:39:58,571 (1020) :  DEBUG (core:538) - Machine identifier is 7e0d395b9e4a10d7fb39e3151eecdf3274164576
2018-10-22 21:39:58,571 (1020) :  DEBUG (core:539) - Server version is 1.13.8.5395-10d48da0d
2018-10-22 21:39:58,630 (142c) :  DEBUG (core:566) - Finished loading plug-in code
2018-10-22 21:39:58,630 (142c) :  DEBUG (messaging:69) - Exposing function ArtistSearch for remote access
2018-10-22 21:39:58,630 (142c) :  DEBUG (agentkit:1115) - Creating new agent class called HTBDAgent
2018-10-22 21:39:58,648 (142c) :  DEBUG (agentkit:933) - Updating agent information: [{'media_types': ['Artist'], 'accepts_from': None, 'fallback_agent': None, 'contributes_to': ['com.plexapp.agents.lastfm'], 'languages': ['ab', 'aa', 'af', 'ak', 'sq', 'am', 'ar', 'an', 'hy', 'as', 'av', 'ae', 'ay', 'az', 'bm', 'ba', 'eu', 'be', 'bn', 'bh', 'bi', 'bs', 'pb', 'br', 'bg', 'my', 'ca', 'ch', 'ce', 'ny', 'zh', 'cu', 'cv', 'kw', 'co', 'cr', 'hr', 'cs', 'da', 'dv', 'nl', 'dz', 'en', 'eo', 'et', 'ee', 'fo', 'fj', 'fi', 'fr', 'fy', 'ff', 'gd', 'gl', 'lg', 'ka', 'de', 'el', 'gn', 'gu', 'ht', 'ha', 'he', 'hz', 'hi', 'ho', 'hu', 'is', 'io', 'ig', 'id', 'ia', 'ie', 'iu', 'ik', 'ga', 'it', 'ja', 'jv', 'kl', 'kn', 'kr', 'ks', 'kk', 'km', 'ki', 'rw', 'ky', 'kv', 'kg', 'ko', 'kj', 'ku', 'lo', 'la', 'lv', 'li', 'ln', 'lt', 'lu', 'lb', 'mk', 'mg', 'ms', 'ml', 'mt', 'gv', 'mi', 'mr', 'mh', 'mo', 'mn', 'na', 'nv', 'ng', 'ne', 'xn', 'nd', 'no', 'nb', 'nn', 'oc', 'oj', 'or', 'om', 'os', 'pi', 'pa', 'fa', 'pl', 'pt', 'ps', 'qu', 'rm', 'ro', 'rn', 'ru', 'se', 'sm', 'sg', 'sa', 'sc', 'sr', 'sn', 'ii', 'sd', 'si', 'sk', 'sl', 'so', 'st', 'nr', 'es', 'su', 'sw', 'ss', 'sv', 'tl', 'ty', 'tg', 'ta', 'tt', 'te', 'th', 'bo', 'ti', 'to', 'ts', 'tn', 'tr', 'tk', 'tw', 'ug', 'uk', 'ur', 'uz', 've', 'vi', 'vo', 'wa', 'cy', 'wo', 'xh', 'yi', 'yo', 'za', 'zu'], 'persist_stored_files': True, 'version': 0, 'primary_provider': False, 'prefs': False, 'name': 'Home Theater Backdrops'}]
2018-10-22 21:39:58,693 (142c) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X0FnZW50U2VydmljZTpVcGRhdGVJbmZv/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQo2CmRpY3QKbGlzdApkaWN0Cmxpc3QKbGlzdApsaXN0CjIKczMwCmNvbS5wbGV4YXBwLmFnZW50cy5odGJhY2tkcm9wc3MxMAppZGVudGlmaWVycjEKczEwCmFnZW50X2luZm8xCnIyCjEwCnIzCnMxMQptZWRpYV90eXBlc25zMTIKYWNjZXB0c19mcm9tbnMxNApmYWxsYmFja19hZ2VudHI0CnMxNApjb250cmlidXRlc190b3I1CnM5Cmxhbmd1YWdlc2IxczIwCnBlcnNpc3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XMyCnNtczIKc2dzMgpzYXMyCnNjczIKc3JzMgpzbnMyCmlpczIKc2RzMgpzaXMyCnNrczIKc2xzMgpzb3MyCnN0czIKbnJzMgplc3MyCnN1czIKc3dzMgpzc3MyCnN2czIKdGxzMgp0eXMyCnRnczIKdGFzMgp0dHMyCnRlczIKdGhzMgpib3MyCnRpczIKdG9zMgp0c3MyCnRuczIKdHJzMgp0a3MyCnR3czIKdWdzMgp1a3MyCnVyczIKdXpzMgp2ZXMyCnZpczIKdm9zMgp3YXMyCmN5czIKd29zMgp4aHMyCnlpczIKeW9zMgp6YXMyCnp1cjAK'
2018-10-22 21:39:58,726 (142c) :  INFO (core:611) - Started plug-in
2018-10-22 21:39:58,726 (142c) :  DEBUG (socketinterface:160) - Starting socket server
2018-10-22 21:39:58,740 (142c) :  DEBUG (runtime:1117) - Created a thread named 'start'
2018-10-22 21:39:58,740 (142c) :  INFO (socketinterface:184) - Socket server started on port 64917
2018-10-22 21:39:58,740 (142c) :  INFO (pipeinterface:25) - Entering run loop
2018-10-22 21:39:58,740 (142c) :  DEBUG (runtime:717) - Handling request GET /:/prefixes
2018-10-22 21:39:58,755 (142c) :  DEBUG (runtime:814) - Found route matching /:/prefixes
2018-10-22 21:39:58,755 (142c) :  DEBUG (runtime:924) - Response: [200] MediaContainer, 155 bytes
2018-10-22 21:39:58,802 (2ae4) :  DEBUG (services:362) - Loaded services
2018-10-22 21:39:58,802 (21b0) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTMKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1ZhcmlvdXMlMjBBcnRpc3RzP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNgoxNzI1NzlzMgppZHIwCg__
2018-10-22 21:39:58,802 (21b0) :  DEBUG (runtime:49) - Received packed state data (556 bytes)
2018-10-22 21:39:58,832 (2ba4) :  DEBUG (services:438) - No shared code to load
2018-10-22 21:39:58,848 (21b0) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M2CkFydGlzdHMxMAptZWRpYV90eXBlNQpuczgKcGFyZW50SURzNTMKY29tLnBsZXhhcHAuYWdlbnRzLmxhc3RmbTovL1ZhcmlvdXMlMjBBcnRpc3RzP2xhbmc9ZW5zNApndWlkYjFzNQpmb3JjZXMyNQpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtczEzCnByaW1hcnlfYWdlbnRzNgoxNzI1NzlzMgppZHIwCg__
2018-10-22 21:39:58,848 (21b0) :  INFO (agentkit:957) - Searching for matches for {'id': '172579', 'guid': 'com.plexapp.agents.lastfm://Various%20Artists?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None}
2018-10-22 21:39:58,865 (21b0) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/172579/tree'
2018-10-22 21:39:58,898 (21b0) :  DEBUG (accessor:68) - Creating a new read-only model access point for provider com.plexapp.agents.lastfm in namespace 'metadata'
2018-10-22 21:39:58,911 (21b0) :  DEBUG (model:32) - Loading model with GUID com.plexapp.agents.lastfm://Various%20Artists?lang=en
2018-10-22 21:39:58,911 (21b0) :  DEBUG (model:234) - Deserializing from C:\Users\craig\AppData\Local\Plex Media Server\Metadata\Artists\c\5038b2eb1102b83f6ec48c3295dac0c1e7e057c.bundle\Contents\com.plexapp.agents.lastfm\Info.xml
2018-10-22 21:39:58,957 (21b0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=various+artists&default_operator=and&limit=50&aid=1,5'
2018-10-22 21:39:59,020 (21b0) :  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)
2018-10-22 21:40:00,055 (21b0) :  DEBUG (networking:166) - Requesting 'http://htbackdrops.plex.tv/api/15f8fe4ad7760d77c85e686eefafd26f/searchXML?keywords=various+artists&default_operator=and&limit=50&aid=1,5'
2018-10-22 21:40:00,088 (21b0) :  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)
2018-10-22 21:40:01,145 (21b0) :  CRITICAL (core:574) - Exception in the search function of agent named 'Home Theater Backdrops', called with keyword arguments {'id': '172579', 'guid': 'com.plexapp.agents.lastfm://Various%20Artists?lang=en', 'force': True, 'primary_agent': 'com.plexapp.agents.lastfm', 'parentID': None} (most recent call last):
  File "C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-10d48da0d\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\api\agentkit.py", line 1007, in _search
    agent.search(*f_args, **f_kwargs)
  File "C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-10d48da0d\HTbackdrops.bundle\Contents\Code\__init__.py", line 36, in search
    for artist_result in ArtistSearch(media.primary_metadata.title):
  File "C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-10d48da0d\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 "C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-10d48da0d\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\api\parsekit.py", line 345, in ElementFromURL
    ).content, encoding=encoding, max_size=max_size)
  File "C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-10d48da0d\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 "C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-10d48da0d\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

2018-10-22 21:40:01,145 (21b0) :  DEBUG (runtime:88) - Sending packed state data (587 bytes)
2018-10-22 21:40:01,145 (21b0) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
2018-10-22 21:40:01,161 (23dc) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vVmFyaW91cyUyMEFydGlzdHM%40bGFuZz1lbnM0Cmd1aWRyMAo_
2018-10-22 21:40:01,161 (23dc) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2018-10-22 21:40:01,161 (23dc) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.htbackdrops/messaging/function/X0FnZW50S2l0OkVyYXNlTWV0YWRhdGE_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMgpzNgpBcnRpc3RzMTAKbWVkaWFfdHlwZXM1Mwpjb20ucGxleGFwcC5hZ2VudHMubGFzdGZtOi8vVmFyaW91cyUyMEFydGlzdHM@bGFuZz1lbnM0Cmd1aWRyMAo_
2018-10-22 21:40:01,163 (23dc) :  DEBUG (runtime:88) - Sending packed state data (111 bytes)
2018-10-22 21:40:01,164 (23dc) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes
