Update documentation, standardize on WAV audio format, and improve attribution (#19)
* Remove MP3 sound files and update documentation to reflect WAV-only support * Fix stale strings
This commit is contained in:
@@ -18,7 +18,7 @@ PACKAGE_DIR = os.path.dirname(MODULE_DIR)
|
||||
RESOURCES_DIR = os.path.join(os.path.dirname(PACKAGE_DIR), "resources")
|
||||
SOUNDS_DIR = os.path.join(RESOURCES_DIR, "sounds")
|
||||
|
||||
# Sound file paths - prioritize WAV files
|
||||
# Sound file paths
|
||||
START_SOUND = os.path.join(SOUNDS_DIR, "start_recording.wav")
|
||||
STOP_SOUND = os.path.join(SOUNDS_DIR, "stop_recording.wav")
|
||||
ERROR_SOUND = os.path.join(SOUNDS_DIR, "error.wav")
|
||||
@@ -70,11 +70,6 @@ def _play_sound_file(sound_path):
|
||||
if not player:
|
||||
return False
|
||||
|
||||
file_ext = os.path.splitext(sound_path)[1].lower().lstrip(".")
|
||||
if file_ext not in formats:
|
||||
logger.warning(f"Format {file_ext} not supported by {player}")
|
||||
return False
|
||||
|
||||
try:
|
||||
if player == "paplay":
|
||||
subprocess.Popen(
|
||||
|
||||
@@ -216,7 +216,8 @@ class TrayIndicator:
|
||||
about_dialog = Gtk.AboutDialog()
|
||||
about_dialog.set_program_name("Vocalinux")
|
||||
about_dialog.set_version("0.1.0")
|
||||
about_dialog.set_copyright("© 2025 Vocalinux Team")
|
||||
about_dialog.set_copyright("© 2025 | @jatinkrmalik")
|
||||
about_dialog.set_authors(["Jatin K Malik"])
|
||||
about_dialog.set_comments("A seamless voice dictation system for Ubuntu")
|
||||
about_dialog.set_website("https://github.com/jatinkrmalik/vocalinux")
|
||||
about_dialog.set_website_label("GitHub Repository")
|
||||
|
||||
Reference in New Issue
Block a user