Fix PlexCompanion TypeError

This commit is contained in:
tomkat83 2016-03-29 20:17:07 +02:00
parent a83a2b4bc4
commit 8c6dd25194
2 changed files with 5 additions and 1 deletions

View file

@ -63,6 +63,7 @@ Solutions are unlikely due to the nature of these issues
- **Plex updates:** PlexKodiConnect continuously polls the Plex Media Server for changes. If something on the PMS has changed, this change is synced to Kodi. Hence if you rescan your entire library, a long PlexKodiConnect re-sync is triggered.
- **Subtitles**: external Plex subtitles (separate file, e.g. mymovie.srt) can be used, but it is impossible to label them correctly/tell what language they are in
- **Direct Paths:** If you use direct paths, your (initial) sync will be slower
- **Background Sync:** If you toggle the viewstate of an item to (un)watched somewhere else outside of Kodi/PKC, this change is only synched with a full sync. Plex does not communicate this toggling to anyone.
**Known Bugs:**
- **Plex Music:** Plex Music for direct paths does not work yet.

View file

@ -9,7 +9,10 @@ guisettingsXML = utils.guisettingsXML()
def getGUI(name):
try:
return list(guisettingsXML.iter(name))[0].text
ans = list(guisettingsXML.iter(name))[0].text
if ans is None:
ans = ''
return ans
except:
return ""