コード例 #1
0
ファイル: RoomManager.cs プロジェクト: Volkarl/Soundche
        public void ConnectPlaylist(Playlist playlist, User user)
        {
            // Adds the playlist to the playback and starts the playback (if it isn't already started)
            // Note that adding one playlist multiple times is allowed and should not cause any issues

            PlaylistController.AddPlaylist(playlist, user);
            if (CurrentTrack == null)
            {
                StartNextSong();
            }
        }