[PATCH] StreamUrl metadata not included in stream
Hello,
When setting the metadata over admin interface, the url parameter is ignored. For example, if the metadata is set with the following call:
http://192.168.1.10:8000/admin/metadata?mount=/mystream&mode=updinfo&song=ACDC+Back+In+Black&url=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FAC%2FDC
I would expect to see the following in the stream:
StreamTitle='ACDC Back In Black';StreamUrl='https://en.wikipedia.org/wiki/AC/DC';
However, only the StreamTitle gets propagated. Looking into the code, most of the support is there, only missing the functionality to save the 'url' parameter in the admin section. Attached is a tested patch.
Cheers, Joakim @ Radio Sweden/Sveriges Radio
Edit: realised there were some tabs instead of spaces in the patch.
Edited by Joakim Lagerqvist