Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(examples): Add id3info example #144

Merged
merged 1 commit into from
Nov 22, 2024
Merged

Conversation

Holzhaus
Copy link
Contributor

This should help when debugging issues. Fixes #81.

@Holzhaus
Copy link
Contributor Author

Holzhaus commented Nov 19, 2024

Here's some example output:

$ cargo run --example id3info -- testdata/id3v23_chap.id3
# ID3 ID3v2.3 - 17 frames
TALB="Mac Power Users"
TPE1="Mac Power Users"
TIT2="554: Read-it-later Services"
COMM:[eng]="Read-it-later services can be a great way to save and enjoy an article later, away from the noise of social media or an overflowing RSS client. This week, David and Stephen talk about some of the popular choices, and how to keep them from becoming just another thing to check. Then, a recap of Apple’s recent media event."
USLT:[eng]="Read-it-later services can be a great way to save and enjoy an article later, away from the noise of social media or an overflowing RSS client. This week, David and Stephen talk about some of the popular choices, and how to keep them from becoming just another thing to check. Then, a recap of Apple’s recent media event."
CTOC=TableOfContents(TableOfContents { element_id: "toc", top_level: true, ordered: true, elements: ["chp0", "chp1", "chp2", "chp3", "chp4", "chp5", "chp6"], frames: [] })
CHAP:chp0=<chapter, 1 frames (4294967295+0 - 4294967295+466287>
CHAP:chp1=<chapter, 1 frames (4294967295+466287 - 4294967295+964340>
CHAP:chp2=<chapter, 1 frames (4294967295+964340 - 4294967295+1597615>
CHAP:chp3=<chapter, 1 frames (4294967295+1597615 - 4294967295+3042409>
CHAP:chp4=<chapter, 1 frames (4294967295+3042409 - 4294967295+3345281>
CHAP:chp5=<chapter, 1 frames (4294967295+3345281 - 4294967295+4158417>
CHAP:chp6=<chapter, 1 frames (4294967295+4158417 - 4294967295+5997000>
TLEN="5997000"
TYER="2020"
TENC="Forecast"
APIC:Front cover=<image, image/jpeg, description "", 321286 bytes>
$ cargo run --example id3info -- testdata/id3v23_geob.id3
# ID3 ID3v2.3 - 18 frames
TIT2="All You Need (Original Mix)"
TPE1="Thoma Cher"
TALB="Far East \0 Wild West EP"
TCON="Indie Dance \0 Nu Disco"
TIT1="Whiskey Disco"
TPUB="Whiskey Disco"
TYER="2017"
TKEY="Am"
RVAD=Unknown(Unknown { data: [0, 16, 0, 0, 0, 0, 0, 0, 0, 0], version: Id3v23 })
TBPM="117"
COMM:[eng]="Purchased at Beatport.com"
GEOB:Serato Overview=<encapsulated object, application/octet-stream, filename "", 3842 bytes>
GEOB:Serato Analysis=<encapsulated object, application/octet-stream, filename "", 2 bytes>
GEOB:Serato Autotags=<encapsulated object, application/octet-stream, filename "", 21 bytes>
GEOB:Serato Markers_=<encapsulated object, application/octet-stream, filename "", 318 bytes>
GEOB:Serato Markers2=<encapsulated object, application/octet-stream, filename "", 470 bytes>
GEOB:Serato BeatGrid=<encapsulated object, application/octet-stream, filename "", 39 bytes>
GEOB:Serato Offsets_=<encapsulated object, application/octet-stream, filename "", 29829 bytes>

@polyfloyd polyfloyd merged commit e64dfc4 into polyfloyd:main Nov 22, 2024
16 checks passed
@Holzhaus Holzhaus deleted the id3info branch November 22, 2024 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Is there a commandline utility for making use of this library?
2 participants