protected override void BuildFrameHandlers(FrameHandlers mappings)
 {
     mappings.Add <AlbumFrame>("Album", null, null);
     mappings.Add <ArtistsFrame>("Artist", null, null);
     mappings.Add <TitleFrame>("Title", null, null);
     mappings.Add <CommentFrame>("Comment", null, null);
     mappings.Add <TrackFrame>("Track", null, null);
     mappings.Add <YearFrame>("Year", null, null);
 }
Exemple #2
0
 protected override void BuildFrameHandlers(FrameHandlers mappings)
 {
     mappings.Add <AlbumFrame>("TALB", EncodeAlbum, DecodeAlbum);
     mappings.Add <ArtistsFrame>("TPE1", EncodeArtists, DecodeArtists);
     mappings.Add <ArtistUrlFrame>("WOAR", EncodeArtistUrl, DecodeArtistUrl);
     //mappings.Add<AudioEncryptionFrame>("AENC", null, null);
     mappings.Add <AudioFileUrlFrame>("WOAF", EncodeAudioFileUrl, DecodeAudioFileUrl);
     mappings.Add <AudioSourceUrlFrame>("WOAS", EncodeAudioSourceUrl, DecodeAudioSourceUrl);
     mappings.Add <BandFrame>("TPE2", EncodeBand, DecodeBand);
     mappings.Add <BeatsPerMinuteFrame>("TBPM", EncodeBeatsPerMinute, DecodeBeatsPerMinute);
     mappings.Add <CommentFrame>("COMM", EncodeComment, DecodeComment);
     //mappings.Add<CommercialFrame>("COMR", null, null);
     mappings.Add <CommercialUrlFrame>("WCOM", EncodeCommercialUrl, DecodeCommercialUrl);
     mappings.Add <ComposersFrame>("TCOM", EncodeComposers, DecodeComposers);
     mappings.Add <ConductorFrame>("TPE3", EncodeConductor, DecodeConductor);
     mappings.Add <ContentGroupDescriptionFrame>("TIT1", EncodeContentGroupDescription, DecodeContentGroupDescription);
     mappings.Add <CopyrightFrame>("TCOP", null, null);
     mappings.Add <CopyrightUrlFrame>("WCOP", EncodeCopyrightUrl, DecodeCopyrightUrl);
     mappings.Add <CustomTextFrame>("TXXX", EncodeCustomText, DecodeCustomText);
     mappings.Add <CustomUrlLinkFrame>("WXXX", EncodeCustomUrlLink, DecodeCustomUrlLink);
     mappings.Add <EncoderFrame>("TENC", EncodeEncoder, DecodeEncoder);
     mappings.Add <EncodingSettingsFrame>("TSSE", EncodeEncodingSettings, DecodeEncodingSettings);
     //mappings.Add<EncryptionMethodRegistrationFrame>("ENCR", null, null);
     //mappings.Add<EqualizationFrame>("EQUA", null, null);
     //mappings.Add<EventTimingCodesFrame>("ETCO", null, null);
     mappings.Add <FileOwnerFrame>("TOWN", EncodeFileOwner, DecodeFileOwner);
     mappings.Add <FileTypeFrame>("TFLT", null, null);
     //mappings.Add<GeneralEncapsulationObjectFrame>("GEOB", null, null);
     mappings.Add <GenreFrame>("TCON", EncodeGenre, DecodeGenre);
     //mappings.Add<GroupIdentificationRegistrationFrame>("GRID", null, null);
     //mappings.Add<InitialKeyFrame>("TKEY", null, null);
     //mappings.Add<InvolvedPeopleFrame>("IPLS", null, null);
     //mappings.Add<LanguagesFrame>("TLAN", null, null);
     mappings.Add <LengthFrame>("TLEN", null, null);
     //mappings.Add<LinkedInformationFrame>("LINK", null, null);
     mappings.Add <LyricistsFrame>("TEXT", null, null);
     mappings.Add <LyricsFrame>("USLT", EncodeLyrics, DecodeLyrics);
     //mappings.Add<MediaTypeFrame>("TMED", null, null);
     //mappings.Add<ModifiersFrame>("TPE4", null, null);
     //mappings.Add<MusicCDIdentifierFrame>("MCDI", null, null);
     //mappings.Add<MPEGLocationLookupTableFrame>("MLLT", null, null);
     //mappings.Add<OriginalAlbumFrame>("TOAL", null, null);
     //mappings.Add<OriginalArtistsFrame>("TOPE", null, null);
     //mappings.Add<OriginalFilenameFrame>("TOFN", null, null);
     //mappings.Add<OriginalLyricistFrame>("TOLY", null, null);
     //mappings.Add<OriginalReleaseYearFrame>("TORY", null, null);
     //mappings.Add<OwnershipFrame>("OWNE", null, null);
     //mappings.Add<PartOfASetFrame>("TPOS", null, null);
     mappings.Add <PaymentUrlFrame>("WPAY", EncodePaymentUrl, DecodePaymentUrl);
     mappings.Add <PictureFrame>("APIC", EncodePicture, DecodePicture);
     //mappings.Add<PlayCounterFrame>("PCNT", null, null);
     //mappings.Add<PlaylistDelayFrame>("TDLY", null, null);
     //mappings.Add<PopularimeterFrame>("POPM", null, null);
     //mappings.Add<PositionSynchronizationFrame>("POSS", null, null);
     mappings.Add <PrivateFrame>("PRIV", EncodePrivate, DecodePrivate);
     mappings.Add <PublisherFrame>("TPUB", EncodePublisher, DecodePublisher);
     //mappings.Add<PublisherUrlFrame>("WPUB", null, null);
     //mappings.Add<RadioStationNameFrame>("TRSN", null, null);
     //mappings.Add<RadioStationOwnerFrame>("TRSO", null, null);
     //mappings.Add<RadioStationUrlFrame>("WORS", null, null);
     //mappings.Add<RecommendedBufferSizeFrame>("RBUF", null, null);
     mappings.Add <RecordingDateFrame>("TDAT", EncodeRecordingDate, DecodeRecordingDate);
     //mappings.Add<RecordingDatesFrame>("TRDA", null, null);
     //mappings.Add<RelativeVolumeAdjustmentFrame>("RVAD", null, null);
     //mappings.Add<ReverbFrame>("RVRB", null, null);
     //mappings.Add<SizeFrame>("TSIZ", null, null);
     //mappings.Add<StandardRecordingCodeFrame>("TSRC", null, null);
     mappings.Add <SubtitleFrame>("TIT3", EncodeSubtitle, DecodeSubtitle);
     //mappings.Add<SynchronizedTempoCodesFrame>("SYTC", null, null);
     //mappings.Add<SynchronizedTextFrame>("SYLT", null, null);
     //mappings.Add<TermsOfUseFrame>("USER", null, null);
     //mappings.Add<TimeFrame>("TIME", null, null);
     mappings.Add <TitleFrame>("TIT2", EncodeTitle, DecodeTitle);
     mappings.Add <TrackFrame>("TRCK", EncodeTrack, DecodeTrack);
     //mappings.Add<UniqueFileIDFrame>("UFID", null, null);
     mappings.Add <YearFrame>("TYER", EncodeYear, DecodeYear);
 }