Class: TagLib::TrueAudio::File

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

Overview

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

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

Instance Method Summary collapse

Instance Method Details

#audioPropertiesObject

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



538
539
# File 'lib/TagLib_doc.rb', line 538

def audioProperties()
end

#clearObject



500
501
# File 'lib/TagLib_doc.rb', line 500

def clear()
end

#find1Object



529
530
# File 'lib/TagLib_doc.rb', line 529

def find1()
end

#find2Object



542
543
# File 'lib/TagLib_doc.rb', line 542

def find2()
end

#find3Object



484
485
# File 'lib/TagLib_doc.rb', line 484

def find3()
end

#ID3v1Tag(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 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 TrueAudio::File and should not be deleted by the user. It will be deleted when the file (object) is destroyed.



494
495
# File 'lib/TagLib_doc.rb', line 494

def ID3v1Tag(create = false)
end

#ID3v2Tag(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 TrueAudio::File and should not be deleted by the user. It will be deleted when the file (object) is destroyed.



550
551
# File 'lib/TagLib_doc.rb', line 550

def ID3v2Tag(create = false)
end

#insertObject



531
532
# File 'lib/TagLib_doc.rb', line 531

def insert()
end

#isOpenObject



488
489
# File 'lib/TagLib_doc.rb', line 488

def isOpen()
end

#isValidObject



527
528
# File 'lib/TagLib_doc.rb', line 527

def isValid()
end

#isWritableObject



478
479
# File 'lib/TagLib_doc.rb', line 478

def isWritable()
end

#lengthObject



544
545
# File 'lib/TagLib_doc.rb', line 544

def length()
end

#nameObject



480
481
# File 'lib/TagLib_doc.rb', line 480

def name()
end

#open?Boolean

Returns:

  • (Boolean)


519
520
# File 'lib/TagLib_doc.rb', line 519

def open?()
end

#read_only?Boolean

Returns:

  • (Boolean)


486
487
# File 'lib/TagLib_doc.rb', line 486

def read_only?()
end

#readBlockObject



496
497
# File 'lib/TagLib_doc.rb', line 496

def readBlock()
end

#readOnlyObject



533
534
# File 'lib/TagLib_doc.rb', line 533

def readOnly()
end

#removeBlockObject



515
516
# File 'lib/TagLib_doc.rb', line 515

def removeBlock()
end

#rfindObject



498
499
# File 'lib/TagLib_doc.rb', line 498

def rfind()
end

#saveObject

Saves the file.



557
558
# File 'lib/TagLib_doc.rb', line 557

def save()
end

#seekObject



482
483
# File 'lib/TagLib_doc.rb', line 482

def seek()
end

#setID3v2FrameFactory(factory) ⇒ Object

Set the ID3v2::FrameFactory to something other than the default.ID3v2FrameFactory



513
514
# File 'lib/TagLib_doc.rb', line 513

def setID3v2FrameFactory(factory)
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



525
526
# File 'lib/TagLib_doc.rb', line 525

def strip(tags = AllTags)
end

#tagObject

Returns the Tag for this file.



505
506
# File 'lib/TagLib_doc.rb', line 505

def tag()
end

#tellObject



540
541
# File 'lib/TagLib_doc.rb', line 540

def tell()
end

#valid?Boolean

Returns:

  • (Boolean)


552
553
# File 'lib/TagLib_doc.rb', line 552

def valid?()
end

#writable?Boolean

Returns:

  • (Boolean)


517
518
# File 'lib/TagLib_doc.rb', line 517

def writable?()
end

#writeBlockObject



507
508
# File 'lib/TagLib_doc.rb', line 507

def writeBlock()
end