Class TagLib::Tag
In: lib/TagLib_doc.rb
Parent: Object
AudioProperties Properties Properties Properties Properties Properties Properties Properties File File File File File File File Tag Tag Tag Tag XiphComment File File File Frame AttachedPictureFrame CommentsFrame Header ByteVectorList ByteVector FrameList ItemListMap GenreMap FileRef FrameListMap StringList FieldListMap String Item Footer FrameFactory GeneralEncapsulatedObjectFrame Page PageHeader XingHeader Header MPC APE Vorbis ID3v1 FLAC ID3v2 Flac Speex Ogg MPEG WavPack TrueAudio TagLib dot/f_3.png

A simple, generic interface to common audio meta data fields. .

This is an attempt to abstract away the difference in the meta data formats of various audio codecs and tagging schemes. As such it is generally a subset of what is available in the specific formats but should be suitable for most applications. This is meant to compliment the generic APIs found in TagLib::AudioProperties, TagLib::File and TagLib::FileRef.

Methods

album   album=   artist   artist=   comment   comment=   empty?   genre   genre=   isEmpty   setAlbum   setArtist   setComment   setGenre   setTitle   setTrack   setYear   title   title=   track   track=   year   year=  

Public Instance methods

Returns the album name; if no album name is present in the tag String::null will be returned.

[Source]

# File lib/TagLib_doc.rb, line 153
      def album()
      end

[Source]

# File lib/TagLib_doc.rb, line 160
      def album=()
      end

Returns the artist name; if no artist name is present in the tag String::null will be returned.

[Source]

# File lib/TagLib_doc.rb, line 227
      def artist()
      end

[Source]

# File lib/TagLib_doc.rb, line 138
      def artist=()
      end

Returns the track comment; if no comment is present in the tag String::null will be returned.

[Source]

# File lib/TagLib_doc.rb, line 189
      def comment()
      end

[Source]

# File lib/TagLib_doc.rb, line 193
      def comment=()
      end

[Source]

# File lib/TagLib_doc.rb, line 191
      def empty?()
      end

Returns the genre name; if no genre is present in the tag String::null will be returned.

[Source]

# File lib/TagLib_doc.rb, line 177
      def genre()
      end

[Source]

# File lib/TagLib_doc.rb, line 179
      def genre=()
      end

Returns true if the tag does not contain any data. This should be reimplemented in subclasses that provide more than the basic tagging abilities in this class.

[Source]

# File lib/TagLib_doc.rb, line 172
      def isEmpty()
      end

Sets the album to s. If s is String::null then this value will be cleared.

[Source]

# File lib/TagLib_doc.rb, line 165
      def setAlbum(   s)
      end

Sets the artist to s. If s is String::null then this value will be cleared.

[Source]

# File lib/TagLib_doc.rb, line 143
      def setArtist(   s)
      end

Sets the comment to s. If s is String::null then this value will be cleared.

[Source]

# File lib/TagLib_doc.rb, line 184
      def setComment(   s)
      end

Sets the genre to s. If s is String::null then this value will be cleared. For tag formats that use a fixed set of genres, the appropriate value will be selected based on a string comparison. A list of available genres for those formats should be available in that type's implementation.

[Source]

# File lib/TagLib_doc.rb, line 205
      def setGenre(   s)
      end

Sets the title to s. If s is String::null then this value will be cleared.

[Source]

# File lib/TagLib_doc.rb, line 217
      def setTitle(   s)
      end

Sets the track to i. If s is 0 then this value will be cleared.

[Source]

# File lib/TagLib_doc.rb, line 148
      def setTrack(uint i)
      end

Sets the year to i. If s is 0 then this value will be cleared.

[Source]

# File lib/TagLib_doc.rb, line 222
      def setYear(uint i)
      end

Returns the track name; if no track name is present in the tag String::null will be returned.

[Source]

# File lib/TagLib_doc.rb, line 210
      def title()
      end

[Source]

# File lib/TagLib_doc.rb, line 212
      def title=()
      end

Returns the track number; if there is no track number set, this will return 0.

[Source]

# File lib/TagLib_doc.rb, line 198
      def track()
      end

[Source]

# File lib/TagLib_doc.rb, line 200
      def track=()
      end

Returns the year; if there is no year set, this will return 0.

[Source]

# File lib/TagLib_doc.rb, line 158
      def year()
      end

[Source]

# File lib/TagLib_doc.rb, line 167
      def year=()
      end

[Validate]