A simpler way to reset a LMS stream (assume its stream-id is 1007) with the API is:
# Stop the background stream process
curl -X POST "http://amplipi.local/api/streams/1007/deactivate"
# Start it back up
curl -X POST "http://amplipi.local/api/streams/1007/activate"
We’ve been meaning to add support for resetting a stream in the web UI but haven’t found a good way to integrate it yet.