kfrn / reel-time

Calculate the duration of your open-reel audio.
https://kfrn.github.io/reel-time/
5 stars 2 forks source link

1: Use CSV builder on JS side #17

Closed kfrn closed 6 years ago

kfrn commented 6 years ago

This was Nick's suggestion - since CSV is more fiddly than it appears, he recommended to use a CSV builder so that all escaping rules are accounted for, etc.

Therefore, I'm now sending through the CSV data through the port as lists of strings, rather than a single string with delimiters already included. On the JS side, the CSV builder library takes care of the CSV generation. I've imported the ES5 version of the module to avoid an Uglify error during the app build.

Addresses https://github.com/kfrn/reel-time/issues/1