File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 11<?xml  version =" 1.0"  encoding =" UTF-8"  standalone =" yes" 
2- <addon  id =" script.service.hyperion" name =" Hyperion Ambilight" version =" 20.0.1 " provider-name =" hyperion-project" 
2+ <addon  id =" script.service.hyperion" name =" Hyperion Ambilight" version =" 20.0.2 " provider-name =" hyperion-project" 
33  <requires >
44    <import  addon =" xbmc.addon" version =" 20.0.0" 
55    <import  addon =" xbmc.python" version =" 3.0.1" 
2020    <source >https://github.com/hyperion-project/hyperion.kodi</source >
2121    <license >MIT</license >
2222    <news >
23+       20.0.2
24+       - Python lower than 3.10 compatibility
2325      20.0.1
2426      - Clean-ups
2527      - Handle missing PIL library on Android
Original file line number Diff line number Diff line change 11""" 
22Kodi video capturer for Hyperion. 
33
4- Copyright (c) 2013-2023  Hyperion Team 
4+ Copyright (c) 2013-2024  Hyperion Team 
55
66Permission is hereby granted, free of charge, to any person obtaining a copy 
77of this software and associated documentation files (the "Software"), to deal 
2222THE SOFTWARE. 
2323""" 
2424from  typing  import  Callable 
25+ from  typing  import  Tuple 
2526
2627import  xbmc 
2728from  PIL  import  Image 
@@ -114,7 +115,7 @@ def connect(self) -> None:
114115        self ._hyperion  =  Hyperion (settings .address , settings .port )
115116        self ._capture  =  xbmc .RenderCapture ()
116117
117-     def  get_capture_size (self ) ->  tuple [ tuple [int , int ], int ]:
118+     def  get_capture_size (self ) ->  Tuple [ Tuple [int , int ], int ]:
118119        width  =  self .settings .capture_width 
119120        aspect_ratio  =  self ._capture .getAspectRatio ()
120121        height  =  int (width  /  aspect_ratio )
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments