Skip to content

Commit

Permalink
Version number update
Browse files Browse the repository at this point in the history
  • Loading branch information
btelliot committed Jan 5, 2025
1 parent 519ab17 commit 1b5f0bb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.3.0-20240601
5.3.0-20250104
2 changes: 1 addition & 1 deletion obplayer/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ def check_defaults(self):
"audio_caps",
"audio/x-raw,channels=2,rate=44100,format=S16LE,layout=interleaved",
)
self.add_setting("fade_duration", "10.0", "float")
self.add_setting("fade_duration", "5.0", "float")
self.add_setting("audio_out_mode", "auto", "text")
self.add_setting("audio_out_alsa_device", "default", "text")
self.add_setting("audio_out_jack_name", "", "text")
Expand Down
8 changes: 2 additions & 6 deletions obplayer/scheduler/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -578,10 +578,6 @@ def set_next_update(self):
self.ctrl.set_next_update(self.next_show_update)

def end_show(self, present_time):
obplayer.Log.log(
f"Test change fade duration from http: {self.fade_out_duration}",
"scheduler",
)
# Fade out the volume when a show is ending
if not self.fade_out_initiated and self.fade_out_duration > 0:
if self.fade_out_duration < 0.5:
Expand All @@ -607,7 +603,7 @@ def check_show(self, present_time):
# Update the last check time
self.last_check_time = current_time

obplayer.Log.log("checking show", "scheduler")
# obplayer.Log.log("checking show", "scheduler")
# Check if we are approaching the show's end and need to start fading out
if self.present_show and present_time >= (
self.present_show.end_time() - self.fade_out_duration
Expand Down Expand Up @@ -645,7 +641,7 @@ def check_show(self, present_time):
)

# Ensure volume is at 100%
obplayer.Log.log("Starting song - fade up over 0.5s", "scheduler")
obplayer.Log.log("Starting show - fade up over 0.5s", "scheduler")
obplayer.Player.outputs["mixer"].main_fade(
{"volume": 1.0, "time": 0.5} # Ensure volume is at 100%
)
Expand Down

0 comments on commit 1b5f0bb

Please sign in to comment.