Skip to content

Commit

Permalink
tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Bleuzen committed Oct 7, 2021
1 parent 8eb9630 commit 8ecdb5d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions spotrec.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@
# 'bash': shell commands
# 'requests': get album art

# TODO:
# - set fixed latency on pipewire (currently only done by ffmpeg while it is recording ("fragment_size" parameter), but should ideally be set before recording)

app_name = "SpotRec"
app_version = "0.14.0"

Expand All @@ -46,9 +49,9 @@
# Hard-coded settings
_pa_recording_sink_name = "spotrec"
_pa_max_volume = "65536"
_recording_time_before_song = 0.15
_recording_time_after_song = 1.35
_playback_time_before_seeking_to_beginning = 4.5
_recording_time_before_song = 0.25
_recording_time_after_song = 1.25
_playback_time_before_seeking_to_beginning = 5.0
_shell_executable = "/bin/bash" # Default: "/bin/sh"
_shell_encoding = "utf-8"
_ffmpeg_executable = "ffmpeg" # Example: "/usr/bin/ffmpeg"
Expand Down

0 comments on commit 8ecdb5d

Please sign in to comment.