From f0a0a612bbabf171aea36816818cf79c1975335a Mon Sep 17 00:00:00 2001 From: David Trattnig <david.trattnig@o94.at> Date: Sat, 16 May 2020 12:57:48 +0200 Subject: [PATCH] Docs. --- modules/core/engine.py | 7 ++++++- modules/scheduling/scheduler.py | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/modules/core/engine.py b/modules/core/engine.py index cf0d6b25..374b7aef 100644 --- a/modules/core/engine.py +++ b/modules/core/engine.py @@ -470,6 +470,11 @@ class SoundSystem(): def stream_load_entry(self, entry): """ Loads the given stream entry and updates the entries's status codes. + + Args: + entry (Entry): The entry to be pre-loaded + Returns: + (Boolean): `True` if successfull """ # Hack to avoid Liquidsoap SSL Error "Connection failed: @@ -633,7 +638,7 @@ class SoundSystem(): Args: uri (String): The URI of the file Returns: - LiquidSoap Response + (Boolean): `True` if successfull """ if channel not in ChannelType.FILESYSTEM.channels: raise InvalidChannelException diff --git a/modules/scheduling/scheduler.py b/modules/scheduling/scheduler.py index 0fdad524..4b2e5ab4 100644 --- a/modules/scheduling/scheduler.py +++ b/modules/scheduling/scheduler.py @@ -589,7 +589,7 @@ class AuraScheduler(threading.Thread): def set_entry_timer(self, entry, fade_in, fade_out): """ - Creates timer for loading and playing an entry. Existing times are + Creates timer for loading and playing an entry. Existing timers are updated. """ play_timer = self.is_something_planned_at_time(entry.start_unix) -- GitLab