Class: TagLib::MPC::File

Inherits:
File
  • Object
show all
Defined in:
lib/TagLib_doc.rb

Overview

An implementation of TagLib::File with MPC specific methods. .

This implements and provides an interface for MPC files to the TagLib::Tag and TagLib::AudioProperties interfaces by way of implementing the abstract TagLib::File API as well as providing some additional information specific to MPC files. The only invalid tag combination supported is an ID3v1 tag after an APE tag.

Instance Method Summary collapse

Instance Method Details

#APETag(create = false) ⇒ Object

Returns a pointer to the APE tag of the file.If create is false (the default) this will return a null pointer if there is no valid APE tag. If create is true it will create a APE tag if one does not exist. If there is already an ID3v1 tag, thes new APE tag will be placed before it.The Tag is still owned by the APE::File and should not be deleted by the user. It will be deleted when the file (object) is destroyed.



2120
2121
# File 'lib/TagLib_doc.rb', line 2120

def APETag(create = false)
end

#audioPropertiesObject

Returns the MPC::Properties for this file. If no audio properties were read then this will return a null pointer.



2129
2130
# File 'lib/TagLib_doc.rb', line 2129

def audioProperties()
end

#clearObject



2084
2085
# File 'lib/TagLib_doc.rb', line 2084

def clear()
end

#find1Object



2114
2115
# File 'lib/TagLib_doc.rb', line 2114

def find1()
end

#find2Object



2133
2134
# File 'lib/TagLib_doc.rb', line 2133

def find2()
end

#find3Object



2068
2069
# File 'lib/TagLib_doc.rb', line 2068

def find3()
end

#ID3v1Tag(create = false) ⇒ Object

Returns a pointer to the ID3v1 tag of the file.If create is false (the default) this will return a null pointer if there is no valid ID3v1 tag. If create is true it will create an ID3v1 tag if one does not exist. If there is already an APE tag, the new ID3v1 tag will be placed after it.The Tag is still owned by the APE::File and should not be deleted by the user. It will be deleted when the file (object) is destroyed.



2078
2079
# File 'lib/TagLib_doc.rb', line 2078

def ID3v1Tag(create = false)
end

#insertObject



2122
2123
# File 'lib/TagLib_doc.rb', line 2122

def insert()
end

#isOpenObject



2072
2073
# File 'lib/TagLib_doc.rb', line 2072

def isOpen()
end

#isValidObject



2106
2107
# File 'lib/TagLib_doc.rb', line 2106

def isValid()
end

#isWritableObject



2062
2063
# File 'lib/TagLib_doc.rb', line 2062

def isWritable()
end

#lengthObject



2135
2136
# File 'lib/TagLib_doc.rb', line 2135

def length()
end

#nameObject



2064
2065
# File 'lib/TagLib_doc.rb', line 2064

def name()
end

#open?Boolean

Returns:

  • (Boolean)


2097
2098
# File 'lib/TagLib_doc.rb', line 2097

def open?()
end

#read_only?Boolean

Returns:

  • (Boolean)


2070
2071
# File 'lib/TagLib_doc.rb', line 2070

def read_only?()
end

#readBlockObject



2080
2081
# File 'lib/TagLib_doc.rb', line 2080

def readBlock()
end

#readOnlyObject



2124
2125
# File 'lib/TagLib_doc.rb', line 2124

def readOnly()
end

#remove(tags = AllTags) ⇒ Object

Deprecatedstrip



2112
2113
# File 'lib/TagLib_doc.rb', line 2112

def remove(tags = AllTags)
end

#removeBlockObject



2093
2094
# File 'lib/TagLib_doc.rb', line 2093

def removeBlock()
end

#rfindObject



2082
2083
# File 'lib/TagLib_doc.rb', line 2082

def rfind()
end

#saveObject

Saves the file.



2142
2143
# File 'lib/TagLib_doc.rb', line 2142

def save()
end

#seekObject



2066
2067
# File 'lib/TagLib_doc.rb', line 2066

def seek()
end

#strip(tags = AllTags) ⇒ Object

This will remove the tags that match the OR-ed together TagTypes from the file. By default it removes all tags.This will also invalidate pointers to the tags as their memory will be freed. In order to make the removal permanent save() still needs to be called.



2104
2105
# File 'lib/TagLib_doc.rb', line 2104

def strip(tags = AllTags)
end

#tagObject

Returns the Tag for this file. This will be an APE tag, an ID3v1 tag or a combination of the two.



2089
2090
# File 'lib/TagLib_doc.rb', line 2089

def tag()
end

#tellObject



2131
2132
# File 'lib/TagLib_doc.rb', line 2131

def tell()
end

#valid?Boolean

Returns:

  • (Boolean)


2137
2138
# File 'lib/TagLib_doc.rb', line 2137

def valid?()
end

#writable?Boolean

Returns:

  • (Boolean)


2095
2096
# File 'lib/TagLib_doc.rb', line 2095

def writable?()
end

#writeBlockObject



2091
2092
# File 'lib/TagLib_doc.rb', line 2091

def writeBlock()
end