mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-14 01:02:59 -07:00
Add min_version parameter to register_device API command
This commit is contained in:
parent
7914f56ec3
commit
36aa795c52
3 changed files with 17 additions and 7 deletions
|
@ -1470,6 +1470,10 @@ def is_hdr(bit_depth, color_space):
|
|||
return bit_depth > 8 and color_space == 'bt2020nc'
|
||||
|
||||
|
||||
def version_to_tuple(version):
|
||||
return tuple(cast_to_int(v) for v in version.strip('v').split('.'))
|
||||
|
||||
|
||||
def page(endpoint, *args, **kwargs):
|
||||
endpoints = {
|
||||
'pms_image_proxy': pms_image_proxy,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue