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

            Status = String.Format(AddinManager.CurrentLocalizer.GetString("{0} - {1}"), track.ArtistName, track.AlbumTitle);
            WriteArt(track);
        }
Esempio n. 2
0
        protected override void IterateCore(HyenaDataReader reader)
        {
            var track = new CoverartTrackInfo()
            {
                AlbumTitle    = reader.Get <string> (1),
                ArtistName    = reader.Get <string> (2),
                PrimarySource = ServiceManager.SourceManager.MusicLibrary,
                Uri           = new SafeUri(reader.Get <string> (3)),
                DbId          = reader.Get <long> (4),
                AlbumId       = reader.Get <long> (0)
            };

            Status = String.Format(Catalog.GetString("{0} - {1}"), track.ArtistName, track.AlbumTitle);
            FetchForTrack(track);
        }
Esempio n. 3
0
        protected override void IterateCore(HyenaDataReader reader)
        {
            var track = new CoverartTrackInfo () {
                AlbumTitle = reader.Get<string> (1),
                ArtistName = reader.Get<string> (2),
                PrimarySource = ServiceManager.SourceManager.MusicLibrary,
                Uri = new SafeUri (reader.Get<string> (3)),
                DbId = reader.Get<long> (4),
                AlbumId = reader.Get<long> (0)
            };

            Status = String.Format (Catalog.GetString ("{0} - {1}"), track.ArtistName, track.AlbumTitle);
            FetchForTrack (track);
        }
        protected override void IterateCore(HyenaDataReader reader)
        {
            var track = new CoverartTrackInfo { AlbumTitle = reader.Get<string> (1), ArtistName = reader.Get<string> (2), PrimarySource = ServiceManager.SourceManager.MusicLibrary, Uri = new SafeUri (reader.Get<string> (3)), DbId = reader.Get<int> (4), AlbumId = reader.Get<int> (0) };

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