Exemple #1
0
        public async Task <IActionResult> PlayItem(string deviceKey, int major, int minor)
        {
            var position = new PlaylistPosition(major, minor);
            //var sn = await playManager.PlaySequenceNumber(deviceKey, major);
            var sn = await playManager.PlaySequenceNumber(deviceKey, position);

            return(SuccessResult(sn));
        }