mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-06-17 13:46:14 +00:00
moved videonodes code to seperate class
This commit is contained in:
parent
e76bf71591
commit
d4e44122ba
4 changed files with 326 additions and 309 deletions
|
@ -22,6 +22,7 @@ from DownloadUtils import DownloadUtils
|
|||
from ReadEmbyDB import ReadEmbyDB
|
||||
from ReadKodiDB import ReadKodiDB
|
||||
from WriteKodiDB import WriteKodiDB
|
||||
from VideoNodes import VideoNodes
|
||||
|
||||
addondir = xbmc.translatePath(xbmcaddon.Addon(id='plugin.video.emby').getAddonInfo('profile'))
|
||||
dataPath = os.path.join(addondir,"library")
|
||||
|
@ -64,7 +65,7 @@ class LibrarySync():
|
|||
connection.commit()
|
||||
|
||||
### BUILD VIDEO NODES LISTING ###
|
||||
utils.buildVideoNodesListing()
|
||||
VideoNodes().buildVideoNodesListing()
|
||||
|
||||
# sync movies
|
||||
self.MoviesFullSync(connection,cursor,pDialog)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue