plugin.musicStreaming bug

Thank you for the plugin.

When I start a stream it plays fine. But if I stop it and start a new one my app crashes. This happens both on the simulator and on iOS devices.

Here is the code to reproduce the behavior.

local ms = require "plugin.musicStreaming" ms.init() local url = "http://a32.phobos.apple.com/us/r2000/008/Music1/v4/38/ba/dc/38badc42-3094-880e-a2a6-6f8f87659c41/mzaf\_808005972140680394.plus.aac.p.m4a" ms.play(url, function()     timer.performWithDelay( 3000, function()         ms.stop()         timer.performWithDelay( 3000, function()             ms.play(url, function() -- Crashes here!!                 timer.performWithDelay( 3000, function()                     ms.stop()                 end )             end )         end )     end ) end )

Interesteding will look at this first thing tomorrow when I get a chance. Thanks for reporting.

fixed, will post update tomorrow  :slight_smile:

update pushed, it should takes up an hour to receive the update. 

edit: Fixed in my latest test.

Great thanks. I tested it too and it works as expected.

By the way the console says “hello127” when calling the play function :slight_smile:

Yah noticed that, that will take about about a month to fix :wink: (will fix this by tonight)