Currently the library does not allow creation of a share with an array of item ID's. Only allows a singular ID as string.
Types need updating to allow for an array of string ID's.
As per the subsonic API doc:
"Use one id parameter for each entry to share."