diff --git a/qtribu/resources/sounds/beep_1.mp3 b/qtribu/resources/sounds/beep_1.mp3 new file mode 100644 index 00000000..f0615721 Binary files /dev/null and b/qtribu/resources/sounds/beep_1.mp3 differ diff --git a/qtribu/resources/sounds/beep_1.ogg b/qtribu/resources/sounds/beep_1.ogg deleted file mode 100644 index 7cb02547..00000000 Binary files a/qtribu/resources/sounds/beep_1.ogg and /dev/null differ diff --git a/qtribu/resources/sounds/beep_2.mp3 b/qtribu/resources/sounds/beep_2.mp3 new file mode 100644 index 00000000..2e28029d Binary files /dev/null and b/qtribu/resources/sounds/beep_2.mp3 differ diff --git a/qtribu/resources/sounds/beep_2.ogg b/qtribu/resources/sounds/beep_2.ogg deleted file mode 100644 index 6ff89984..00000000 Binary files a/qtribu/resources/sounds/beep_2.ogg and /dev/null differ diff --git a/qtribu/resources/sounds/beep_3.mp3 b/qtribu/resources/sounds/beep_3.mp3 new file mode 100644 index 00000000..1dfea0ca Binary files /dev/null and b/qtribu/resources/sounds/beep_3.mp3 differ diff --git a/qtribu/resources/sounds/beep_3.ogg b/qtribu/resources/sounds/beep_3.ogg deleted file mode 100644 index aa4cccbf..00000000 Binary files a/qtribu/resources/sounds/beep_3.ogg and /dev/null differ diff --git a/qtribu/resources/sounds/beep_4.mp3 b/qtribu/resources/sounds/beep_4.mp3 new file mode 100644 index 00000000..5ee152ca Binary files /dev/null and b/qtribu/resources/sounds/beep_4.mp3 differ diff --git a/qtribu/resources/sounds/beep_4.ogg b/qtribu/resources/sounds/beep_4.ogg deleted file mode 100644 index 1df613ba..00000000 Binary files a/qtribu/resources/sounds/beep_4.ogg and /dev/null differ diff --git a/qtribu/resources/sounds/beep_5.mp3 b/qtribu/resources/sounds/beep_5.mp3 new file mode 100644 index 00000000..16f5f53c Binary files /dev/null and b/qtribu/resources/sounds/beep_5.mp3 differ diff --git a/qtribu/resources/sounds/beep_5.ogg b/qtribu/resources/sounds/beep_5.ogg deleted file mode 100644 index 5f07ec90..00000000 Binary files a/qtribu/resources/sounds/beep_5.ogg and /dev/null differ diff --git a/qtribu/resources/sounds/beep_6.mp3 b/qtribu/resources/sounds/beep_6.mp3 new file mode 100644 index 00000000..2ef6f716 Binary files /dev/null and b/qtribu/resources/sounds/beep_6.mp3 differ diff --git a/qtribu/resources/sounds/beep_6.ogg b/qtribu/resources/sounds/beep_6.ogg deleted file mode 100644 index 9fc0cd0d..00000000 Binary files a/qtribu/resources/sounds/beep_6.ogg and /dev/null differ diff --git a/qtribu/resources/sounds/beep_7.mp3 b/qtribu/resources/sounds/beep_7.mp3 new file mode 100644 index 00000000..8b9182de Binary files /dev/null and b/qtribu/resources/sounds/beep_7.mp3 differ diff --git a/qtribu/resources/sounds/beep_7.ogg b/qtribu/resources/sounds/beep_7.ogg deleted file mode 100644 index bc276003..00000000 Binary files a/qtribu/resources/sounds/beep_7.ogg and /dev/null differ diff --git a/qtribu/resources/sounds/cat.mp3 b/qtribu/resources/sounds/cat.mp3 new file mode 100644 index 00000000..6c03bb61 Binary files /dev/null and b/qtribu/resources/sounds/cat.mp3 differ diff --git a/qtribu/resources/sounds/cat.ogg b/qtribu/resources/sounds/cat.ogg deleted file mode 100644 index 8ded1a88..00000000 Binary files a/qtribu/resources/sounds/cat.ogg and /dev/null differ diff --git a/qtribu/resources/sounds/chicken.mp3 b/qtribu/resources/sounds/chicken.mp3 new file mode 100644 index 00000000..679081e3 Binary files /dev/null and b/qtribu/resources/sounds/chicken.mp3 differ diff --git a/qtribu/resources/sounds/chicken.ogg b/qtribu/resources/sounds/chicken.ogg deleted file mode 100644 index dc3edd2d..00000000 Binary files a/qtribu/resources/sounds/chicken.ogg and /dev/null differ diff --git a/qtribu/resources/sounds/cow.mp3 b/qtribu/resources/sounds/cow.mp3 new file mode 100644 index 00000000..d308114f Binary files /dev/null and b/qtribu/resources/sounds/cow.mp3 differ diff --git a/qtribu/resources/sounds/cow.ogg b/qtribu/resources/sounds/cow.ogg deleted file mode 100644 index 07290503..00000000 Binary files a/qtribu/resources/sounds/cow.ogg and /dev/null differ diff --git a/qtribu/resources/sounds/dog.mp3 b/qtribu/resources/sounds/dog.mp3 new file mode 100644 index 00000000..c41ec55e Binary files /dev/null and b/qtribu/resources/sounds/dog.mp3 differ diff --git a/qtribu/resources/sounds/dog.ogg b/qtribu/resources/sounds/dog.ogg deleted file mode 100644 index b8af471a..00000000 Binary files a/qtribu/resources/sounds/dog.ogg and /dev/null differ diff --git a/qtribu/resources/sounds/dontcrybaby.mp3 b/qtribu/resources/sounds/dontcrybaby.mp3 new file mode 100644 index 00000000..0605dfd1 Binary files /dev/null and b/qtribu/resources/sounds/dontcrybaby.mp3 differ diff --git a/qtribu/resources/sounds/dontcrybaby.ogg b/qtribu/resources/sounds/dontcrybaby.ogg deleted file mode 100644 index 58012f3c..00000000 Binary files a/qtribu/resources/sounds/dontcrybaby.ogg and /dev/null differ diff --git a/qtribu/resources/sounds/horn.mp3 b/qtribu/resources/sounds/horn.mp3 new file mode 100644 index 00000000..bab4eb8a Binary files /dev/null and b/qtribu/resources/sounds/horn.mp3 differ diff --git a/qtribu/resources/sounds/horn.ogg b/qtribu/resources/sounds/horn.ogg deleted file mode 100644 index 89bb645f..00000000 Binary files a/qtribu/resources/sounds/horn.ogg and /dev/null differ diff --git a/qtribu/resources/sounds/iamarobot.mp3 b/qtribu/resources/sounds/iamarobot.mp3 new file mode 100644 index 00000000..37a6de99 Binary files /dev/null and b/qtribu/resources/sounds/iamarobot.mp3 differ diff --git a/qtribu/resources/sounds/iamarobot.ogg b/qtribu/resources/sounds/iamarobot.ogg deleted file mode 100644 index 7ea64be5..00000000 Binary files a/qtribu/resources/sounds/iamarobot.ogg and /dev/null differ diff --git a/qtribu/resources/sounds/its10oclock.mp3 b/qtribu/resources/sounds/its10oclock.mp3 new file mode 100644 index 00000000..3b7fcdd8 Binary files /dev/null and b/qtribu/resources/sounds/its10oclock.mp3 differ diff --git a/qtribu/resources/sounds/its10oclock.ogg b/qtribu/resources/sounds/its10oclock.ogg deleted file mode 100644 index cd6291ca..00000000 Binary files a/qtribu/resources/sounds/its10oclock.ogg and /dev/null differ diff --git a/qtribu/toolbelt/commons.py b/qtribu/toolbelt/commons.py index df3beca2..6cca10a4 100644 --- a/qtribu/toolbelt/commons.py +++ b/qtribu/toolbelt/commons.py @@ -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"