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

Files not writeable by Taglibsharp but writeable by other tools #332

Open
OrangeDogSoftware opened this issue Aug 18, 2023 · 1 comment
Open

Comments

@OrangeDogSoftware
Copy link

Hello,

I use taglibsharp to edit video metadata. In my collection, a lot of videos are seen by taglibsharp as not writeable but they are in other tools (I can manage to edit metadata via the windows explorer for example).

What makes a file considered as non writeable by Taglibsharp ?

How to fix the file in case it's really not writeable (which I doubt).

Thanks

@Starwer
Copy link
Contributor

Starwer commented Aug 20, 2023

TagLibSharp considers a file as non writeable if it thinks the file is possibly corrupted. It makes sense, because it is then not sure how to write data back or whether trying to write tags will totaly corrupt (even more) the file, rendering it potentially unreadable.
You can see the reason of the possible corruption in property: File.CorruptionReasons.

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

No branches or pull requests

2 participants