You can now specify a player name together with the favorite name when using the PlayFavorite command. Same is true for the PlayPlaylist command. :cool:
If you say e.g. "Play favorite Radio Paradise *on the* Kitchen player", the bridge /(?:in|on)\s(?:the)?\s?/i will be used to split your utterance. If the portion after the split (fuzzy) matches one of your player names, that will be taken as the player to target and the leftmost portion before the bridge will be used as the favorite name to match against. If there's no match post-bridge against a player name, the bridge is assumed to be part of the actual favorite name itself and the split is abandoned. None of this applies when using the Stream variant of both commands as in that case there never is a player specification (the Echo itself is the inherent target). See https://mediaserver.smartskills.tech/commandref/PlayFavorite.html#34 and https://mediaserver.smartskills.tech/commandref/PlayPlaylist.html#37 for details. Enjoy! ------------------------------------------------------------------------ philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920 View this thread: http://forums.slimdevices.com/showthread.php?t=111016 _______________________________________________ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins