Versions in this module Expand all Collapse all v1 v1.0.1 May 9, 2021 Changes in this version + var NsITunes = xmp.NewNamespace("iTunes", "http://ns.apple.com/itunes/1.0/", NewModel) + func NewModel(name string) xmp.Model + type AppleStoreAccountType int + const AppleStoreAccountTypeAOL + const AppleStoreAccountTypeITunes + type AppleStoreCountry int + const AppleStoreAGO + const AppleStoreAIA + const AppleStoreALB + const AppleStoreARE + const AppleStoreARG + const AppleStoreARM + const AppleStoreATG + const AppleStoreAUS + const AppleStoreAUT + const AppleStoreAZE + const AppleStoreBEL + const AppleStoreBEN + const AppleStoreBFA + const AppleStoreBGR + const AppleStoreBHR + const AppleStoreBHS + const AppleStoreBLR + const AppleStoreBLZ + const AppleStoreBMU + const AppleStoreBOL + const AppleStoreBRA + const AppleStoreBRB + const AppleStoreBRN + const AppleStoreBTN + const AppleStoreBWA + const AppleStoreCAN + const AppleStoreCHE + const AppleStoreCHL + const AppleStoreCHN + const AppleStoreCOG + const AppleStoreCOL + const AppleStoreCPV + const AppleStoreCRI + const AppleStoreCYM + const AppleStoreCYP + const AppleStoreCZE + const AppleStoreDEU + const AppleStoreDMA + const AppleStoreDNK + const AppleStoreDOM + const AppleStoreDZA + const AppleStoreECU + const AppleStoreEGY + const AppleStoreESP + const AppleStoreEST + const AppleStoreFIN + const AppleStoreFJI + const AppleStoreFRA + const AppleStoreFSM + const AppleStoreGBR + const AppleStoreGHA + const AppleStoreGMB + const AppleStoreGNB + const AppleStoreGRC + const AppleStoreGRD + const AppleStoreGTM + const AppleStoreGUY + const AppleStoreHKG + const AppleStoreHND + const AppleStoreHRV + const AppleStoreHUN + const AppleStoreIDN + const AppleStoreIND + const AppleStoreIRL + const AppleStoreISL + const AppleStoreISR + const AppleStoreITA + const AppleStoreJAM + const AppleStoreJOR + const AppleStoreJPN + const AppleStoreKAZ + const AppleStoreKEN + const AppleStoreKGZ + const AppleStoreKHM + const AppleStoreKNA + const AppleStoreKOR + const AppleStoreKWT + const AppleStoreLAO + const AppleStoreLBN + const AppleStoreLBR + const AppleStoreLCA + const AppleStoreLKA + const AppleStoreLTU + const AppleStoreLUX + const AppleStoreLVA + const AppleStoreMAC + const AppleStoreMDA + const AppleStoreMDG + const AppleStoreMEX + const AppleStoreMKD + const AppleStoreMLI + const AppleStoreMLT + const AppleStoreMNG + const AppleStoreMOZ + const AppleStoreMRT + const AppleStoreMSR + const AppleStoreMUS + const AppleStoreMWI + const AppleStoreMYS + const AppleStoreNAM + const AppleStoreNER + const AppleStoreNGA + const AppleStoreNIC + const AppleStoreNLD + const AppleStoreNOR + const AppleStoreNPL + const AppleStoreNZL + const AppleStoreOMN + const AppleStorePAK + const AppleStorePAN + const AppleStorePER + const AppleStorePHL + const AppleStorePLW + const AppleStorePNG + const AppleStorePOL + const AppleStorePRT + const AppleStorePRY + const AppleStoreQAT + const AppleStoreROU + const AppleStoreRUS + const AppleStoreSAU + const AppleStoreSEN + const AppleStoreSGP + const AppleStoreSLB + const AppleStoreSLE + const AppleStoreSLV + const AppleStoreSTP + const AppleStoreSUR + const AppleStoreSVK + const AppleStoreSVN + const AppleStoreSWE + const AppleStoreSWZ + const AppleStoreSYC + const AppleStoreTCA + const AppleStoreTCD + const AppleStoreTHA + const AppleStoreTJK + const AppleStoreTKM + const AppleStoreTTO + const AppleStoreTUN + const AppleStoreTUR + const AppleStoreTWN + const AppleStoreTZA + const AppleStoreUGA + const AppleStoreUKR + const AppleStoreURY + const AppleStoreUSA + const AppleStoreUZB + const AppleStoreVCT + const AppleStoreVEN + const AppleStoreVGB + const AppleStoreVNM + const AppleStoreYEM + const AppleStoreZAF + const AppleStoreZWE + type AssetInfo struct + FileSize int64 + Flavor string + ScreenFormat string + Soundtrack string + type Bool int + func (b Bool) Value() bool + type ContentRating struct + Rating string + Reasons string + Score string + Standard string + func (x *ContentRating) UnmarshalText(data []byte) error + func (x ContentRating) IsZero() bool + func (x ContentRating) MarshalText() ([]byte, error) + func (x ContentRating) String() string + type GenreCode byte + type GenreID int + type ITunesMetadata struct + AccountKind AppleStoreAccountType + Acknowledgement string + Album string + AlbumArtist string + AppleID string + Arranger string + ArtDirector string + Artist string + ArtistID string + Author string + BeatsPerMin int + CDDBMediaID string + CDDBToc string + CDDBTrackNumber string + Comment string + Composer string + Conductor string + ContentRating *ContentRating + Copyright string + CoverArt string + CoverUrl xmp.Url + Credits string + Description string + Director string + DiscNumber xmp.Rational + Duration int64 + EQ string + EncodedBy string + EncodingParams []byte + EncodingTool string + ExecProducer string + Extension xmp.TagList + GenreCode GenreCode + GenreID GenreID + GenreName string + Grouping string + IconUrl xmp.Url + InfoUrl xmp.Url + IsDiscCompilation Bool + IsExplicit RatingCode + IsGaplessPlayback PlayGapMode + IsGaplessPlayback2 Bool + IsHDVideo Bool + IsPodcast Bool + IsiTunesU string + Keywords string + LinerNotes string + Lyrics string + LyricsUrl string + MediaType MediaType + MovieInfo *MovieInfo + Narrator string + OnlineExtras string + OriginalArtist string + Performer string + PhonogramRights string + PlaylistID string + PodcastCategory string + PodcastGuid string + PodcastUrl string + Producer string + ProductID string + Publisher string + PurchaseDate xmp.Date + RatingPercent string + RecordCompany string + ReleaseDate xmp.Date + SMPB *SMPB + ShowEpisodeName string + ShowEpisodeNum int + ShowName string + ShowSeasonNum int + Soloist string + SongID string + SortAlbum string + SortAlbumArtist string + SortArtist string + SortComposer string + SortName string + SortShow string + SoundCheck []byte + SoundEngineer string + StoreFrontID string + Synopsis string + TVNetworkName string + Thanks string + Title string + ToolInfo string + TrackNumber int + TrackSubTitle string + XID string + func FindModel(d *xmp.Document) *ITunesMetadata + func MakeModel(d *xmp.Document) (*ITunesMetadata, error) + func (m *ITunesMetadata) Can(nsName string) bool + func (m *ITunesMetadata) Namespaces() xmp.NamespaceList + func (x *ITunesMetadata) CanTag(tag string) bool + func (x *ITunesMetadata) GetTag(tag string) (string, error) + func (x *ITunesMetadata) ListTags() (xmp.TagList, error) + func (x *ITunesMetadata) SetTag(tag, value string) error + func (x *ITunesMetadata) SyncFromXMP(d *xmp.Document) error + func (x *ITunesMetadata) SyncModel(d *xmp.Document) error + func (x ITunesMetadata) SyncToXMP(d *xmp.Document) error + type LocationRole int + const LocationRoleFictional + const LocationRoleReal + const LocationRoleShooting + type MediaType int + const MediaTypeAudiobook + const MediaTypeBooklet + const MediaTypeBookmark + const MediaTypeHomeVideo + const MediaTypeMovie + const MediaTypeMusic + const MediaTypeMusicVideo + const MediaTypePodcast + const MediaTypeRingtone + const MediaTypeTVShow + func (x MediaType) String() string + type MovieInfo struct + AssetInfo *AssetInfo + Cast PersonArray + CoDirectors PersonArray + CopyWarning string + Directors PersonArray + Producers PersonArray + Screenwriters PersonArray + Studio string + type Person struct + ID string + Name string + type PersonArray []Person + func (a PersonArray) Typ() xmp.ArrayType + func (x *PersonArray) UnmarshalXMP(d *xmp.Decoder, node *xmp.Node, m xmp.Model) error + func (x PersonArray) MarshalXMP(e *xmp.Encoder, node *xmp.Node, m xmp.Model) error + type PlayGapMode int + const PlayGapInsertGap + const PlayGapNoGap + type RatingCode int + const RatingCodeClean + const RatingCodeExplicit + const RatingCodeExplicitOld + const RatingCodeNone + type SMPB struct + EncoderDelay int64 + EndOffset int64 + EndPadding int64 + OriginalSampleCount int64 + func (x *SMPB) UnmarshalText(data []byte) error