Skip to content

Commit

Permalink
fix(qchat): use mp3 instead of ogg (#198)
Browse files Browse the repository at this point in the history
  • Loading branch information
gounux authored Oct 4, 2024
1 parent 486cff9 commit 2052276
Show file tree
Hide file tree
Showing 31 changed files with 2 additions and 2 deletions.
Binary file added qtribu/resources/sounds/beep_1.mp3
Binary file not shown.
Binary file removed qtribu/resources/sounds/beep_1.ogg
Binary file not shown.
Binary file added qtribu/resources/sounds/beep_2.mp3
Binary file not shown.
Binary file removed qtribu/resources/sounds/beep_2.ogg
Binary file not shown.
Binary file added qtribu/resources/sounds/beep_3.mp3
Binary file not shown.
Binary file removed qtribu/resources/sounds/beep_3.ogg
Binary file not shown.
Binary file added qtribu/resources/sounds/beep_4.mp3
Binary file not shown.
Binary file removed qtribu/resources/sounds/beep_4.ogg
Binary file not shown.
Binary file added qtribu/resources/sounds/beep_5.mp3
Binary file not shown.
Binary file removed qtribu/resources/sounds/beep_5.ogg
Binary file not shown.
Binary file added qtribu/resources/sounds/beep_6.mp3
Binary file not shown.
Binary file removed qtribu/resources/sounds/beep_6.ogg
Binary file not shown.
Binary file added qtribu/resources/sounds/beep_7.mp3
Binary file not shown.
Binary file removed qtribu/resources/sounds/beep_7.ogg
Binary file not shown.
Binary file added qtribu/resources/sounds/cat.mp3
Binary file not shown.
Binary file removed qtribu/resources/sounds/cat.ogg
Binary file not shown.
Binary file added qtribu/resources/sounds/chicken.mp3
Binary file not shown.
Binary file removed qtribu/resources/sounds/chicken.ogg
Binary file not shown.
Binary file added qtribu/resources/sounds/cow.mp3
Binary file not shown.
Binary file removed qtribu/resources/sounds/cow.ogg
Binary file not shown.
Binary file added qtribu/resources/sounds/dog.mp3
Binary file not shown.
Binary file removed qtribu/resources/sounds/dog.ogg
Binary file not shown.
Binary file added qtribu/resources/sounds/dontcrybaby.mp3
Binary file not shown.
Binary file removed qtribu/resources/sounds/dontcrybaby.ogg
Binary file not shown.
Binary file added qtribu/resources/sounds/horn.mp3
Binary file not shown.
Binary file removed qtribu/resources/sounds/horn.ogg
Binary file not shown.
Binary file added qtribu/resources/sounds/iamarobot.mp3
Binary file not shown.
Binary file removed qtribu/resources/sounds/iamarobot.ogg
Binary file not shown.
Binary file added qtribu/resources/sounds/its10oclock.mp3
Binary file not shown.
Binary file removed qtribu/resources/sounds/its10oclock.ogg
Binary file not shown.
4 changes: 2 additions & 2 deletions qtribu/toolbelt/commons.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ def open_url_in_webviewer(url: str, window_title: str) -> None:
def play_resource_sound(resource: str, volume: int) -> None:
"""
Play a sound inside QGIS
The file_name param must be the name (without extension) of a .ogg audio file inside resources/sounds folder
The file_name param must be the name (without extension) of a .mp3 audio file inside resources/sounds folder
"""
file_path = str(DIR_PLUGIN_ROOT / f"resources/sounds/{resource}.ogg")
file_path = str(DIR_PLUGIN_ROOT / f"resources/sounds/{resource}.mp3")
if not os.path.exists(file_path):
raise FileNotFoundError(
f"File '{resource}.wav' not found in resources/sounds folder"
Expand Down

0 comments on commit 2052276

Please sign in to comment.