local addon, ns = ...
local cfg = {}
ns.cfg = cfg

cfg.favorite = false    -- id # of soundtrack to use, see below. Set to false for random.
cfg.alwaysOn = true -- true: pet battle music plays even if regular music is disabled.
                    -- false: pet battle music plays only if regular music is enabled.

--[[
Add new soundtrack entries as follows:
{
  wild  = {
    open  = "File\\Path\\To\\Wild\\Battle\\Opening\\Theme", oDur = durationInSec,
    loop  = "File\\Path\\To\\Loopable\\Wild\\Battle\\Theme",
    vict  = "File\\Path\\To\\Wild\\Battle\\Victory\\Theme", vDur = durationInSec,
  },
  train = {
    open  = "File\\Path\\To\\Trainer\\Battle\\Opening\\Theme", oDur = durationInSec,
    loop  = "File\\Path\\To\\Loopable\\Trainer\\Battle\\Theme",
    vict  = "File\\Path\\To\\Trainer\\Battle\\Victory\\Theme", vDur = durationInSec,
  }
}
The new entry's id number is simply its position in the list, from top to bottom. 
Tip: the .ogg format makes seamless looping a lot easier.
]]--  

cfg.music= {                

{-- 1: Pokemon Red, Blue, and Yellow
  wild  = {
    open  = "Interface\\AddOns\\IChooseYou\\Music\\RBWildOpen.ogg",   oDur = 28.739,
    loop  = "Interface\\AddOns\\IChooseYou\\Music\\RBWildLoop.ogg",
    vict  = "Interface\\AddOns\\IChooseYou\\Music\\RBWildVict.ogg",   vDur = 15.8,
  },
  train = {--
    open  = "Interface\\AddOns\\IChooseYou\\Music\\RBTrainOpen.ogg",  oDur = 14.1,
    loop  = "Interface\\AddOns\\IChooseYou\\Music\\RBTrainLoop.ogg",
    vict  = "Interface\\AddOns\\IChooseYou\\Music\\RBTrainVict.ogg",  vDur = 13.6,
  }
},
{-- 2: Pokemon Gold, Silver, and Crystal
  wild  = {--
    open  = "Interface\\AddOns\\IChooseYou\\Music\\GSWildOpen.ogg",   oDur = 13.1,
    loop  = "Interface\\AddOns\\IChooseYou\\Music\\GSWildLoop.ogg",
    vict  = "Interface\\AddOns\\IChooseYou\\Music\\GSWildVict.ogg",   vDur = 16.4,
  },
  train = {--
    open  = "Interface\\AddOns\\IChooseYou\\Music\\GSTrainOpen.ogg",  oDur = 12.9,
    loop  = "Interface\\AddOns\\IChooseYou\\Music\\GSTrainLoop.ogg",
    vict  = "Interface\\AddOns\\IChooseYou\\Music\\GSTrainVict.ogg",  vDur = 15.3,
  }
},
{-- 3: Pokemon Ruby, Sapphire, and Emerald
  wild  = {
    open  = "Interface\\AddOns\\IChooseYou\\Music\\RSWildOpen.ogg",   oDur = 17.293,
    loop  = "Interface\\AddOns\\IChooseYou\\Music\\RSWildLoop.ogg",
    vict  = "Interface\\AddOns\\IChooseYou\\Music\\RSWildVict.ogg",   vDur = 19.936,
  },
  train = {
    open  = "Interface\\AddOns\\IChooseYou\\Music\\RSTrainOpen.ogg",  oDur = 17.090,
    loop  = "Interface\\AddOns\\IChooseYou\\Music\\RSTrainLoop.ogg",
    vict  = "Interface\\AddOns\\IChooseYou\\Music\\RSTrainVict.ogg",  vDur = 19.356,
  }
},
{-- 4: Pokemon FireRed and LeafGreen
  wild  = {
    open  = "Interface\\AddOns\\IChooseYou\\Music\\FLWildOpen.ogg",   oDur = 13.34,
    loop  = "Interface\\AddOns\\IChooseYou\\Music\\FLWildLoop.ogg",
    vict  = "Interface\\AddOns\\IChooseYou\\Music\\FLWildVict.ogg",   vDur = 18.608,
  },
  train = {
    open  = "Interface\\AddOns\\IChooseYou\\Music\\FLTrainOpen.ogg",  oDur = 14.064,
    loop  = "Interface\\AddOns\\IChooseYou\\Music\\FLTrainLoop.ogg",
    vict  = "Interface\\AddOns\\IChooseYou\\Music\\FLTrainVict.ogg",  vDur = 19.042,
  }
},
{-- 5: Pokemon Diamond, Pearl, and Platinum
  wild  = {
    open  = "Interface\\AddOns\\IChooseYou\\Music\\DPWildOpen.ogg",   oDur = 13.064,
    loop  = "Interface\\AddOns\\IChooseYou\\Music\\DPWildLoop.ogg",
    vict  = "Interface\\AddOns\\IChooseYou\\Music\\DPWildVict.ogg",   vDur = 14.288,
  },
  train = {
    open  = "Interface\\AddOns\\IChooseYou\\Music\\DPTrainOpen.ogg",  oDur = 13.1,
    loop  = "Interface\\AddOns\\IChooseYou\\Music\\DPTrainLoop.ogg",
    vict  = "Interface\\AddOns\\IChooseYou\\Music\\DPTrainVict.ogg",  vDur = 16.981,
  }
},
{-- 6: Pokemon HeartGold and SoulSilver
  wild  = {
    open  = "Interface\\AddOns\\IChooseYou\\Music\\HSWildOpen.ogg",   oDur = 15.825,
    loop  = "Interface\\AddOns\\IChooseYou\\Music\\HSWildLoop.ogg",
    vict  = "Interface\\AddOns\\IChooseYou\\Music\\HSWildVict.ogg",   vDur = 16.799,
  },
  train = {
    open  = "Interface\\AddOns\\IChooseYou\\Music\\HSTrainOpen.ogg",  oDur = 23.4,
    loop  = "Interface\\AddOns\\IChooseYou\\Music\\HSTrainLoop.ogg",
    vict  = "Interface\\AddOns\\IChooseYou\\Music\\HSTrainVict.ogg",  vDur = 16.216,
  }
},

}