protected override void IterateCore(HyenaDataReader reader)
        {
            var track = new LyricsTrackInfo() {
                ArtistName = reader.Get<string> (1),
                TrackTitle = reader.Get<string> (2),
                PrimarySource = ServiceManager.SourceManager.MusicLibrary,
                Uri = new SafeUri (reader.Get<string> (3)),
                DbId = reader.Get<int> (0),
            };

            Status = String.Format (AddinManager.CurrentLocalizer.GetString ("{0} - {1}"),
                                    track.ArtistName, track.TrackTitle);
            DownloadLyrics (track);
        }
Пример #2
0
        protected override void IterateCore(HyenaDataReader reader)
        {
            var track = new LyricsTrackInfo()
            {
                ArtistName    = reader.Get <string> (1),
                TrackTitle    = reader.Get <string> (2),
                PrimarySource = ServiceManager.SourceManager.MusicLibrary,
                Uri           = new SafeUri(reader.Get <string> (3)),
                DbId          = reader.Get <int> (0),
            };

            Status = String.Format(AddinManager.CurrentLocalizer.GetString("{0} - {1}"),
                                   track.ArtistName, track.TrackTitle);
            DownloadLyrics(track);
        }