Skip to content

Commit 89d9be5

Browse files
committed
Fix sounds path and packager
1 parent cd6a217 commit 89d9be5

3 files changed

Lines changed: 64 additions & 65 deletions

File tree

.pkgmeta

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
package-as: SoundBox
22

33
externals:
4-
libs/LibStub: https://repos.curseforge.com/wow/libstub/trunk
5-
libs/CallbackHandler-1.0: https://repos.curseforge.com/wow/callbackhandler/trunk/CallbackHandler-1.0
6-
libs/LibSharedMedia-3.0: https://repos.curseforge.com/wow/libsharedmedia-3-0/trunk/LibSharedMedia-3.0
4+
SoundBox/libs/LibStub: https://repos.curseforge.com/wow/libstub/trunk
5+
SoundBox/libs/CallbackHandler-1.0: https://repos.curseforge.com/wow/callbackhandler/trunk/CallbackHandler-1.0
6+
SoundBox/libs/LibSharedMedia-3.0: https://repos.curseforge.com/wow/libsharedmedia-3-0/trunk/LibSharedMedia-3.0
77

88
enable-nolib-creation: no
99
wowi-archive-previous: no

SoundBox/main.lua

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,10 @@ f:SetScript(
4646
end
4747

4848
-- we check if the announcer is on and that we actually have a valid message to print
49-
if setWho == true then
50-
if handle ~= nil then
49+
if setWho == true and handle ~= nil then
5150
print(
5251
icon .. "|cff00FF96SoundBox|r: |cFFFFFFFF" .. name .. "|r |cFFFF8040played " .. message .. "|r"
5352
)
54-
end
5553
end
5654

5755
-- send error to the player if message is not a sound
@@ -111,10 +109,7 @@ function SoundBox_Sound(message)
111109
if not setDND then
112110
if message ~= "" then
113111
if IsInGroup() then
114-
local channel =
115-
(IsInGroup(LE_PARTY_CATEGORY_INSTANCE) and "INSTANCE_CHAT") or (IsInRaid() and "RAID") or
116-
(IsInGroup() and "PARTY") or
117-
"SAY"
112+
local channel = (IsInGroup(LE_PARTY_CATEGORY_INSTANCE) and "INSTANCE_CHAT") or (IsInRaid() and "RAID") or(IsInGroup() and "PARTY") or "SAY"
118113
C_ChatInfo.SendAddonMessage(addonPrefix, message, channel)
119114
else
120115
C_ChatInfo.SendAddonMessage(addonPrefix, message, "WHISPER", playerName)

SoundBox_Custom/sounds.lua

Lines changed: 59 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -3,58 +3,62 @@ local LSM = LibStub("LibSharedMedia-3.0")
33
-- ----------
44
-- SOUNDS
55
-- ----------
6-
LSM:Register("sound", "|cff00FF96SoundBox|r: aleluya", [[Interface\Addons\SoundBox_Simios\sounds\aleluya.ogg]])
7-
LSM:Register("sound", "|cff00FF96SoundBox|r: allahu", [[Interface\Addons\SoundBox_Simios\sounds\allahu.ogg]])
8-
LSM:Register("sound", "|cff00FF96SoundBox|r: antinomy", [[Interface\Addons\SoundBox_Simios\sounds\antinomy.ogg]])
9-
LSM:Register("sound", "|cff00FF96SoundBox|r: ara", [[Interface\Addons\SoundBox_Simios\sounds\ara.ogg]])
10-
LSM:Register("sound", "|cff00FF96SoundBox|r: artemis", [[Interface\Addons\SoundBox_Simios\sounds\artemis.ogg]])
11-
LSM:Register("sound", "|cff00FF96SoundBox|r: artemisf", [[Interface\Addons\SoundBox_Simios\sounds\artemisf.ogg]])
12-
LSM:Register("sound", "|cff00FF96SoundBox|r: babyshark", [[Interface\Addons\SoundBox_Simios\sounds\babyshark.ogg]])
13-
LSM:Register("sound", "|cff00FF96SoundBox|r: bhl", [[Interface\Addons\SoundBox_Simios\sounds\bhl.ogg]])
14-
LSM:Register("sound", "|cff00FF96SoundBox|r: cabra", [[Interface\Addons\SoundBox_Simios\sounds\cabra.ogg]])
15-
LSM:Register("sound", "|cff00FF96SoundBox|r: cato", [[Interface\Addons\SoundBox_Simios\sounds\cato.ogg]])
16-
LSM:Register("sound", "|cff00FF96SoundBox|r: cris", [[Interface\Addons\SoundBox_Simios\sounds\cris.ogg]])
17-
LSM:Register("sound", "|cff00FF96SoundBox|r: daniel", [[Interface\Addons\SoundBox_Simios\sounds\daniel.ogg]])
18-
LSM:Register("sound", "|cff00FF96SoundBox|r: danielban", [[Interface\Addons\SoundBox_Simios\sounds\danielban.ogg]])
19-
LSM:Register("sound", "|cff00FF96SoundBox|r: desik", [[Interface\Addons\SoundBox_Simios\sounds\desik.ogg]])
20-
LSM:Register("sound", "|cff00FF96SoundBox|r: digievo", [[Interface\Addons\SoundBox_Simios\sounds\digievo.ogg]])
21-
LSM:Register("sound", "|cff00FF96SoundBox|r: dunga", [[Interface\Addons\SoundBox_Simios\sounds\dunga.ogg]])
22-
LSM:Register("sound", "|cff00FF96SoundBox|r: duri", [[Interface\Addons\SoundBox_Simios\sounds\duri.ogg]])
23-
LSM:Register("sound", "|cff00FF96SoundBox|r: endouken", [[Interface\Addons\SoundBox_Simios\sounds\endouken.ogg]])
24-
LSM:Register("sound", "|cff00FF96SoundBox|r: gratz", [[Interface\Addons\SoundBox_Simios\sounds\gratz.ogg]])
25-
LSM:Register("sound", "|cff00FF96SoundBox|r: gurgura", [[Interface\Addons\SoundBox_Simios\sounds\gurgura.ogg]])
26-
LSM:Register("sound", "|cff00FF96SoundBox|r: haha", [[Interface\Addons\SoundBox_Simios\sounds\haha.ogg]])
27-
LSM:Register("sound", "|cff00FF96SoundBox|r: hahaha", [[Interface\Addons\SoundBox_Simios\sounds\hahaha.ogg]])
28-
LSM:Register("sound", "|cff00FF96SoundBox|r: icarus", [[Interface\Addons\SoundBox_Simios\sounds\icarus.ogg]])
29-
LSM:Register("sound", "|cff00FF96SoundBox|r: jotaeme", [[Interface\Addons\SoundBox_Simios\sounds\jotaeme.ogg]])
30-
LSM:Register("sound", "|cff00FF96SoundBox|r: kala", [[Interface\Addons\SoundBox_Simios\sounds\kala.ogg]])
31-
LSM:Register("sound", "|cff00FF96SoundBox|r: keydeath", [[Interface\Addons\SoundBox_Simios\sounds\keydeath.ogg]])
32-
LSM:Register("sound", "|cff00FF96SoundBox|r: krillin", [[Interface\Addons\SoundBox_Simios\sounds\krillin.ogg]])
33-
LSM:Register("sound", "|cff00FF96SoundBox|r: kya", [[Interface\Addons\SoundBox_Simios\sounds\kya.ogg]])
34-
LSM:Register("sound", "|cff00FF96SoundBox|r: llave", [[Interface\Addons\SoundBox_Simios\sounds\llave.ogg]])
35-
LSM:Register("sound", "|cff00FF96SoundBox|r: marvelf", [[Interface\Addons\SoundBox_Simios\sounds\marvelf.ogg]])
36-
LSM:Register("sound", "|cff00FF96SoundBox|r: marvelv", [[Interface\Addons\SoundBox_Simios\sounds\marvelv.ogg]])
37-
LSM:Register("sound", "|cff00FF96SoundBox|r: medusac", [[Interface\Addons\SoundBox_Simios\sounds\medusac.ogg]])
38-
LSM:Register("sound", "|cff00FF96SoundBox|r: medusai", [[Interface\Addons\SoundBox_Simios\sounds\medusai.ogg]])
39-
LSM:Register("sound", "|cff00FF96SoundBox|r: migattef", [[Interface\Addons\SoundBox_Simios\sounds\migattef.ogg]])
40-
LSM:Register("sound", "|cff00FF96SoundBox|r: niconi", [[Interface\Addons\SoundBox_Simios\sounds\niconi.ogg]])
41-
LSM:Register("sound", "|cff00FF96SoundBox|r: ono", [[Interface\Addons\SoundBox_Simios\sounds\ono.ogg]])
42-
LSM:Register("sound", "|cff00FF96SoundBox|r: padoru", [[Interface\Addons\SoundBox_Simios\sounds\padoru.ogg]])
43-
LSM:Register("sound", "|cff00FF96SoundBox|r: padresito", [[Interface\Addons\SoundBox_Simios\sounds\padresito.ogg]])
44-
LSM:Register("sound", "|cff00FF96SoundBox|r: paw", [[Interface\Addons\SoundBox_Simios\sounds\paw.ogg]])
45-
LSM:Register("sound", "|cff00FF96SoundBox|r: peruca", [[Interface\Addons\SoundBox_Simios\sounds\peruca.ogg]])
46-
LSM:Register("sound", "|cff00FF96SoundBox|r: pillarmen", [[Interface\Addons\SoundBox_Simios\sounds\pillarmen.ogg]])
47-
LSM:Register("sound", "|cff00FF96SoundBox|r: plusultra", [[Interface\Addons\SoundBox_Simios\sounds\plusultra.ogg]])
48-
LSM:Register("sound", "|cff00FF96SoundBox|r: rain", [[Interface\Addons\SoundBox_Simios\sounds\rain.ogg]])
49-
LSM:Register("sound", "|cff00FF96SoundBox|r: rikis", [[Interface\Addons\SoundBox_Simios\sounds\rikis.ogg]])
50-
LSM:Register("sound", "|cff00FF96SoundBox|r: sharkano", [[Interface\Addons\SoundBox_Simios\sounds\sharkano.ogg]])
51-
LSM:Register("sound", "|cff00FF96SoundBox|r: titanicl", [[Interface\Addons\SoundBox_Simios\sounds\titanicl.ogg]])
52-
LSM:Register("sound", "|cff00FF96SoundBox|r: turtles", [[Interface\Addons\SoundBox_Simios\sounds\turtles.ogg]])
53-
LSM:Register("sound", "|cff00FF96SoundBox|r: uoh", [[Interface\Addons\SoundBox_Simios\sounds\uoh.ogg]])
54-
LSM:Register("sound", "|cff00FF96SoundBox|r: violinl", [[Interface\Addons\SoundBox_Simios\sounds\violinl.ogg]])
55-
LSM:Register("sound", "|cff00FF96SoundBox|r: wolfis", [[Interface\Addons\SoundBox_Simios\sounds\wolfis.ogg]])
56-
LSM:Register("sound", "|cff00FF96SoundBox|r: xaxs", [[Interface\Addons\SoundBox_Simios\sounds\xaxs.ogg]])
57-
LSM:Register("sound", "|cff00FF96SoundBox|r: yametekudasai", [[Interface\Addons\SoundBox_Simios\sounds\yametekudasai.ogg]])
58-
LSM:Register("sound", "|cff00FF96SoundBox|r: yare", [[Interface\Addons\SoundBox_Simios\sounds\yare.ogg]])
59-
LSM:Register("sound", "|cff00FF96SoundBox|r: yubarta", [[Interface\Addons\SoundBox_Simios\sounds\yubarta.ogg]])
60-
LSM:Register("sound", "|cff00FF96SoundBox|r: zawarudo", [[Interface\Addons\SoundBox_Simios\sounds\zawarudo.ogg]])
6+
LSM:Register("sound", "|cff00FF96SoundBox|r: aleluya", [[Interface\Addons\SoundBox_Custom\sounds\aleluya.ogg]])
7+
LSM:Register("sound", "|cff00FF96SoundBox|r: allahu", [[Interface\Addons\SoundBox_Custom\sounds\allahu.ogg]])
8+
LSM:Register("sound", "|cff00FF96SoundBox|r: antinomy", [[Interface\Addons\SoundBox_Custom\sounds\antinomy.ogg]])
9+
LSM:Register("sound", "|cff00FF96SoundBox|r: ara", [[Interface\Addons\SoundBox_Custom\sounds\ara.ogg]])
10+
LSM:Register("sound", "|cff00FF96SoundBox|r: artemis", [[Interface\Addons\SoundBox_Custom\sounds\artemis.ogg]])
11+
LSM:Register("sound", "|cff00FF96SoundBox|r: artemisf", [[Interface\Addons\SoundBox_Custom\sounds\artemisf.ogg]])
12+
LSM:Register("sound", "|cff00FF96SoundBox|r: babyshark", [[Interface\Addons\SoundBox_Custom\sounds\babyshark.ogg]])
13+
LSM:Register("sound", "|cff00FF96SoundBox|r: bhl", [[Interface\Addons\SoundBox_Custom\sounds\bhl.ogg]])
14+
LSM:Register("sound", "|cff00FF96SoundBox|r: cabra", [[Interface\Addons\SoundBox_Custom\sounds\cabra.ogg]])
15+
LSM:Register("sound", "|cff00FF96SoundBox|r: cato", [[Interface\Addons\SoundBox_Custom\sounds\cato.ogg]])
16+
LSM:Register("sound", "|cff00FF96SoundBox|r: cris", [[Interface\Addons\SoundBox_Custom\sounds\cris.ogg]])
17+
LSM:Register("sound", "|cff00FF96SoundBox|r: daniel", [[Interface\Addons\SoundBox_Custom\sounds\daniel.ogg]])
18+
LSM:Register("sound", "|cff00FF96SoundBox|r: danielban", [[Interface\Addons\SoundBox_Custom\sounds\danielban.ogg]])
19+
LSM:Register("sound", "|cff00FF96SoundBox|r: desik", [[Interface\Addons\SoundBox_Custom\sounds\desik.ogg]])
20+
LSM:Register("sound", "|cff00FF96SoundBox|r: digievo", [[Interface\Addons\SoundBox_Custom\sounds\digievo.ogg]])
21+
LSM:Register("sound", "|cff00FF96SoundBox|r: dunga", [[Interface\Addons\SoundBox_Custom\sounds\dunga.ogg]])
22+
LSM:Register("sound", "|cff00FF96SoundBox|r: duri", [[Interface\Addons\SoundBox_Custom\sounds\duri.ogg]])
23+
LSM:Register("sound", "|cff00FF96SoundBox|r: endouken", [[Interface\Addons\SoundBox_Custom\sounds\endouken.ogg]])
24+
LSM:Register("sound", "|cff00FF96SoundBox|r: gratz", [[Interface\Addons\SoundBox_Custom\sounds\gratz.ogg]])
25+
LSM:Register("sound", "|cff00FF96SoundBox|r: gurgura", [[Interface\Addons\SoundBox_Custom\sounds\gurgura.ogg]])
26+
LSM:Register("sound", "|cff00FF96SoundBox|r: haha", [[Interface\Addons\SoundBox_Custom\sounds\haha.ogg]])
27+
LSM:Register("sound", "|cff00FF96SoundBox|r: hahaha", [[Interface\Addons\SoundBox_Custom\sounds\hahaha.ogg]])
28+
LSM:Register("sound", "|cff00FF96SoundBox|r: icarus", [[Interface\Addons\SoundBox_Custom\sounds\icarus.ogg]])
29+
LSM:Register("sound", "|cff00FF96SoundBox|r: jotaeme", [[Interface\Addons\SoundBox_Custom\sounds\jotaeme.ogg]])
30+
LSM:Register("sound", "|cff00FF96SoundBox|r: kala", [[Interface\Addons\SoundBox_Custom\sounds\kala.ogg]])
31+
LSM:Register("sound", "|cff00FF96SoundBox|r: keydeath", [[Interface\Addons\SoundBox_Custom\sounds\keydeath.ogg]])
32+
LSM:Register("sound", "|cff00FF96SoundBox|r: krillin", [[Interface\Addons\SoundBox_Custom\sounds\krillin.ogg]])
33+
LSM:Register("sound", "|cff00FF96SoundBox|r: kya", [[Interface\Addons\SoundBox_Custom\sounds\kya.ogg]])
34+
LSM:Register("sound", "|cff00FF96SoundBox|r: llave", [[Interface\Addons\SoundBox_Custom\sounds\llave.ogg]])
35+
LSM:Register("sound", "|cff00FF96SoundBox|r: marvelf", [[Interface\Addons\SoundBox_Custom\sounds\marvelf.ogg]])
36+
LSM:Register("sound", "|cff00FF96SoundBox|r: marvelv", [[Interface\Addons\SoundBox_Custom\sounds\marvelv.ogg]])
37+
LSM:Register("sound", "|cff00FF96SoundBox|r: medusac", [[Interface\Addons\SoundBox_Custom\sounds\medusac.ogg]])
38+
LSM:Register("sound", "|cff00FF96SoundBox|r: medusai", [[Interface\Addons\SoundBox_Custom\sounds\medusai.ogg]])
39+
LSM:Register("sound", "|cff00FF96SoundBox|r: migattef", [[Interface\Addons\SoundBox_Custom\sounds\migattef.ogg]])
40+
LSM:Register("sound", "|cff00FF96SoundBox|r: niconi", [[Interface\Addons\SoundBox_Custom\sounds\niconi.ogg]])
41+
LSM:Register("sound", "|cff00FF96SoundBox|r: ono", [[Interface\Addons\SoundBox_Custom\sounds\ono.ogg]])
42+
LSM:Register("sound", "|cff00FF96SoundBox|r: padoru", [[Interface\Addons\SoundBox_Custom\sounds\padoru.ogg]])
43+
LSM:Register("sound", "|cff00FF96SoundBox|r: padresito", [[Interface\Addons\SoundBox_Custom\sounds\padresito.ogg]])
44+
LSM:Register("sound", "|cff00FF96SoundBox|r: paw", [[Interface\Addons\SoundBox_Custom\sounds\paw.ogg]])
45+
LSM:Register("sound", "|cff00FF96SoundBox|r: peruca", [[Interface\Addons\SoundBox_Custom\sounds\peruca.ogg]])
46+
LSM:Register("sound", "|cff00FF96SoundBox|r: pillarmen", [[Interface\Addons\SoundBox_Custom\sounds\pillarmen.ogg]])
47+
LSM:Register("sound", "|cff00FF96SoundBox|r: plusultra", [[Interface\Addons\SoundBox_Custom\sounds\plusultra.ogg]])
48+
LSM:Register("sound", "|cff00FF96SoundBox|r: rain", [[Interface\Addons\SoundBox_Custom\sounds\rain.ogg]])
49+
LSM:Register("sound", "|cff00FF96SoundBox|r: rikis", [[Interface\Addons\SoundBox_Custom\sounds\rikis.ogg]])
50+
LSM:Register("sound", "|cff00FF96SoundBox|r: sharkano", [[Interface\Addons\SoundBox_Custom\sounds\sharkano.ogg]])
51+
LSM:Register("sound", "|cff00FF96SoundBox|r: titanicl", [[Interface\Addons\SoundBox_Custom\sounds\titanicl.ogg]])
52+
LSM:Register("sound", "|cff00FF96SoundBox|r: turtles", [[Interface\Addons\SoundBox_Custom\sounds\turtles.ogg]])
53+
LSM:Register("sound", "|cff00FF96SoundBox|r: uoh", [[Interface\Addons\SoundBox_Custom\sounds\uoh.ogg]])
54+
LSM:Register("sound", "|cff00FF96SoundBox|r: violinl", [[Interface\Addons\SoundBox_Custom\sounds\violinl.ogg]])
55+
LSM:Register("sound", "|cff00FF96SoundBox|r: wolfis", [[Interface\Addons\SoundBox_Custom\sounds\wolfis.ogg]])
56+
LSM:Register("sound", "|cff00FF96SoundBox|r: xaxs", [[Interface\Addons\SoundBox_Custom\sounds\xaxs.ogg]])
57+
LSM:Register(
58+
"sound",
59+
"|cff00FF96SoundBox|r: yametekudasai",
60+
[[Interface\Addons\SoundBox_Custom\sounds\yametekudasai.ogg]]
61+
)
62+
LSM:Register("sound", "|cff00FF96SoundBox|r: yare", [[Interface\Addons\SoundBox_Custom\sounds\yare.ogg]])
63+
LSM:Register("sound", "|cff00FF96SoundBox|r: yubarta", [[Interface\Addons\SoundBox_Custom\sounds\yubarta.ogg]])
64+
LSM:Register("sound", "|cff00FF96SoundBox|r: zawarudo", [[Interface\Addons\SoundBox_Custom\sounds\zawarudo.ogg]])

0 commit comments

Comments
 (0)