Changes to PlayMusic() API Call in 7.0?

#1 - July 20, 2016, 12:53 a.m.
Blizzard Post
Hi there, just curious if anything about the PlayMusic() API function was changed that would cause it to no longer work with custom MP3 files in an AddOn folder.

I have an AddOn written that stopped working after the patch today, and I've debugged to the point that it can only be this specific call anymore. Calling PlayMusic() with a music file in the AddOns folder also does nothing when run through a /script command in-game. Here's the bit of code in question:

PlayMusic("Interface\\AddOns\\SimplyMusic\\Music\\" .. track .. ".mp3");

Worth noting, playing existing game music (i.e. classic login screen music) works just fine when called through an in-game /script command.
Forum Avatar
Community Manager
#11 - July 28, 2016, 7:49 p.m.
Blizzard Post
This has been identified as an issue that our development team intends to fix with a future patch (after the launch of Legion on August 30).
Forum Avatar
Community Manager
#23 - Sept. 19, 2016, 11:22 p.m.
Blizzard Post
We've fixed this in Patch 7.1 and we think it's working properly.