-
Notifications
You must be signed in to change notification settings - Fork 312
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
Fixing Track prop in matroska to work with other software #225
base: main
Are you sure you want to change the base?
Conversation
I would hold back with this change. The file contains a Tag with an empty Targets to span to all file, as described in https://www.matroska.org/technical/elements.html Pity that VLC doesn't understand that. Now the proposed fix seems to work ok with VLC but not completely, as you may see that the total number of tracks is not displayed. So sorry, I'm not against pleasing VLC, but I'd like to be sure we do this following the Matroska and TagLib# philosophie. |
@Starwer Thanks for your response, I have some thinks to clarify:
|
I analyzed the problem further... Another thing: the way you "fixed" the issue may force to create a new Tag to contain TRACK, whereas the current Tag (representing the file as a whole) should be used to store/retrieve track-number. My conclusion:
|
@Starwer would you be okay if I change the behavior just for audio in a new PR an dclose this?
I don't really understand what you are trying say here; when there is no tag on level 30, of course I have to create one to store the tracknr. The same usage of |
@Starwer Could you follow up on this? |
Sorry, I'm still unsure about the proposed fix for Mka (Matroska audio) files here. It would greatly help if an unitary test was added to specifically check the support of Mka file, so that I could verify the created tags are ok. |
@Starwer Just wanted to confirm, you mean that I add a unit test, which checks whether a Track Number (for Music) is correctly set in a Matroska file? |
I started a discussion thread on Matroska song tagging. Please take a look. |
TRACK in Matroska was previously set incorrectly, making this property unreadable for VLC and others. This Fixes it by explicitly reading and writing PART_NUMBER on level 30 as described in the Matroska spec.
Before:
After:
(comparison based on unit test)