Initial work on Kodi 19 (and Python 3) support

This commit is contained in:
Odd Stråbø 2020-01-04 03:32:30 +01:00
parent 898b0d1faf
commit a51bf9c2cc
68 changed files with 403 additions and 339 deletions

View file

@ -1,4 +1,5 @@
# -*- coding: utf-8 -*-
from __future__ import division, absolute_import, print_function, unicode_literals
##################################################################################################
@ -6,6 +7,8 @@ import json
import logging
import os
from six import iteritems
##################################################################################################
LOG = logging.getLogger("JELLYFIN." + __name__)
@ -53,7 +56,7 @@ class Objects(object):
mapping = self.objects[mapping_name]
for key, value in mapping.iteritems():
for key, value in iteritems(mapping):
self.mapped_item[key] = None
params = value.split(',')
@ -144,7 +147,7 @@ class Objects(object):
result = False
for key, value in filters.iteritems():
for key, value in iteritems(filters):
inverse = False