lofty-rs
                                
                                
                                
                                    lofty-rs copied to clipboard
                            
                            
                            
                        Audio metadata library
Continuation of #51
Currently, only the padding directly before and after the tag are used. I've encountered files that have multiple small `free` atoms next to each other. We might as well use...
### Reproducer I tried this code: ```rust lofty::probe::read_from(&mut file); ``` ### Summary Panic ``` thread '' panicked at /home/rafal/.cargo/registry/src/index.crates.io-6f17d22bba15001f/lofty-0.18.0/src/ogg/vorbis/properties.rs:141:38: attempt to divide by zero stack backtrace: 0: rust_begin_unwind at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:645:5...
### Summary There is no easy way to interact with `Picture`s when using `ApeTag`. They are currently treated as any other item with `ItemValue::Binary`. We could very easily split them...
### Summary Currently, you have to do custom pre/post-processing on the low-level tag type, because those values are not accessible from `TaggedFile`. How could this information be made accessible in...
### Reproducer # Code `````rust #!/usr/bin/env -S cargo +nightly -Zscript ```cargo [dependencies] lofty = "0.17.1" ``` use lofty::{ItemKey, LoftyError, Probe, Tag, TagExt, TaggedFileExt}; use std::path::Path; #[derive(Default, Debug, Clone)] pub struct...
Since we know all of the tag types ahead of time, there's no reason we couldn't preserve the format-specific items (or the entire tag itself) in an immutable way inside...
The repo has always had multiple crates, there's really no reason not to convert to a workspace. This would also be really nice when combined with #311.
The new [lints section](https://doc.rust-lang.org/stable/cargo/reference/manifest.html#the-lints-section) in 1.74 makes it possible to move all the lints out of lib.rs: https://github.com/Serial-ATA/lofty-rs/blob/c606e07c62cb74ff3a15bb1eef4aec3c33e2d145/src/lib.rs#L101-L148
### Reproducer This case panicked at 'internal error: entered unreachable code' ```rust let data=[1,0,0,0]; let _local0 = lofty::id3::v2::Id3v2Tag::new(); let _local1_param0_helper1 = &(_local0); let _local1 = lofty::id3::v2::Id3v2Tag::original_version(_local1_param0_helper1); let _local2_param0_helper1 = &mut...