mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-26 02:36:10 +00:00
Refactor fix
This commit is contained in:
parent
37ca11bf8b
commit
bc8037d686
2 changed files with 2 additions and 1 deletions
|
@ -111,7 +111,7 @@ class ReadEmbyDB():
|
||||||
if newView.get("CollectionType") == "MovieMovies" or newView.get("CollectionType") == "TvShowSeries":
|
if newView.get("CollectionType") == "MovieMovies" or newView.get("CollectionType") == "TvShowSeries":
|
||||||
view=newView
|
view=newView
|
||||||
if(view.get("ChildCount") != 0):
|
if(view.get("ChildCount") != 0):
|
||||||
Name =(view.get("Name")).encode('utf-8')
|
Name =(view.get("Name"))
|
||||||
|
|
||||||
total = str(view.get("ChildCount"))
|
total = str(view.get("ChildCount"))
|
||||||
type = view.get("CollectionType")
|
type = view.get("CollectionType")
|
||||||
|
|
|
@ -14,6 +14,7 @@ import os
|
||||||
|
|
||||||
from DownloadUtils import DownloadUtils
|
from DownloadUtils import DownloadUtils
|
||||||
from CreateFiles import CreateFiles
|
from CreateFiles import CreateFiles
|
||||||
|
from ReadKodiDB import ReadKodiDB
|
||||||
from API import API
|
from API import API
|
||||||
import Utils as utils
|
import Utils as utils
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue