mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-12-13 02:23:18 +00:00
WIP: other path update approach
Use jellyfin db to determine parent path id
This commit is contained in:
parent
fcda2ec043
commit
5b0fecf50c
3 changed files with 47 additions and 0 deletions
|
|
@ -116,6 +116,7 @@ class TVShows(KodiDb):
|
|||
self.tvshow_add(obj)
|
||||
|
||||
self.link(*values(obj, QU.update_tvshow_link_obj))
|
||||
# Ne marche pas en mode update...
|
||||
self.update_path(*values(obj, QU.update_path_tvshow_obj))
|
||||
self.add_tags(*values(obj, QU.add_tags_tvshow_obj))
|
||||
self.add_people(*values(obj, QU.add_people_tvshow_obj))
|
||||
|
|
@ -152,6 +153,8 @@ class TVShows(KodiDb):
|
|||
season_id = self.get_season(*values(obj, QU.get_season_special_obj))
|
||||
self.artwork.add(obj['Artwork'], season_id, "season")
|
||||
|
||||
# verifier ici
|
||||
|
||||
for season in season_episodes:
|
||||
for episodes in server.get_episode_by_season(season_episodes[season], season):
|
||||
|
||||
|
|
@ -259,6 +262,9 @@ class TVShows(KodiDb):
|
|||
obj = self.objects.map(item, 'Episode')
|
||||
update = True
|
||||
|
||||
LOG.debug("EPISODE item: [%s]", item)
|
||||
LOG.debug("EPISODE e_item: [%s]", e_item)
|
||||
|
||||
if obj['Location'] == "Virtual":
|
||||
LOG.info("Skipping virtual episode %s: %s", obj['Title'], obj['Id'])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue