Fix removal of movies

This commit is contained in:
croneter 2018-11-25 17:21:41 +01:00
parent 7670aa7a14
commit a9bed6a3f8

View file

@ -226,8 +226,8 @@ class Movie(ItemBase):
""" """
movie = self.plexdb.movie(plex_id) movie = self.plexdb.movie(plex_id)
try: try:
kodi_id = movie[3] kodi_id = movie['kodi_id']
file_id = movie[4] file_id = movie['kodi_fileid']
kodi_type = v.KODI_TYPE_MOVIE kodi_type = v.KODI_TYPE_MOVIE
LOG.debug('Removing movie with plex_id %s, kodi_id: %s', LOG.debug('Removing movie with plex_id %s, kodi_id: %s',
plex_id, kodi_id) plex_id, kodi_id)