casept
4436e8a5ab
Remove dependency on iconv with the help of @mmorton's patches
2017-05-26 21:56:20 -05:00
joshua stein
db0dbebd68
add support for deleting a single frame
2017-05-26 21:56:20 -05:00
Michael Yang
0456e6a0ea
Fix null termination on image frames
2017-05-26 21:56:19 -05:00
Thijs van Dijk
6e8ffc90d8
Preserve frame order
...
Change the `frames` field of a v2 `Tag` from a map to a slice.
This way, frames are written to the file in the same order as you set
them from your code.
2017-05-26 21:56:19 -05:00
joshua stein
0a10a3fd6e
WXXX frames should be parsed as DescTextFrame
2017-05-26 21:56:19 -05:00
joshua stein
5cc2ada1a7
update import paths to my fork
2017-05-26 21:56:19 -05:00
joshua stein
16949dffd5
add support for reading and writing CHAP and CTOC frames
2017-05-26 21:56:19 -05:00
Michael Yang
0168d962f1
Update travis
2015-11-30 20:13:46 -05:00
Michael Yang
b2f5be6a84
Set UTF8 to default for convenience methods. Closes #22
2015-11-30 19:57:16 -05:00
Michael Yang
59e3c3ddc6
Merge pull request #17 from xhenner/TCMP
...
Add support for iTunes TCMP Frame
2015-01-05 09:58:42 +09:00
Xavier Henner
d0724e417d
Add support for iTunes TCMP Frame
2014-12-27 14:46:10 +01:00
Michael Yang
f9f68c06b0
Merge branch 'develop'
2014-07-10 20:59:55 -04:00
Michael Yang
15ff69e561
Fixes #14 Add tag to tagless file if dirtied
2014-07-10 20:50:35 -04:00
Michael Yang
85a5c67234
Shorten WriteNullTermString
2014-07-05 20:28:24 -04:00
Michael Yang
bcd5d72721
Merge pull request #13 from gerow/utf16_comm_write_fix
...
Fixed the way id3-go writes back comm tags when using utf16
2014-07-05 20:14:40 -04:00
gerow
1b47fc4f6d
cleaned up testing of UTF-16 on UnsynchTextFrames fix
...
Added a new COMM field to test.mp3 in UTF-16 with the Description: "✓"
and text "✓". Opening and closing it two times without a panic should
ensure that it is working.
Also added a few lines to the open test to explicitly test to make sure
that these UTF-16 fields are being read properly.
2014-07-05 18:38:28 -04:00
Michael Yang
daf55d2594
Merge branch 'develop'
2014-07-04 21:31:53 -04:00
Michael Yang
0eab63445b
Add build status indicator
2014-07-04 21:31:18 -04:00
Michael Yang
1e647678c4
Merge branch 'develop'
2014-07-04 21:26:58 -04:00
Michael Yang
6efa87ae15
Fix sizes affected by encoding
2014-07-04 21:24:50 -04:00
Michael Yang
8b38aba2a1
Fix EncodedDiff parameter order
2014-07-04 21:23:35 -04:00
Michael Yang
bb6fdce02f
Fix encoding test
2014-07-04 21:20:09 -04:00
Michael Yang
307335bec8
Rename parameters for clarity
2014-07-04 21:11:23 -04:00
Michael Yang
9ffba2212f
Add Travis CI
2014-07-04 19:52:01 -04:00
Michael Yang
3009337ff8
Merge branch 'develop'
2014-07-04 19:39:42 -04:00
Michael Yang
90ffc5cacc
Merge branch 'feature/readonly' into develop
2014-07-04 19:35:55 -04:00
Michael Yang
2fa59701da
Add dirty flag to Tagger
2014-07-04 19:33:47 -04:00
Michael Yang
f3d29e61e5
Add test for readonly
2014-07-04 19:33:47 -04:00
gerow
cc69456c06
Fixed the way id3-go writes back comm tags when using utf16
...
Previously when trying to write a null terminated string it simply wrote
a single 0 byte for the null character. This fails for utf16 where the
null character is two bytes of zeros.
fixed the way that we WriteNullTermString with utf16
Originally this function was just writing a 0x00 byte, which does not
work for utf16.
fixed mistake when merging changes
2014-07-04 18:52:23 -04:00
Michael Yang
be402cac69
Merge pull request #7 from viking/unsynch
...
Fix UnsynchTextFrame byte format
2014-05-16 17:12:01 -04:00
Jeremy Stephens
e92e859664
Fix UnsynchTextFrame byte format
...
- change encodedBytes.Reader's ReadNullTermString behavior to strip off
null byte(s)
- add WriteNullTermString function to encodedBytes.Writer
- include NullLength information in encodingbytes.EncodingMap
- increase size of UnsynchTextFrame by the null length of the encoding
- automatically null-terminate description string in
UnsynchTextFrame.Bytes()
2014-05-16 14:42:38 -05:00
Michael Yang
0351711803
Fix flag truth value issue
2014-02-04 15:11:35 -05:00
Michael Yang
60d6959198
Add utility for flag bytes
2014-01-24 23:34:42 -05:00
Michael Yang
1a87dd9f58
Update README
2014-01-23 10:06:25 -05:00
Michael Yang
f913d7e078
Add documentation
2014-01-23 10:06:16 -05:00
Michael Yang
e6fdcb2297
Clean tag and frame header bytes methods
2014-01-19 11:06:29 -05:00
Michael Yang
1052d2f5ca
Fix seeker position after tag parse
2014-01-18 08:06:54 -05:00
Michael Yang
3dac62c7d0
Create new frame on common map types if none exist
2014-01-17 17:36:50 -05:00
Michael Yang
93894f2ae9
Change common map type from string to FrameType
2014-01-17 17:36:29 -05:00
Michael Yang
e326fd920b
Change AddFrame to variadic AddFrames method
2014-01-17 17:35:53 -05:00
Michael Yang
f5a19a4cae
Add identification frame
2014-01-16 12:58:22 -05:00
Michael Yang
5ff216d24d
Remove redundant type cast
2014-01-16 11:50:30 -05:00
Michael Yang
df4dab050b
Correct int32 types to uint32
2014-01-15 21:03:03 -05:00
Michael Yang
bd8bfe8f50
Improve seek to end of tag
2014-01-14 13:17:35 -05:00
Michael Yang
9fd9213026
Subpackage encoding and bytes functions
2014-01-12 12:34:04 -05:00
Michael Yang
aa09573f06
Add NewTag function
2014-01-11 22:16:34 -05:00
Michael Yang
d761ee1906
Remove redundate package rename
2014-01-11 22:10:06 -05:00
Michael Yang
e9228d9daa
Replace Header interface with renamed Head struct
2014-01-10 15:00:16 -05:00
Michael Yang
9163b6c404
Move file end check to helper method
2014-01-10 14:54:24 -05:00
Michael Yang
5e29803875
Extract write on close
2014-01-10 14:50:12 -05:00