mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-06-01 05:46:13 +00:00
Initial work on Kodi 19 (and Python 3) support
This commit is contained in:
parent
898b0d1faf
commit
a51bf9c2cc
68 changed files with 403 additions and 339 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue