diff --git a/resources/lib/ReadEmbyDB.py b/resources/lib/ReadEmbyDB.py index caa16c06..d06648d4 100644 --- a/resources/lib/ReadEmbyDB.py +++ b/resources/lib/ReadEmbyDB.py @@ -111,7 +111,7 @@ class ReadEmbyDB(): if newView.get("CollectionType") == "MovieMovies" or newView.get("CollectionType") == "TvShowSeries": view=newView if(view.get("ChildCount") != 0): - Name =(view.get("Name")).encode('utf-8') + Name =(view.get("Name")) total = str(view.get("ChildCount")) type = view.get("CollectionType") diff --git a/resources/lib/WriteKodiDB.py b/resources/lib/WriteKodiDB.py index 60ecb702..34f235ba 100644 --- a/resources/lib/WriteKodiDB.py +++ b/resources/lib/WriteKodiDB.py @@ -14,6 +14,7 @@ import os from DownloadUtils import DownloadUtils from CreateFiles import CreateFiles +from ReadKodiDB import ReadKodiDB from API import API import Utils as utils