| | |
| | | { |
| | | scene.functions.Remove(temp); |
| | | } |
| | | //else |
| | | { |
| | | scene.functions.Insert(0, sceneFunction); |
| | | |
| | | |
| | | if (sceneFunction.localFunction.spk == SPK.MusicStandard) |
| | | { |
| | | if (sceneFunction.status.Find((obj) => obj.key == FunctionAttributeKey.PlaylistName) == null) |
| | | { |
| | | if (isOnStatus) |
| | | { |
| | | var songNameStatus = sceneFunction.status.Find((obj) => obj.key == FunctionAttributeKey.SongName); |
| | | { |
| | | if (songNameStatus != null) |
| | | { |
| | | if (string.IsNullOrEmpty(songNameStatus.value)) |
| | | { |
| | | sceneFunction.status.Add(new SceneFunctionStatus() { key = FunctionAttributeKey.PlaylistName, value = "hdl_special" }); |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | if (!string.IsNullOrEmpty(scene.userSceneId)) |
| | | { |