From 2152c789c7d097a277882b8aabfeaee370cb8997 Mon Sep 17 00:00:00 2001 From: Croneter Date: Tue, 12 Jun 2018 19:43:09 +0200 Subject: [PATCH] Fix library sync crash due to PMS sending string, not unicode --- resources/lib/PlexAPI.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/PlexAPI.py b/resources/lib/PlexAPI.py index c4a34ab5..612fa933 100644 --- a/resources/lib/PlexAPI.py +++ b/resources/lib/PlexAPI.py @@ -456,7 +456,7 @@ class API(object): """ Returns the title of the element as unicode or 'Missing Title Name' """ - return self.item.get('title', 'Missing Title Name') + return try_decode(self.item.get('title', 'Missing Title Name')) def titles(self): """