Commit Graph

  • 3a81dfb883 Fix a number of bugs to get things working with ID3v2.4 tags generated by libid3tag: Scott Wheeler 2004-07-26 01:29:39 +00:00
  • d8fc67ac67 Return a bool indicating if the save was successful as in File::save() Scott Wheeler 2004-07-24 17:30:54 +00:00
  • ab51136a54 Off by one -- make tagreader work with mpc files. Scott Wheeler 2004-07-20 22:50:30 +00:00
  • fd09b23aa0 Add MPC to the C bindings. Scott Wheeler 2004-07-20 22:46:38 +00:00
  • 28738debc1 A few more nitpicks. Scott Wheeler 2004-07-20 22:40:57 +00:00
  • 382f8194c1 standard style nitpicks and make it build with gcc 2.95 Scott Wheeler 2004-07-20 22:30:00 +00:00
  • 2fd6401354 Improve behavoir: * use setValid(false) to indicate broken files * avoid reading over file-end in case of truncated files * subtract size of ID3v1 from streamSize * skip known ID3v2 tag when scanning for first FLAC-frame CCMAIL: 83924-done@bugs.kde.org CCMAIL: 85356@bugs.kde.org Allan Sandfeld Jensen 2004-07-19 17:22:32 +00:00
  • f650edc81d Correct includes so they work when included with path, like: #include <taglib/mpcfile.h> Allan Sandfeld Jensen 2004-07-17 16:04:50 +00:00
  • ba10ce016f Also update taglib-config Allan Sandfeld Jensen 2004-07-17 14:19:48 +00:00
  • 837872a113 Fix a bit of bitrot Allan Sandfeld Jensen 2004-07-17 14:17:09 +00:00
  • cda53a3db4 Add support for reading musepack(mpc)-files and parsing APE-tags(v1 and v2). Bumb version to have something to check for in JuK and kfile_mpc Allan Sandfeld Jensen 2004-07-17 13:39:27 +00:00
  • 425d793752 Compile Allan Sandfeld Jensen 2004-07-14 11:33:46 +00:00
  • 05221f8206 Add find and erase semantics like those in tlist.h Allan Sandfeld Jensen 2004-07-13 18:28:50 +00:00
  • 6879050c54 Valgrind says home-brew strdup() is broken Fixes saving of MP3 meta-info from properties dialog Waldo Bastian 2004-07-12 16:07:27 +00:00
  • 9a365f9e7e Fix spelling. Scott Wheeler 2004-06-26 14:26:36 +00:00
  • 8de9b1f26a Don't try to read the properties from the bytevector if it's smaller than the required size; in this case empty. Also some minor nitpicks along the way. Scott Wheeler 2004-06-24 15:48:58 +00:00
  • 5b0c38eee9 CVS_SILENT add a note in the docs about strip() behavior Scott Wheeler 2004-06-23 22:39:39 +00:00
  • 430e20f191 Another nice patch from Teemu Tervo. This deletes the tags from memory when they're stripped from the file. Scott Wheeler 2004-06-23 22:38:21 +00:00
  • 737be443d6 Update the C bindings to reflect the earlier change in the return type for saving files. Scott Wheeler 2004-06-23 21:52:27 +00:00
  • 0d04000f74 oops -- forgot FLAC -- return bool for the FLAC::File::save() too to provide some information on if the save was successful. Scott Wheeler 2004-06-23 18:45:26 +00:00
  • 8bdecaf320 CVS_SILENT forgot to save this file before the last commit -- doc update Scott Wheeler 2004-06-23 18:37:00 +00:00
  • 420541441c Switch the return type of File::save() from void to bool to provide a little bit of feedback on whether or not the safe operation worked. Scott Wheeler 2004-06-23 18:35:52 +00:00
  • 5f2e59150c Ah, this one's easy -- though an odd corer case; there's a Xing header here but no MPEG frames. This was triggering a divide by zero. Scott Wheeler 2004-06-17 15:33:53 +00:00
  • 2817d4e507 initialize variable Scott Wheeler 2004-06-15 10:13:05 +00:00
  • b9de676bc0 Parse ID3v2.4 genres as a list of fields rather than a text string with the ID3v1 genre in parenthesis. Scott Wheeler 2004-06-09 14:57:30 +00:00
  • b69dd382c6 Add iterators and operator[] to the string class. Scott Wheeler 2004-06-09 13:33:05 +00:00
  • 0c6be64f8a Two issues pointed out by Gary Peck: *) Note that adding and removing frames from the ID3v2::Tag will invalidate iterators on the frame list *) Correct the number of genres -- it should be 148 instead of 147. You can all have your Synthpop genre back now. :-) Scott Wheeler 2004-06-06 00:10:58 +00:00
  • 05e484830c Don't die on invalid input. Scott Wheeler 2004-05-29 20:12:36 +00:00
  • 9320aa0bbc Oops. Pretty significant type in the frame name for recording date. This will automatically fix these files on the next write. (At the moment other taggers will not be able to read the date written by TagLib in the ID3v2 tag. In most cases they'll fall back to the ID3v1 tag, which is fine, but still kind of nasty.) Thanks to Teemu Tervo for catching this. Scott Wheeler 2004-05-24 07:37:41 +00:00
  • 3ca114a4ee Add a short description Scott Wheeler 2004-05-13 00:09:41 +00:00
  • b29a821ed4 documentation fixes Scott Wheeler 2004-05-13 00:08:00 +00:00
  • 1770ffd35a Add a frameList() overload that accepts a frame ID as a shortcut to the frameListMap(). Scott Wheeler 2004-05-13 00:07:30 +00:00
  • b9c9fd6c8d Added an example on how to read additional frames. Scott Wheeler 2004-05-10 01:07:58 +00:00
  • efd221e9b4 doxygen fix Scott Wheeler 2004-05-09 20:44:52 +00:00
  • 1be868b5b7 CVS_SILENT docs fix Scott Wheeler 2004-05-09 17:54:40 +00:00
  • f9ca8cd69b Just a little hack to make the Vorbis classes appear in the Ogg namespace in the API docs and a tyepdef to make this work (since this is how things will be in the next BIC version). Scott Wheeler 2004-05-06 16:59:13 +00:00
  • 6a2cdbcc45 A small regression -- when assigning a ByteVector to a String make sure to not include the trailing null characters. (This was introduced after the last release.) Scott Wheeler 2004-05-06 12:36:31 +00:00
  • ceb989f170 Don't append a framing bit when writing Xiph comments to FLAC files since this renders them unplayable with some players. Thanks to Jason Lee for tracking this down! Scott Wheeler 2004-05-04 01:47:01 +00:00
  • 5895810131 Add docs. Scott Wheeler 2004-04-28 00:58:46 +00:00
  • 9e15659dbf Oops, the implementation of this constructor was missing. Scott Wheeler 2004-04-28 00:23:52 +00:00
  • 5091aa0b0c Add native support for the RVA2 (relative volume adjustment) frame. The docs aren't there yet and this is completely untested, but that will follow as soon as I find a file actually tagged with one of these. :-) Scott Wheeler 2004-04-27 02:01:27 +00:00
  • de4bd42ef0 Add new type and templatize the "fromNumber" conversion. Scott Wheeler 2004-04-27 01:29:22 +00:00
  • cf6506668d Oops. Make the docs accurate. Scott Wheeler 2004-04-27 01:21:30 +00:00
  • 237ea76ef6 Make this check current with the bytevector code. Scott Wheeler 2004-04-27 01:09:48 +00:00
  • 33bc1a1533 Changed my mind on the last one -- use explicit types rather than trying to figure things out. This also allows the number conversion to be templatized. Scott Wheeler 2004-04-27 01:09:31 +00:00
  • cfbc564bb6 Add a check for the toInt() stuff. Scott Wheeler 2004-04-26 23:05:36 +00:00
  • 31b46c03ac Add a toInt() method that correctly adjusts for the signedness bit even on different variable sized byte vectors. Scott Wheeler 2004-04-26 23:00:21 +00:00
  • 8c2b1138ea Add direct support APIC (attached picture) frames. I'll probably add an example to the examples dir later today showing how to use this. Scott Wheeler 2004-04-26 08:49:02 +00:00
  • 940ac2cc3d Minor fix for getting the frame header size correct for unknown frames in ID3v2.2 tags. Scott Wheeler 2004-04-26 01:18:37 +00:00
  • 4879eb8e6e CVS_SILENT make some stuff as deprecated Scott Wheeler 2004-04-10 23:28:54 +00:00
  • 6a1c3618ec Sadly reserve() just changes the capacity, not the actual size of the vector so this didn't update the internal size of the std::vector... Scott Wheeler 2004-04-10 18:39:17 +00:00
  • 771a5cd65e Adding accessors for the various tag type for FLAC tags (similar to those in MPEG::File). Scott Wheeler 2004-04-10 17:55:23 +00:00
  • 09c4de9114 CVS_SILENT API docs corrections Scott Wheeler 2004-04-10 17:23:22 +00:00
  • 8e0c661d38 CVS_SILENT nitpicks Scott Wheeler 2004-04-10 17:03:41 +00:00
  • 2227d2004b Fix the same bug that I fixed in MPEG last week -- allow the lib user to specify the ID3v2FrameFactory in the FLAC::File construstor. Scott Wheeler 2004-04-10 15:50:17 +00:00
  • 92289b8df9 Return a XiphComment here -- that still satisfies the overload of TagLib::File::tag() since return types aren't mangled into the symbol names. Scott Wheeler 2004-04-10 15:36:17 +00:00
  • 6f3480a1b3 Restore public API from last commit Allan Sandfeld Jensen 2004-04-07 14:07:53 +00:00
  • 1bbbfc2c6b Oops. Forgot to update this recently... Scott Wheeler 2004-04-07 10:53:12 +00:00
  • 5861cb8e00 CVS_SILENT nitpicks Scott Wheeler 2004-04-07 07:58:06 +00:00
  • 15d3c3c71a Several optimizations that came from KCacheGrind / calltree fun. Basically they fall into the categories: - Don't convert things before you need to - When you do, use more effecient copy constructors / assignment operators (i.e. when copying prefer memcpy to a for loop and when that's not possible use an iterator instead of operator[]) Scott Wheeler 2004-04-07 06:00:05 +00:00
  • 1bc8909bba Adding Ogg/FLAC support to TagLib Allan Sandfeld Jensen 2004-04-06 20:35:29 +00:00
  • 4f1f6adf59 Changing the API to something more flexible (And needed for Ogg/FLAC) Allan Sandfeld Jensen 2004-04-06 20:34:28 +00:00
  • 9fe8b9ea34 version 1.1 Scott Wheeler 2004-04-04 21:36:38 +00:00
  • 8c63238fb8 Add the ability to override the default ID3v1 string handling in TagLib by adding a ID3v1::StringHandler class that has render and parse methods. Scott Wheeler 2004-04-04 14:42:13 +00:00
  • 907c0fddb0 After making a simple enough test-case for Scott I was able to find the bug myself. Allan Sandfeld Jensen 2004-04-03 16:20:11 +00:00
  • 1b28af00a2 Add a constructor that takes an ID3v2::FrameFactory. Scott Wheeler 2004-03-30 13:50:26 +00:00
  • 067dc81f93 CVS_SILENT another nitpick Scott Wheeler 2004-03-30 13:45:24 +00:00
  • f78cee2f24 I like it more like this... Scott Wheeler 2004-03-30 13:12:18 +00:00
  • d0d82ec6ea The explicit is silly here since it takes two arguments (it's leftover from when this used to have a default argument). Scott Wheeler 2004-03-16 18:51:16 +00:00
  • 2ac52bceee - ByteVector::operator> seemed flawed to me Frerich Raabe 2004-03-10 13:06:14 +00:00
  • d6aeb26c98 Use memcmp() and memcpy() where appropriate rather than slower loop based methods. Here this improves tag reading speed by about 50%. Scott Wheeler 2004-03-05 15:59:00 +00:00
  • 8cd5093faa Hmm, not good -- missing "ref" here so that the reference count wasn't being incremented on copy. Scott Wheeler 2004-02-29 20:02:18 +00:00
  • 9a63f34627 Fix String::data() for UTF16 -- there was a missing break in the case statement, so both the UTF16 and the UTF16BE versions were being executed. Scott Wheeler 2004-02-22 12:51:32 +00:00
  • b23b37eb73 Oops, forgot a break... Scott Wheeler 2004-02-20 11:42:14 +00:00
  • e86abce07c Added a translation table between ID3v2.2 frame names and ID3v2.4. TagLib now supports ID3v2.2 through ID3v2.4. Scott Wheeler 2004-02-20 11:40:44 +00:00
  • c22ee9d712 CVS_SILENT oops -- didn't mean to check this in Scott Wheeler 2004-02-20 01:42:10 +00:00
  • 619ef906cd Mostly get ID3v2.2 working. Sure, it's a standard from 1998 that was replaced in 1999, but apparently iTunes still uses it. Scott Wheeler 2004-02-20 01:41:25 +00:00
  • d21fa22260 Add a couple of testcases that point out UTF16 bugs. Scott Wheeler 2004-02-17 02:56:10 +00:00
  • bfd0be4c7d Fixed problem with TagLib reading 1 byte fields in ID3v2 tags. Scott Wheeler 2004-02-17 02:11:05 +00:00
  • 7fe6647435 This commit was manufactured by cvs2svn to accommodate a server-side copy/move. Scott Wheeler 2004-02-17 02:11:05 +00:00