Regional FlagChanges to PlayMusic() API Call in 7.0?Source
avatar
Caedea
Target Source
#1 - 2016/07/20 12:53:00 AM
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.

avatar
Community Manager
Target Source
#11 - 2016/07/28 07:49:00 PM
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).

avatar
Community Manager
Target Source
#23 - 2016/09/19 11:22:00 PM
We've fixed this in Patch 7.1 and we think it's working properly.