jellyfin-kodi/jellyfin_kodi/objects/utils.py

22 lines
722 B
Python

# -*- coding: utf-8 -*-
from __future__ import division, absolute_import, print_function, unicode_literals
#################################################################################################
from helper import JSONRPC
from helper import LazyLogger
#################################################################################################
LOG = LazyLogger(__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)