File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change 11"""All (global/common) constants for Music Assistant.""" 
22
3- from  typing  import  Final 
4- 
53SECURE_STRING_SUBSTITUTE  =  "this_value_is_encrypted" 
6- 
7- # if duration is None (e.g. radio stream) = 48 hours 
8- FALLBACK_DURATION : Final [int ] =  172800 
Original file line number Diff line number Diff line change 88
99from  mashumaro  import  DataClassDictMixin 
1010
11- from  .constants  import  FALLBACK_DURATION 
1211from  .enums  import  PlayerState , RepeatMode 
1312from  .media_items  import  MediaItemType 
1413from  .queue_item  import  QueueItem 
@@ -19,7 +18,7 @@ class PlayLogEntry:
1918    """Representation of a PlayLogEntry within Music Assistant.""" 
2019
2120    queue_item_id : str 
22-     duration : int  =   FALLBACK_DURATION 
21+     duration : int  |   None   =   None 
2322    seconds_streamed : float  |  None  =  None 
2423
2524
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments