Change emby to jellyfin in functions, variables etc.

This commit is contained in:
Claus Vium 2019-02-02 18:21:22 +01:00
commit 233192863a
39 changed files with 273 additions and 278 deletions

View file

@ -0,0 +1,7 @@
def has_attribute(obj, name):
try:
object.__getattribute__(obj, name)
return True
except AttributeError:
return False

View file

@ -0,0 +1,15 @@
# -*- coding: utf-8 -*-
#################################################################################################
import logging
from uuid import uuid4
#################################################################################################
LOG = logging.getLogger('JELLYFIN.'+__name__)
#################################################################################################
def generate_client_id():
return str("%012X" % uuid4())