Class: TagLib::FLAC::File

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

Overview

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

This implements and provides an interface for FLAC 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 FLAC files.

Instance Method Summary collapse

Instance Method Details

#audioPropertiesObject

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



2264
2265
# File 'lib/TagLib_doc.rb', line 2264

def audioProperties()
end

#clearObject



2221
2222
# File 'lib/TagLib_doc.rb', line 2221

def clear()
end

#find1Object



2250
2251
# File 'lib/TagLib_doc.rb', line 2250

def find1()
end

#find2Object



2268
2269
# File 'lib/TagLib_doc.rb', line 2268

def find2()
end

#find3Object



2199
2200
# File 'lib/TagLib_doc.rb', line 2199

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.The Tag is still owned by the FLAC::File and should not be deleted by the user. It will be deleted when the file (object) is destroyed.



2209
2210
# File 'lib/TagLib_doc.rb', line 2209

def ID3v1Tag(create = false)
end

#ID3v2Tag(create = false) ⇒ Object

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



2276
2277
# File 'lib/TagLib_doc.rb', line 2276

def ID3v2Tag(create = false)
end

#insertObject



2252
2253
# File 'lib/TagLib_doc.rb', line 2252

def insert()
end

#isOpenObject



2203
2204
# File 'lib/TagLib_doc.rb', line 2203

def isOpen()
end

#isValidObject



2243
2244
# File 'lib/TagLib_doc.rb', line 2243

def isValid()
end

#isWritableObject



2193
2194
# File 'lib/TagLib_doc.rb', line 2193

def isWritable()
end

#lengthObject



2270
2271
# File 'lib/TagLib_doc.rb', line 2270

def length()
end

#nameObject



2195
2196
# File 'lib/TagLib_doc.rb', line 2195

def name()
end

#open?Boolean

Returns:

  • (Boolean)


2241
2242
# File 'lib/TagLib_doc.rb', line 2241

def open?()
end

#read_only?Boolean

Returns:

  • (Boolean)


2201
2202
# File 'lib/TagLib_doc.rb', line 2201

def read_only?()
end

#readBlockObject



2211
2212
# File 'lib/TagLib_doc.rb', line 2211

def readBlock()
end

#readOnlyObject



2254
2255
# File 'lib/TagLib_doc.rb', line 2254

def readOnly()
end

#removeBlockObject



2237
2238
# File 'lib/TagLib_doc.rb', line 2237

def removeBlock()
end

#rfindObject



2219
2220
# File 'lib/TagLib_doc.rb', line 2219

def rfind()
end

#saveObject

Save the file. This will primarily save the XiphComment, but will also keep any old ID3-tags up to date. If the file has no XiphComment, one will be constructed from the ID3-tags.This returns true if the save was successful.



2283
2284
# File 'lib/TagLib_doc.rb', line 2283

def save()
end

#seekObject



2197
2198
# File 'lib/TagLib_doc.rb', line 2197

def seek()
end

#setID3v2FrameFactory(factory) ⇒ Object

Set the ID3v2::FrameFactory to something other than the default. This can be used to specify the way that ID3v2 frames will be interpreted whenID3v2FrameFactory



2235
2236
# File 'lib/TagLib_doc.rb', line 2235

def setID3v2FrameFactory(factory)
end

#streamInfoDataObject

Returns the block of data used by FLAC::Properties for parsing the stream properties.DeprecatedThis method will not be public in a future release.



2259
2260
# File 'lib/TagLib_doc.rb', line 2259

def streamInfoData()
end

#streamLengthObject

Returns the length of the audio-stream, used by FLAC::Properties for calculating the bitrate.DeprecatedThis method will not be public in a future release.



2248
2249
# File 'lib/TagLib_doc.rb', line 2248

def streamLength()
end

#tagObject

Returns the Tag for this file. This will be a union of XiphComment, ID3v1 and ID3v2 tags.ID3v2Tag() ID3v1Tag() XiphComment()



2227
2228
# File 'lib/TagLib_doc.rb', line 2227

def tag()
end

#tellObject



2266
2267
# File 'lib/TagLib_doc.rb', line 2266

def tell()
end

#valid?Boolean

Returns:

  • (Boolean)


2278
2279
# File 'lib/TagLib_doc.rb', line 2278

def valid?()
end

#writable?Boolean

Returns:

  • (Boolean)


2239
2240
# File 'lib/TagLib_doc.rb', line 2239

def writable?()
end

#writeBlockObject



2229
2230
# File 'lib/TagLib_doc.rb', line 2229

def writeBlock()
end

#xiphComment(create = false) ⇒ Object

Returns a pointer to the XiphComment for the file.If create is false (the default) this will return a null pointer if there is no valid XiphComment. If create is true it will create a XiphComment if one does not exist.The Tag is still owned by the FLAC::File and should not be deleted by the user. It will be deleted when the file (object) is destroyed.



2217
2218
# File 'lib/TagLib_doc.rb', line 2217

def xiphComment(create = false)
end