jellyfin-kodi/jellyfin_kodi/objects/utils.py

22 lines
646 B
Python

# -*- coding: utf-8 -*-
#################################################################################################
import logging
from helper import JSONRPC
#################################################################################################
LOG = logging.getLogger("JELLYFIN." + __name__)
#################################################################################################
def get_grouped_set():
''' Get if boxsets should be grouped
'''
result = JSONRPC('Settings.GetSettingValue').execute({'setting': "videolibrary.groupmoviesets"})
return result.get('result', {}).get('value', False)