Class: TagLib::TrueAudio::File
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
-
#audioProperties ⇒ Object
Returns the TrueAudio::Properties for this file.
- #clear ⇒ Object
- #find1 ⇒ Object
- #find2 ⇒ Object
- #find3 ⇒ Object
-
#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.
-
#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.
- #insert ⇒ Object
- #isOpen ⇒ Object
- #isValid ⇒ Object
- #isWritable ⇒ Object
- #length ⇒ Object
- #name ⇒ Object
- #open? ⇒ Boolean
- #read_only? ⇒ Boolean
- #readBlock ⇒ Object
- #readOnly ⇒ Object
- #removeBlock ⇒ Object
- #rfind ⇒ Object
-
#save ⇒ Object
Saves the file.
- #seek ⇒ Object
-
#setID3v2FrameFactory(factory) ⇒ Object
Set the ID3v2::FrameFactory to something other than the default.ID3v2FrameFactory.
-
#strip(tags = AllTags) ⇒ Object
This will remove the tags that match the OR-ed together TagTypes from the file.
-
#tag ⇒ Object
Returns the Tag for this file.
- #tell ⇒ Object
- #valid? ⇒ Boolean
- #writable? ⇒ Boolean
- #writeBlock ⇒ Object
Instance Method Details
#audioProperties ⇒ Object
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 |
#clear ⇒ Object
500 501 |
# File 'lib/TagLib_doc.rb', line 500 def clear() end |
#find1 ⇒ Object
529 530 |
# File 'lib/TagLib_doc.rb', line 529 def find1() end |
#find2 ⇒ Object
542 543 |
# File 'lib/TagLib_doc.rb', line 542 def find2() end |
#find3 ⇒ Object
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 |
#insert ⇒ Object
531 532 |
# File 'lib/TagLib_doc.rb', line 531 def insert() end |
#isOpen ⇒ Object
488 489 |
# File 'lib/TagLib_doc.rb', line 488 def isOpen() end |
#isValid ⇒ Object
527 528 |
# File 'lib/TagLib_doc.rb', line 527 def isValid() end |
#isWritable ⇒ Object
478 479 |
# File 'lib/TagLib_doc.rb', line 478 def isWritable() end |
#length ⇒ Object
544 545 |
# File 'lib/TagLib_doc.rb', line 544 def length() end |
#name ⇒ Object
480 481 |
# File 'lib/TagLib_doc.rb', line 480 def name() end |
#open? ⇒ Boolean
519 520 |
# File 'lib/TagLib_doc.rb', line 519 def open?() end |
#read_only? ⇒ Boolean
486 487 |
# File 'lib/TagLib_doc.rb', line 486 def read_only?() end |
#readBlock ⇒ Object
496 497 |
# File 'lib/TagLib_doc.rb', line 496 def readBlock() end |
#readOnly ⇒ Object
533 534 |
# File 'lib/TagLib_doc.rb', line 533 def readOnly() end |
#removeBlock ⇒ Object
515 516 |
# File 'lib/TagLib_doc.rb', line 515 def removeBlock() end |
#rfind ⇒ Object
498 499 |
# File 'lib/TagLib_doc.rb', line 498 def rfind() end |
#save ⇒ Object
Saves the file.
557 558 |
# File 'lib/TagLib_doc.rb', line 557 def save() end |
#seek ⇒ Object
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( = AllTags) end |
#tag ⇒ Object
Returns the Tag for this file.
505 506 |
# File 'lib/TagLib_doc.rb', line 505 def tag() end |
#tell ⇒ Object
540 541 |
# File 'lib/TagLib_doc.rb', line 540 def tell() end |
#valid? ⇒ Boolean
552 553 |
# File 'lib/TagLib_doc.rb', line 552 def valid?() end |
#writable? ⇒ Boolean
517 518 |
# File 'lib/TagLib_doc.rb', line 517 def writable?() end |
#writeBlock ⇒ Object
507 508 |
# File 'lib/TagLib_doc.rb', line 507 def writeBlock() end |