Public Member Functions | Public Attributes | List of all members
mycroft.audio.services.vlc.VlcService Class Reference
Inheritance diagram for mycroft.audio.services.vlc.VlcService:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, config, bus=None, name='vlc')
 
def add_list (self, tracks)
 
def clear_list (self)
 
def lower_volume (self)
 
def next (self)
 
def pause (self)
 
def play (self, repeat=False)
 
def previous (self)
 
def restore_volume (self)
 
def resume (self)
 
def seek_backward (self, seconds=1)
 
def seek_forward (self, seconds=1)
 
def stop (self)
 
def supported_uris (self)
 
def track_info (self)
 
def track_start (self, data, other)
 
- Public Member Functions inherited from mycroft.audio.services.AudioBackend
def __init__ (self, config, bus)
 
def add_list (self, tracks)
 
def clear_list (self)
 
def lower_volume (self)
 
def next (self)
 
def pause (self)
 
def play (self, repeat=False)
 
def previous (self)
 
def restore_volume (self)
 
def resume (self)
 
def seek_backward (self, seconds=1)
 
def seek_forward (self, seconds=1)
 
def set_track_start_callback (self, callback_func)
 
def shutdown (self)
 
def stop (self)
 
def supported_uris (self)
 
def track_info (self)
 

Public Attributes

 bus
 
 config
 
 instance
 
 list_player
 
 low_volume
 
 name
 
 normal_volume
 
 player
 
 track_list
 
 vlc_events
 
- Public Attributes inherited from mycroft.audio.services.AudioBackend
 supports_mime_hints
 

Detailed Description

Definition at line 21 of file scripts/mycroft/audio/services/vlc/__init__.py.

Constructor & Destructor Documentation

def mycroft.audio.services.vlc.VlcService.__init__ (   self,
  config,
  bus = None,
  name = 'vlc' 
)

Member Function Documentation

def mycroft.audio.services.vlc.VlcService.add_list (   self,
  tracks 
)
def mycroft.audio.services.vlc.VlcService.clear_list (   self)
def mycroft.audio.services.vlc.VlcService.lower_volume (   self)
Lower volume (will be called when mycroft is listening
or speaking.

Definition at line 95 of file scripts/mycroft/audio/services/vlc/__init__.py.

def mycroft.audio.services.vlc.VlcService.next (   self)
Skip to next track in playlist. 

Definition at line 87 of file scripts/mycroft/audio/services/vlc/__init__.py.

def mycroft.audio.services.vlc.VlcService.pause (   self)
Pause vlc playback. 

Definition at line 79 of file scripts/mycroft/audio/services/vlc/__init__.py.

def mycroft.audio.services.vlc.VlcService.play (   self,
  repeat = False 
)
Play playlist using vlc. 

Definition at line 57 of file scripts/mycroft/audio/services/vlc/__init__.py.

def mycroft.audio.services.vlc.VlcService.previous (   self)
Skip to previous track in playlist. 

Definition at line 91 of file scripts/mycroft/audio/services/vlc/__init__.py.

def mycroft.audio.services.vlc.VlcService.restore_volume (   self)
Restore volume to previous level. 

Definition at line 106 of file scripts/mycroft/audio/services/vlc/__init__.py.

def mycroft.audio.services.vlc.VlcService.resume (   self)
Resume paused playback. 

Definition at line 83 of file scripts/mycroft/audio/services/vlc/__init__.py.

def mycroft.audio.services.vlc.VlcService.seek_backward (   self,
  seconds = 1 
)
rewind X seconds

  Args:
seconds (int): number of seconds to seek, if negative rewind

Definition at line 137 of file scripts/mycroft/audio/services/vlc/__init__.py.

def mycroft.audio.services.vlc.VlcService.seek_forward (   self,
  seconds = 1 
)
skip X seconds

  Args:
seconds (int): number of seconds to seek, if negative rewind

Definition at line 123 of file scripts/mycroft/audio/services/vlc/__init__.py.

def mycroft.audio.services.vlc.VlcService.stop (   self)
Stop vlc playback. 

Definition at line 67 of file scripts/mycroft/audio/services/vlc/__init__.py.

def mycroft.audio.services.vlc.VlcService.supported_uris (   self)
def mycroft.audio.services.vlc.VlcService.track_info (   self)
Extract info of current track. 

Definition at line 113 of file scripts/mycroft/audio/services/vlc/__init__.py.

def mycroft.audio.services.vlc.VlcService.track_start (   self,
  data,
  other 
)

Member Data Documentation

mycroft.audio.services.vlc.VlcService.bus
mycroft.audio.services.vlc.VlcService.config
mycroft.audio.services.vlc.VlcService.instance
mycroft.audio.services.vlc.VlcService.list_player
mycroft.audio.services.vlc.VlcService.low_volume
mycroft.audio.services.vlc.VlcService.name
mycroft.audio.services.vlc.VlcService.normal_volume
mycroft.audio.services.vlc.VlcService.player
mycroft.audio.services.vlc.VlcService.track_list
mycroft.audio.services.vlc.VlcService.vlc_events

The documentation for this class was generated from the following file:


mycroft_ros
Author(s):
autogenerated on Mon Apr 26 2021 02:35:40