コード例 #1
0
        /// <summary>
        /// called from ConfirmDevice() (.. from an agent) or a user edit of the device
        /// fills out runtime playlist info and syncs with the play manager
        /// q1? shoudl playlist be created/validated here??
        /// </summary>
        /// <param name="device"></param>
        /// <returns></returns>
        private async Task SyncDeviceWithPlayManager(Device device)
        {
            await musicDb.FillPlaylistForRuntime(device.Playlist);

            await playManager.UpdateDeviceRuntime(device);
        }