This is not caused by anything music-app is doing or even the media playback stack. I need to find the bug report already filed for this at the appropriate level. Thanks for reporting this bug though.
** Changed in: music-app Status: New => Invalid -- You received this bug notification because you are a member of Unity API bugs, which is subscribed to Network Menu. https://bugs.launchpad.net/bugs/1447077 Title: Playback is paused briefly when switching airplane mode or enable/disable WiFi Status in Network Menu: New Status in Music application for Ubuntu devices: Invalid Bug description: The playback of music (stored on the phone, playing in the background) is paused briefly when toggling the airplane mode or when toggling WiFi in the System settings. However, toggling Bluetooth does not affect the music playback. There should be no music playback pauses when toggling networking settings (Airplane mode, enable/disable WiFi). To manage notifications about this bug go to: https://bugs.launchpad.net/indicator-network/+bug/1447077/+subscriptions -- Mailing list: https://launchpad.net/~unity-api-bugs Post to : unity-api-bugs@lists.launchpad.net Unsubscribe : https://launchpad.net/~unity-api-bugs More help : https://help.launchpad.net/ListHelp