You could use a transformation instead of a literal message value as described under “transformation” here:
transformation Rule defining how to create the message content. Transformations are defined in the format of TRANSFORMATION_NAME(transformation_function). Allowed values are ‘default’ or any of the transformers provided in the org.openhab.core.transform bundle. Custom transformations can be contributed directly to the transform bundle by making the Transformation available through Declarative Services. Any other value than the above types will be interpreted as static text, in which case this text is used as the message content.
So you could have JS(myurl.js) having the content:
result = "http://tx.sharp-stream.com/http_live.php?i=teamrock.mp3";