Alex

Results 112 comments of Alex

I don't think it makes that much of a difference (?), but since multiple patterns check the end of the string, you'd have to trim the string after each match...

In the context of a microbench I can't get better performance out of a whitespace replacement + trim at the end, but that could very well be my mistake. If...

Hey @JellyBrick, any update on this? This would be really helpful with the scrobbler plugin. I have to make manual edits right now with a bunch of junk suffixes falling...

Hey @phw is there anything else I need to do for this?

Hello! Your file has items that are not UTF-8 encoded. What is your local character encoding? If Windows is able to read it, that means the file is using your...

Hm. It's unfortunate that RIFF doesn't specify a text encoding. We would be able to *somewhat* reliably detect UTF-16 LE, but there's no BOM either. The only way for us...

That would also work. Gonna have to think about this one. For now I'd just recommend changing the encoding of your files to UTF-8, that's what most libraries (outside of...

Rustfmt is just falling apart right now.

Previously, Lofty was using metaflac behind the scenes, but it was later removed as it was quite slow compared to everything else. While it has been awhile since I have...

Sorry, what I meant was use [`FlacFile::read_from`](https://docs.rs/lofty/0.10.0/lofty/flac/struct.FlacFile.html#method.read_from). `Probe`, regardless of you setting a file type has to convert to the generic `TaggedFile`, which I imagine would have some decent overhead....