MCPcopy Create free account

hub / github.com/dhowden/tag / functions

Functions218 in github.com/dhowden/tag

↓ 24 callersFunctionreadBytes
10MB
util.go:47
↓ 20 callersFunctiongetBit
(b byte, n uint)
util.go:13
↓ 18 callersFunctionreadString
(r io.Reader, n uint)
util.go:64
↓ 13 callersFunctiontestValue
(t *testing.T, expected interface{}, found interface{})
tag_test.go:122
↓ 12 callersMethodFormat
()
id3v2metadata.go:64
↓ 12 callersMethodName
(s string, fm Format)
id3v2metadata.go:15
↓ 9 callersMethodgetString
(k string)
id3v2metadata.go:56
↓ 9 callersFunctionreadInt
(r io.Reader, n uint)
util.go:80
↓ 9 callersFunctiontrimString
(x string)
id3v1.go:112
↓ 7 callersMethodName
(n string)
mp4.go:59
↓ 7 callersMethodgetString
(n []string)
mp4.go:289
↓ 6 callersMethodYear
Year returns the year of the track.
tag.go:124
↓ 6 callersFunctionbindataRead
(data []byte, name string)
internal/id3v1_test/id3v1_testdata.go:25
↓ 5 callersMethodFormat
Format returns the metadata Format used to encode the data.
tag.go:103
↓ 5 callersMethodRaw
Raw returns the raw mapping of retrieved tag names and associated values. NB: tag/atom names are not standardised between formats.
tag.go:146
↓ 5 callersMethodTrack
Track returns the track number and total tracks, or zero values if unavailable.
tag.go:130
↓ 5 callersFunctiondecodeText
(enc byte, b []byte)
id3v2frames.go:323
↓ 5 callersFunctiongetInt
(b []byte)
util.go:27
↓ 5 callersFunctionhashSum
(h hash.Hash)
sum.go:217
↓ 4 callersMethodAlbum
Album returns the album name of the track.
tag.go:112
↓ 4 callersMethodArtist
Artist returns the artist name of the track.
tag.go:115
↓ 4 callersMethodComposer
Composer returns the composer of the track.
tag.go:121
↓ 4 callersMethodDisc
Disc returns the disc number and total discs, or zero values if unavailable.
tag.go:133
↓ 4 callersMethodGenre
Genre returns the genre of the track.
tag.go:127
↓ 4 callersMethodLyrics
Lyrics returns the lyrics, or an empty string if unavailable.
tag.go:139
↓ 4 callersFunctionReadFrom
ReadFrom detects and parses audio file metadata tags (currently supports ID3v1,2.{2,3,4}, MP4, FLAC/OGG). Returns non-nil error if the format of the g
tag.go:30
↓ 4 callersMethodTitle
Title returns the title of the track.
tag.go:109
↓ 4 callersFunctionget7BitChunkedInt
(b []byte)
util.go:18
↓ 4 callersFunctionreadUint
(r io.Reader, n uint)
util.go:72
↓ 3 callersMethodAlbumArtist
AlbumArtist returns the album artist name of the track.
tag.go:118
↓ 3 callersMethodComment
Comment returns the comment, or an empty string if unavailable.
tag.go:142
↓ 3 callersMethodPicture
Picture returns a picture, or nil if not available.
tag.go:136
↓ 3 callersMethodRead
Read ogg packets, can return empty slice of packets and nil err if more data is needed
ogg.go:66
↓ 3 callersFunctionSum
Sum creates a checksum of the audio file data provided by the io.ReadSeeker which is metadata (ID3, MP4) invariant.
sum.go:14
↓ 3 callersFunction_filePath
(dir, name string)
internal/id3v1_test/id3v1_testdata.go:350
↓ 3 callersFunctiondataSplit
(b []byte, enc byte)
id3v2frames.go:357
↓ 3 callersFunctionnewMetadataVorbis
()
vorbis.go:18
↓ 3 callersFunctionoggCRCUpdate
(crc uint32, tab *crc32Table, p []byte)
ogg.go:42
↓ 3 callersFunctionparseXofN
(s string)
id3v2metadata.go:107
↓ 3 callersFunctionread7BitChunkedUint
(r io.Reader, n uint)
util.go:88
↓ 3 callersFunctionreadTextWithDescrFrame
IDv2.{3,4} -- Header <Header for 'Unsynchronised lyrics/text transcription', ID: "USLT"> <Header for 'Comment', ID: "COMM"> -- readTextWithDescrFrame(
id3v2frames.go:454
↓ 3 callersFunctionreadUint32LittleEndian
(r io.Reader)
util.go:96
↓ 3 callersMethodreadVorbisComment
(r io.Reader)
vorbis.go:29
↓ 3 callersMethodset
set the MusicBrainz tag to the given value.
mbz/mbz.go:51
↓ 2 callersFunctionAsset
Asset loads and returns the asset for the given name. It returns an error if the asset could not be found or could not be loaded.
internal/id3v1_test/id3v1_testdata.go:199
↓ 2 callersMethodFileType
FileType returns the file type of the audio file.
tag.go:106
↓ 2 callersFunctionIdentify
Identify identifies the format and file type of the data in the ReadSeeker.
id.go:9
↓ 2 callersMethodModTime
()
internal/id3v1_test/id3v1_testdata.go:66
↓ 2 callersMethodRead
filter io.Reader which skip the Unsynchronisation bytes
id3v2.go:408
↓ 2 callersFunctionReadID3v1Tags
ReadID3v1Tags reads ID3v1 tags from the io.ReadSeeker. Returns ErrNotID3v1 if there are no ID3v1 tags, otherwise non-nil error if there was a problem
id3v1.go:45
↓ 2 callersFunctionReadID3v2Tags
ReadID3v2Tags parses ID3v2.{2,3,4} tags from the io.ReadSeeker into a Metadata, returning non-nil error on failure.
id3v2.go:428
↓ 2 callersMethodString
()
cmd/check/main.go:133
↓ 2 callersFunctiondecodeISO8859
(b []byte)
id3v2frames.go:380
↓ 2 callersFunctiondecodeUTF16
(b []byte, bo binary.ByteOrder)
id3v2frames.go:409
↓ 2 callersFunctiondoTest
(name string, track int, length int, t *testing.T)
id3v1_test.go:31
↓ 2 callersMethodgetInt
(n []string)
mp4.go:298
↓ 2 callersFunctionid3v2genre
id3v2genre parse a id3v2 genre tag and expand the numeric genres
id3v2.go:449
↓ 2 callersFunctionreadAtomHeader
(r io.ReadSeeker)
mp4.go:224
↓ 2 callersFunctionreadID3v2Header
readID3v2Header reads the ID3v2 header from the given io.Reader. offset it number of bytes of header that was read
id3v2.go:68
↓ 2 callersMethodreadPictureBlock
(r io.Reader)
vorbis.go:73
↓ 2 callersFunctionreadTFrame
(b []byte)
id3v2frames.go:304
↓ 2 callersFunctionreadUint64LittleEndian
(r io.Reader)
util.go:36
↓ 2 callersFunctionsizeToEndOffset
(r io.ReadSeeker, offset int64)
sum.go:102
↓ 1 callersFunctionAssetDir
AssetDir returns the file names below a certain directory embedded in the file by go-bindata. For example if you run go-bindata on data/... and data c
internal/id3v1_test/id3v1_testdata.go:269
↓ 1 callersFunctionAssetInfo
AssetInfo loads and returns the asset info for the given name. It returns an error if the asset could not be found or could not be loaded.
internal/id3v1_test/id3v1_testdata.go:225
↓ 1 callersFunctionExtract
Extract tags created by MusicBrainz Picard which can be used with with the MusicBrainz and LastFM APIs. See https://picard.musicbrainz.org/docs/mappin
mbz/mbz.go:108
↓ 1 callersMethodIsDir
()
internal/id3v1_test/id3v1_testdata.go:69
↓ 1 callersMethodMode
()
internal/id3v1_test/id3v1_testdata.go:63
↓ 1 callersFunctionMustAsset
MustAsset is like Asset but panics when Asset would return an error. It simplifies safe initialization of global variables.
internal/id3v1_test/id3v1_testdata.go:213
↓ 1 callersFunctionReadAtoms
ReadAtoms reads MP4 metadata atoms from the io.ReadSeeker into a Metadata, returning non-nil error if there was a problem.
mp4.go:77
↓ 1 callersFunctionReadDSFTags
ReadDSFTags reads DSF metadata from the io.ReadSeeker, returning the resulting metadata in a Metadata implementation, or non-nil error if there was a
dsf.go:15
↓ 1 callersFunctionReadFLACTags
ReadFLACTags reads FLAC metadata from the io.ReadSeeker, returning the resulting metadata in a Metadata implementation, or non-nil error if there was
flac.go:28
↓ 1 callersFunctionReadOGGTags
ReadOGGTags reads OGG metadata from the io.ReadSeeker, returning the resulting metadata in a Metadata implementation, or non-nil error if there was a
ogg.go:141
↓ 1 callersFunctionRestoreAsset
RestoreAsset restores an asset under the given directory
internal/id3v1_test/id3v1_testdata.go:309
↓ 1 callersFunctionSumAll
SumAll returns a checksum of the content from the reader (until EOF).
sum.go:47
↓ 1 callersFunctionSumAtoms
SumAtoms constructs a checksum of MP4 audio file data provided by the io.ReadSeeker which is metadata invariant.
sum.go:58
↓ 1 callersFunctionSumFLAC
SumFLAC costructs a checksum of the FLAC audio file data provided by the io.ReadSeeker (ignores metadata fields).
sum.go:169
↓ 1 callersFunctionSumID3v1
SumID3v1 constructs a checksum of MP3 audio file data (assumed to have ID3v1 tags) provided by the io.ReadSeeker which is metadata invariant.
sum.go:117
↓ 1 callersFunctionSumID3v2
SumID3v2 constructs a checksum of MP3 audio file data (assumed to have ID3v2 tags) provided by the io.ReadSeeker which is metadata invariant.
sum.go:138
↓ 1 callersFunctioncompareMetadata
(t *testing.T, m Metadata, tt testMetadata)
tag_test.go:102
↓ 1 callersFunctiondecodeLocation
(l string)
cmd/check/main.go:23
↓ 1 callersFunctiondecodeUTF16WithBOM
(b []byte)
id3v2frames.go:388
↓ 1 callersMethoddo
(ch <-chan string)
cmd/check/main.go:151
↓ 1 callersFunctionextractID3
extractID3 attempts to extract MusicBrainz Picard tags from m.Raw(), where m.Format is assumed to be a supported version of ID3.
mbz/mbz.go:67
↓ 1 callersFunctionextractMP4Vorbis
extractMP4Vorbis attempts to extract MusicBrainz Picard tags from m.Raw(), where m.Format is assumed to be MP4 or VORBIS.
mbz/mbz.go:96
↓ 1 callersFunctionfuzzIssue73
(in []byte)
sum_test.go:15
↓ 1 callersFunctioninternalId3v1_testSample_ms932_v11Mp3Bytes
()
internal/id3v1_test/id3v1_testdata.go:78
↓ 1 callersFunctioninternalId3v1_testSample_ms932_v1Mp3Bytes
()
internal/id3v1_test/id3v1_testdata.go:98
↓ 1 callersFunctioninternalId3v1_testSample_usascii_v11Mp3Bytes
()
internal/id3v1_test/id3v1_testdata.go:118
↓ 1 callersFunctioninternalId3v1_testSample_usascii_v1Mp3Bytes
()
internal/id3v1_test/id3v1_testdata.go:138
↓ 1 callersFunctioninternalId3v1_testSample_utf8_v11Mp3Bytes
()
internal/id3v1_test/id3v1_testdata.go:158
↓ 1 callersFunctioninternalId3v1_testSample_utf8_v1Mp3Bytes
()
internal/id3v1_test/id3v1_testdata.go:178
↓ 1 callersFunctionoggCRCTable
(poly uint32)
ogg.go:24
↓ 1 callersFunctionparseComment
(c string)
vorbis.go:148
↓ 1 callersFunctionprintMetadata
(m tag.Metadata)
cmd/tag/main.go:79
↓ 1 callersFunctionreadAPICFrame
IDv2.{3,4} -- Header <Header for 'Attached picture', ID: "APIC"> -- readAPICFrame Text encoding $xx MIME type <text string> $00 Picture type
id3v2frames.go:613
↓ 1 callersMethodreadAtomData
(r io.ReadSeeker, name string, size uint32, processedData []string)
mp4.go:138
↓ 1 callersMethodreadAtoms
(r io.ReadSeeker)
mp4.go:86
↓ 1 callersFunctionreadCustomAtom
Generic atom. Should have 3 sub atoms : mean, name and data. We check that mean is "com.apple.iTunes" or others and we use the subname as the name, an
mp4.go:239
↓ 1 callersMethodreadFLACMetadataBlock
(r io.ReadSeeker)
flac.go:58
next →1–100 of 218, ranked by callers