Commit c53258f1 authored by Ivaria's avatar Ivaria
Browse files

-- Safer sound playback for profiles created w/ old versions of LSM (pre 2010?)

parent ce27e895
## Interface: 80200
## Title: VuhDo ['vu:du:]
## Author: Iza@Gilneas, humfras, Ivaria@Hyjal
## Version: 3.105
## Version: 3.106
## Notes: Raid Frames providing click-heal functionality, buff and debuff control, main tank management and much more
## SavedVariablesPerCharacter: VUHDO_CONFIG, VUHDO_PANEL_SETUP, VUHDO_SPELL_ASSIGNMENTS, VUHDO_HOSTILE_SPELL_ASSIGNMENTS, VUHDO_MM_SETTINGS, VUHDO_PLAYER_TARGETS, VUHDO_MAINTANK_NAMES, VUHDO_BUFF_SETTINGS, VUHDO_POWER_TYPE_COLORS, VUHDO_SPELLS_KEYBOARD, VUHDO_SPELL_CONFIG, VUHDO_BUFF_ORDER, VUHDO_SPEC_LAYOUTS, VUHDO_GROUP_SIZE, VUHDO_RAID, VUHDO_INDICATOR_CONFIG
## SavedVariables: VUHDO_DEFAULT_LAYOUT, VUHDO_DEFAULT_PROFILE, VUHDO_PROFILES, VUHDO_MANUAL_ROLES, VUHDO_SPELL_LAYOUTS, VUHDO_USER_CLASS_COLORS, VUHDO_DEBUFF_BLACKLIST, VUHDO_BOUQUETS, VUHDO_COMBAT_LOG_TRACE, VUHDO_GLOBAL_CONFIG, VUHDO_DEBUG
......
## Interface: 80200
## Title: VuhDo ['vu:du:] - Options
## Author: Iza@Gilneas, humfras, Ivaria@Hyjal
## Version: 3.105
## Version: 3.106
## Notes: VuhDo Options
## SavedVariables: VUHDO_OPTIONS_SETTINGS
## SavedVariablesPerCharacter: VUHDO_GLOBAL_ICONS, VUHDO_GI_SCAN_IDX
......
......@@ -1000,26 +1000,31 @@ end
function VUHDO_playSoundFile(aSound)
if (aSound and aSound == "Interface\\Quiet.ogg") then
if (aSound and (aSound == "Interface\\Quiet.ogg" or aSound == "Interface\\Quiet.mp3")) then
-- sweep and reset any sound settings referencing the old 'none' LSM default
for _, tDebuffInfo in pairs(VUHDO_CONFIG["CUSTOM_DEBUFF"]["STORED_SETTINGS"]) do
if (tDebuffInfo["SOUND"] and tDebuffInfo["SOUND"] == "Interface\\Quiet.ogg") then
if (tDebuffInfo["SOUND"] and
(tDebuffInfo["SOUND"] == "Interface\\Quiet.ogg" or
tDebuffInfo["SOUND"] == "Interface\\Quiet.mp3")) then
tDebuffInfo["SOUND"] = nil;
end
end
-- reset custom debuff default sound if set to old 'none' LSM default
if (VUHDO_CONFIG["CUSTOM_DEBUFF"]["SOUND"] and
VUHDO_CONFIG["CUSTOM_DEBUFF"]["SOUND"] == "Interface\\Quiet.ogg") then
(VUHDO_CONFIG["CUSTOM_DEBUFF"]["SOUND"] == "Interface\\Quiet.ogg" or
VUHDO_CONFIG["CUSTOM_DEBUFF"]["SOUND"] == "Interface\\Quiet.mp3")) then
VUHDO_CONFIG["CUSTOM_DEBUFF"]["SOUND"] = nil;
end
-- reset standard debuff sound if set to old 'none' LSM default
if (VUHDO_CONFIG["SOUND_DEBUFF"] and VUHDO_CONFIG["SOUND_DEBUFF"] == "Interface\\Quiet.ogg") then
if (VUHDO_CONFIG["SOUND_DEBUFF"] and
(VUHDO_CONFIG["SOUND_DEBUFF"] == "Interface\\Quiet.ogg" or
VUHDO_CONFIG["SOUND_DEBUFF"] == "Interface\\Quiet.mp3")) then
VUHDO_CONFIG["SOUND_DEBUFF"] = nil;
end
-- return success because we've played nothing as requested (ie. Quiet.ogg)
-- return success because we've played nothing as requested (eg. Quiet.ogg)
return true;
end
......
Version 3.106
Known issues:
-- BfA stat squish cleanup still a work in progress
-- AOE Advice spell equations need complete overhaul
-- Some text providers need changes to better display small numbers
-- Debuff tooltips are currently bugged when using ElvUI
-- Deselect 'VuhDo Options > Panels > Tooltips > Tooltips > Debuffs'
-- In 8.2.0 Blizzard removed the ability to play sounds by file path
-- If you have LibSharedMedia installed make sure it is up to date
-- You may need to reselect your sound options in VuhDo for debuffs
-- VuhDo Options frame cannot be moved due to a bug introduced in 8.2
Bugfixes:
-- Safer sound playback for profiles created w/ old versions of LSM
Improvements:
--------------------------------------------------------------
Version 3.105
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment