SeaPlayer
SeaPlayer ¶
            Bases: App
          cache
  
  
      class-attribute
      instance-attribute
  
¶
  An image of a class for caching variables.
          config
  
  
      class-attribute
      instance-attribute
  
¶
  The image of the SeaPlayer configuration file.
          currect_sound
  
  
      class-attribute
      instance-attribute
  
¶
  The currently selected sound.
          currect_sound_index
  
  
      class-attribute
      instance-attribute
  
¶
  The index of the currently selected sound.
          currect_volume
  
  
      class-attribute
      instance-attribute
  
¶
  The current volume value (cached).
          ll
  
  
      class-attribute
      instance-attribute
  
¶
  An image of the class for receiving the loaded SeaPlayer translation. With the translation uploaded from the seaplayer/langs/ directory.
          playback_mode
  
  
      class-attribute
      instance-attribute
  
¶
  The current playback mode (cached).
          aio_callnofy
  
  
      async
  
¶
  Creating a notification.
Parameters
| Parameter | Default | Description | 
|---|---|---|
            text
            str
           | 
          required | The text of the notification.  | 
        
            dosk
            Literal['bottom', 'left', 'right', 'top']
           | 
          
            'top'
           | 
          Regarding the screen. Defaults to "top".  | 
        
Returns
| Name | Type | Description | 
|---|---|---|
CallNofy |           
                CallNofy
           | 
          To delete the notification image, use the   | 
        
          aio_gcs
  
  
      async
  
¶
  
          aio_get_sound_selected_label_text
  
  
      async
  
¶
  
          aio_nofy
  
  
      async
  
¶
  Creating a temporary notification.
Parameters
| Parameter | Default | Description | 
|---|---|---|
            text
            str
           | 
          required | The text of the notification.  | 
        
            life_time
            float
           | 
          
            3
           | 
          The time in seconds after which the notification will disappear. Defaults to 3.  | 
        
            dosk
            Literal['bottom', 'left', 'right', 'top']
           | 
          
            'top'
           | 
          Regarding the screen. Defaults to "top".  | 
        
          aio_update_currect_sound
  
  
      async
  
¶
  Updating local variables of the current sound.
          aio_update_select_image
  
  
      async
  
¶
  
          aio_update_select_label
  
  
      async
  
¶
  
callnofy ¶
Creating a notification.
Parameters
| Parameter | Default | Description | 
|---|---|---|
            text
            str
           | 
          required | The text of the notification.  | 
        
            dosk
            Literal['bottom', 'left', 'right', 'top']
           | 
          
            'top'
           | 
          Regarding the screen. Defaults to "top".  | 
        
Returns
| Name | Type | Description | 
|---|---|---|
CallNofy |           
                CallNofy
           | 
          To delete the notification image, use the   | 
        
          currect_sound_pause
  
  
      async
  
¶
  
          currect_sound_play
  
  
      async
  
¶
  
          currect_sound_stop
  
  
      async
  
¶
  
          currect_sound_unpause
  
  
      async
  
¶
  
gcs ¶
get_sound_selected_label_text ¶
get_sound_tstatus ¶
Getting the audio status in text format in the language selected by the user.
Parameters
| Parameter | Default | Description | 
|---|---|---|
            sound
            CodecBase
           | 
          required | The image of the codeс in which the sound is wrapped.  | 
        
Returns
| Name | Type | Description | 
|---|---|---|
str |           
                str
           | 
          Audio status in text format in the language selected by the user.  | 
        
nofy ¶
Creating a temporary notification.
Parameters
| Parameter | Default | Description | 
|---|---|---|
            text
            str
           | 
          required | The text of the notification.  | 
        
            life_time
            float
           | 
          
            3
           | 
          The time in seconds after which the notification will disappear. Defaults to 3.  | 
        
            dosk
            Literal['bottom', 'left', 'right', 'top']
           | 
          
            'top'
           | 
          Regarding the screen. Defaults to "top".  |