Skip to content
This repository has been archived by the owner on Apr 8, 2022. It is now read-only.

Commit

Permalink
One more take at script parsing error
Browse files Browse the repository at this point in the history
  • Loading branch information
llllllllllllll committed Jan 16, 2014
1 parent 2a6bfdb commit ed937af
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion addon.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.video.plexbmc" name="PleXBMC" version="3.4.2" provider-name="Hippojay (plexbmc@h-jay.com)">
<addon id="plugin.video.plexbmc" name="PleXBMC" version="3.4.3" provider-name="Hippojay (plexbmc@h-jay.com)">
<requires>
<import addon="xbmc.python" version="2.1.0"/>
</requires>
Expand Down
8 changes: 4 additions & 4 deletions default.py
Original file line number Diff line number Diff line change
Expand Up @@ -393,12 +393,12 @@ def getLocalServers(ip_address="localhost", port=32400):

server=etree.fromstring(html)

return {'serverName': server.attrib('friendlyName','Server').encode('utf-8'),
return {'serverName': server.attrib['friendlyName'].encode('utf-8'),
'server' : ip_address,
'port' : port ,
'discovery' : 'local' ,
'port' : port,
'discovery' : 'local',
'token' : None ,
'uuid' : server.attrib('machineIdentifier'),
'uuid' : server.attrib['machineIdentifier'],
'owned' : '1',
'master' : 1,
'class' : ''}
Expand Down

0 comments on commit ed937af

Please sign in to comment.