Skip to content

Recognize more versions of the iTunes library file#36

Open
cbfiddle wants to merge 1 commit into
josephw:masterfrom
cbfiddle:master
Open

Recognize more versions of the iTunes library file#36
cbfiddle wants to merge 1 commit into
josephw:masterfrom
cbfiddle:master

Conversation

@cbfiddle

Copy link
Copy Markdown

I have made some changes that allow the parser to recognize newer formats of the iTunes library file.
I have tested these changes by examining the tracks that it finds in several of the files in Previous iTunes Libraries.
These changes break several of the existing tests.
As these tests were created many years ago, they may not be valid.
I have accomplished my goals and do not plan to do any further work on this project.
I am submitting my changes in case anyone finds them useful.

bigdumbface added a commit to bigdumbface/titl-rev that referenced this pull request Nov 12, 2025
This merge incorporates changes from cbfiddle's pull request that adds:
- Recognition of newer iTunes library file versions
- Additional track metadata fields (track/disc numbers, compilation flag)
- Better error handling (warnings instead of exceptions for unknown formats)
- Support for more HOHM types and data structures
- Improved HDSM block handling

Note: Some tests fail as expected - the PR author noted these tests
may be outdated and the changes have been tested against newer iTunes
library files from Previous iTunes Libraries.
bigdumbface added a commit to bigdumbface/titl-rev that referenced this pull request Nov 12, 2025
The PR josephw#36 changes introduced extra data after HDSM blocks that wasn't
being read/written by ProcessLibrary, causing EOFException in MoveMusic
and other processing tools. Now properly reads and writes this extra data.
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.

1 participant