Class: TagLib::APE::Tag
Overview
An APE tag implementation. .
Instance Method Summary collapse
-
#addValue(key, value, replace = true) ⇒ Object
Adds to the item specified by key the data value.
-
#album ⇒ Object
Returns the album name; if no album name is present in the tag String::null will be returned.
- #album= ⇒ Object
-
#artist ⇒ Object
Returns the artist name; if no artist name is present in the tag String::null will be returned.
- #artist= ⇒ Object
-
#comment ⇒ Object
Returns the track comment; if no comment is present in the tag String::null will be returned.
- #comment= ⇒ Object
- #empty? ⇒ Boolean
-
#footer ⇒ Object
Returns a pointer to the tag's footer.
-
#genre ⇒ Object
Returns the genre name; if no genre is present in the tag String::null will be returned.
- #genre= ⇒ Object
- #isEmpty ⇒ Object
-
#itemListMap ⇒ Object
Returns a reference to the item list map.
-
#removeItem(key) ⇒ Object
Removes the key item from the tag.
-
#render ⇒ Object
Renders the in memory values to a ByteVector suitable for writing to the file.
-
#setAlbum(s) ⇒ Object
Sets the album to s.
-
#setArtist(s) ⇒ Object
Sets the artist to s.
-
#setComment(s) ⇒ Object
Sets the comment to s.
-
#setGenre(s) ⇒ Object
Sets the genre to s.
-
#setItem(key, item) ⇒ Object
Sets the key item to the value of item.
-
#setTitle(s) ⇒ Object
Sets the title to s.
-
#setTrack(i) ⇒ Object
Sets the track to i.
-
#setYear(i) ⇒ Object
Sets the year to i.
-
#title ⇒ Object
Returns the track name; if no track name is present in the tag String::null will be returned.
- #title= ⇒ Object
-
#track ⇒ Object
Returns the track number; if there is no track number set, this will return 0.
- #track= ⇒ Object
-
#year ⇒ Object
Returns the year; if there is no year set, this will return 0.
- #year= ⇒ Object
Instance Method Details
#addValue(key, value, replace = true) ⇒ Object
Adds to the item specified by key the data value. If replace is true, then all of the other values on the same key will be removed first.
1909 1910 |
# File 'lib/TagLib_doc.rb', line 1909 def addValue(key,value,replace = true) end |
#album ⇒ Object
Returns the album name; if no album name is present in the tag String::null will be returned.
1969 1970 |
# File 'lib/TagLib_doc.rb', line 1969 def album() end |
#album= ⇒ Object
1976 1977 |
# File 'lib/TagLib_doc.rb', line 1976 def album=() end |
#artist ⇒ Object
Returns the artist name; if no artist name is present in the tag String::null will be returned.
1936 1937 |
# File 'lib/TagLib_doc.rb', line 1936 def artist() end |
#artist= ⇒ Object
1940 1941 |
# File 'lib/TagLib_doc.rb', line 1940 def artist=() end |
#comment ⇒ Object
Returns the track comment; if no comment is present in the tag String::null will be returned.
1950 1951 |
# File 'lib/TagLib_doc.rb', line 1950 def comment() end |
#comment= ⇒ Object
1962 1963 |
# File 'lib/TagLib_doc.rb', line 1962 def comment=() end |
#empty? ⇒ Boolean
1964 1965 |
# File 'lib/TagLib_doc.rb', line 1964 def empty?() end |
#footer ⇒ Object
Returns a pointer to the tag's footer.
1955 1956 |
# File 'lib/TagLib_doc.rb', line 1955 def () end |
#genre ⇒ Object
Returns the genre name; if no genre is present in the tag String::null will be returned.
1994 1995 |
# File 'lib/TagLib_doc.rb', line 1994 def genre() end |
#genre= ⇒ Object
1996 1997 |
# File 'lib/TagLib_doc.rb', line 1996 def genre=() end |
#isEmpty ⇒ Object
1989 1990 |
# File 'lib/TagLib_doc.rb', line 1989 def isEmpty() end |
#itemListMap ⇒ Object
Returns a reference to the item list map. This is an ItemListMap of all of the items in the tag.This is the most powerfull structure for accessing the items of the tag.You should not modify this data structure directly, instead use setItem() and removeItem().
1987 1988 |
# File 'lib/TagLib_doc.rb', line 1987 def itemListMap() end |
#removeItem(key) ⇒ Object
Removes the key item from the tag
2006 2007 |
# File 'lib/TagLib_doc.rb', line 2006 def removeItem(key) end |
#render ⇒ Object
Renders the in memory values to a ByteVector suitable for writing to the file.
1974 1975 |
# File 'lib/TagLib_doc.rb', line 1974 def render() end |
#setAlbum(s) ⇒ Object
Sets the album to s. If s is String::null then this value will be cleared.
1981 1982 |
# File 'lib/TagLib_doc.rb', line 1981 def setAlbum(s) end |
#setArtist(s) ⇒ Object
Sets the artist to s. If s is String::null then this value will be cleared.
1945 1946 |
# File 'lib/TagLib_doc.rb', line 1945 def setArtist(s) end |
#setComment(s) ⇒ Object
Sets the comment to s. If s is String::null then this value will be cleared.
2001 2002 |
# File 'lib/TagLib_doc.rb', line 2001 def setComment(s) end |
#setGenre(s) ⇒ Object
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.
1899 1900 |
# File 'lib/TagLib_doc.rb', line 1899 def setGenre(s) end |
#setItem(key, item) ⇒ Object
Sets the key item to the value of item. If an item with the key is already present, it will be replaced.
1931 1932 |
# File 'lib/TagLib_doc.rb', line 1931 def setItem(key,item) end |
#setTitle(s) ⇒ Object
Sets the title to s. If s is String::null then this value will be cleared.
1916 1917 |
# File 'lib/TagLib_doc.rb', line 1916 def setTitle(s) end |
#setTrack(i) ⇒ Object
Sets the track to i. If s is 0 then this value will be cleared.
1960 1961 |
# File 'lib/TagLib_doc.rb', line 1960 def setTrack(i) end |
#setYear(i) ⇒ Object
Sets the year to i. If s is 0 then this value will be cleared.
1926 1927 |
# File 'lib/TagLib_doc.rb', line 1926 def setYear(i) end |
#title ⇒ Object
Returns the track name; if no track name is present in the tag String::null will be returned.
1904 1905 |
# File 'lib/TagLib_doc.rb', line 1904 def title() end |
#title= ⇒ Object
1911 1912 |
# File 'lib/TagLib_doc.rb', line 1911 def title=() end |
#track ⇒ Object
Returns the track number; if there is no track number set, this will return 0.
2011 2012 |
# File 'lib/TagLib_doc.rb', line 2011 def track() end |
#track= ⇒ Object
1894 1895 |
# File 'lib/TagLib_doc.rb', line 1894 def track=() end |
#year ⇒ Object
Returns the year; if there is no year set, this will return 0.
1921 1922 |
# File 'lib/TagLib_doc.rb', line 1921 def year() end |
#year= ⇒ Object
1938 1939 |
# File 'lib/TagLib_doc.rb', line 1938 def year=() end |