Comments (2)
This is an interesting idea. The varying precision provided by the different metadata types is very frustrating. At one point I considered adding a Date
method
Date() time.Time
but then decided against it because too many dates would then have silly values like 2008-01-01
where only the year 2008
is given etc...
Having a string value, that then requires more post-processing by the user is frustrating too, because you then have to introspect the string to work out what it actually means... Maybe we should just add our own date type or something!
from tag.
Yes if we try parse these, we'd need to store how much precision the value has.
However, my use case is just for sorting, where I actually don't need to process the string at all if the tags actually conform to ISO-8601 (as then it will just sort lexicographical).
I have already done this in my fork and it seems to work, though the test files are only partially updated because id3 and atom are just super weird. I'll probably throw in into a PR soonish.
from tag.
Related Issues (20)
- Support MP4 tags that are not mean `com.apple.iTunes`
- [Feature Request] Convert genre byte codes (including "Winamp Extension" codes 80-191) to string values HOT 1
- Feature Request: Writing Tags HOT 1
- error reading file: expected 'vorbis' identification type 1 with Ogg Opus file HOT 3
- OOM on malformed input
- Please WebM support HOT 1
- Error in Cover Art extraction HOT 1
- panic: runtime error: slice bounds out of range [:3] with capacity 1 HOT 1
- some vulnerability - 0x01 an out-of-bound vulnerability in readPICFrame function HOT 3
- some vulnerability - 0x02 an out-of-bound vulnerability in readAtomData function
- some vulnerability - 0x03 an out-of-bound vulnerability in readTextWithDescrFrame function HOT 7
- some vulnerability - 0x04 an out-of-bound vulnerability in readAPICFrame function
- Installation instructions in README are outdated ("go get" is deprecated) HOT 4
- panic: invalid encoding: expected even number of bytes for UTF-16 encoded text HOT 4
- [FEAT req] Pass on cli flags to only output selected metadata
- Why does metadataVorbis#Composer and #Artist return a value that was unasked for? HOT 1
- why my video always parse noting! HOT 2
- Sum changes when mp3 tag metadata changes HOT 10
- [FR] APE and WV (WavPack) support?
- If a mp3 file has no tags at all, the go library reports no tags found HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tag.