Michael Yang
be8935b99a
Fix null termination on image frames
2014-09-15 12:13:36 -04: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
Michael Yang
f403069655
Replace fileEndFlag with os package constant
2014-01-10 14:48:28 -05:00
Michael Yang
8205230c3e
Parse header flags
2014-01-10 00:43:42 -05:00
Michael Yang
cf116f45d9
Add more error checking
2014-01-09 11:42:34 -05:00
Michael Yang
6751a54d05
Move helper functions to separate file
2014-01-09 11:37:42 -05:00
Michael Yang
6f7743acf9
Add general test
2014-01-09 00:46:17 -05:00
Michael Yang
c77e46a5d2
Fix file name
2014-01-09 00:45:33 -05:00
Michael Yang
53ceffa33e
Update README
2014-01-08 00:24:31 -05:00
Michael Yang
56f44276d3
Add v1 subpackage
2014-01-08 00:18:32 -05:00
Michael Yang
9ee5a6a8ec
Subpackage v2
2014-01-07 23:43:27 -05:00
Michael Yang
da4169c300
Add v2.2 test
2014-01-07 23:41:22 -05:00