nikhilm / node-taglib

Simple taglib bindings to Javascript using node.js
http://nikhilm.github.com/node-taglib
MIT License
147 stars 25 forks source link

Improve API #6

Closed nikhilm closed 12 years ago

nikhilm commented 12 years ago

The current API has getAudioProperties and getFileTags which seems like a duplication of effort given the filename, and does not map cleanly onto the native TagLib API. It would be better if given a filename, an object could be retrieved which then had 'tag' and 'audioProperties' objects as properties.

nikhilm commented 12 years ago

getFileTags and getAudioProperties has been dropped in SHA: fadab2cf53 The separation between Tag and AudioProperties should stay so that we don't complicate the binding for the sake of only slightly increased convenience (and sometimes inconvenience) of the user.