So I was looking to add a sound file for warnings. I googled a bit had little luck finding anything. There does not seem to be an option and theres no obvious place in the dbm folders to add a sound file so it appears in the list of sounds.
So how would I go about getting this done?
edit: Found info on SharedMedia but I am struggling to get this to work I have done the following:
Downloaded Sharedmedia and Libstub addons via Curse Client
Added a MyMedia folde rint he addons folder
Copied the libs folder from SharedMedia to the My Media folder
Created the following text files
## Interface: 40100 ## Title: SharedMedia - MyMedia ## Notes: Inserts some media into LibSharedMedia's storage. ## Version: 3.0.4-179 ## Author: Elkano ## OptionalDeps: LibStub, LibSharedMedia-3.0 #@no-lib-strip@ libs\LibStub\LibStub.lua libs\CallbackHandler-1.0\CallbackHandler-1.0.lua libs\LibSharedMedia-3.0\lib.xml #@end-no-lib-strip@ MyMedia.lua
saved this as MyMedia.toc in the MyMedia folder as "All files"
As well as this text file
local LSM = LibStub("LibSharedMedia-3.0") LSM:Register("sound",[[Interface\AddOns\MyMedia\sound\dodge.mp3]])
I also added a folder callefd sound tot he my Media folder and added the dodge.mp3 file to it
I feel I am close and assume I have screwed something up in the code above.
Edited by Thanøs, 05 June 2014 - 05:28 PM.