scripts/default-routes.lua: profile route info serialization issue
This is my saved profile routes:
alsa_card.pci-0000_03_04.0:profile:output:analog-stereo+input:analog-stereo=analog-output;output-headphones-1;analog-input-mic;
The route info name for my output is "analog-output;output-headphones-1"
The route info name for my input is "analog-input-mic"
Since the output route contains a semicolon, the parseArray
function will return a table with three values like this:
{"analog-output", "output-headphones-1", "analog-input-mic"}
This causes the findSavedRoute
function to fail and not be able to restore the saved route.