Serial-ATA / lofty-rs

Audio metadata library
Apache License 2.0
187 stars 35 forks source link

Add into_inner for BoundTaggedFile #404

Closed rakbladsvalsen closed 3 months ago

rakbladsvalsen commented 3 months ago

Hey, hello there!

I noticed BoundTaggedFile (which takes a file) doesn't have a method to retrieve back the original file handle, so I added a fairly simple and short method to retrieve it back.

I also added a mp3 test case for it.

Serial-ATA commented 3 months ago

Thanks!

I changed the test to use the temp_file! macro so the file doesn't have to be reverted to its original state.