Esempio n. 1
0
        public void SendProgressUpdate(Song song, QueryTrackProgress progress)
        {
            foreach (var obj in _pcqList)
            {
                var prog = new QueryProgress()
                {
                    Song = new QuerySong()
                    {
                        Artist = song.Artist,
                        Album = song.Album,
                        Title = song.SongTitle,
                        Meta = song.GetMetaObject(obj)
                    },
                    Progress = progress
                };

                obj.ProgressUpdateReciever(prog);
            }
        }
        public void SendProgressUpdate(Song song, QueryTrackProgress progress)
        {
            foreach (var obj in _pcqList)
            {
                var prog = new QueryProgress()
                {
                    Song = new QuerySong()
                    {
                        Artist = song.Artist,
                        Album  = song.Album,
                        Title  = song.SongTitle,
                        Meta   = song.GetMetaObject(obj)
                    },
                    Progress = progress
                };

                obj.ProgressUpdateReciever(prog);
            }
        }