Metadata wirte to file tag fails sometimes in Win 10
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mixxx |
Fix Released
|
High
|
Daniel Schürmann |
Bug Description
The metadata export to file tag "sometimes" fails on WIN 10.
This was test on a virtual box Win 10 image.
There seems to be a file locking issue on windows that prevents to write the metadata at all testing wit plain 2.3.1:
Debug [Main]: MetadataSourceT
Critical [Main]: MetadataSourceT
Warning [Main]: MetadataSourceT
Warning [Main]: Track - Failed to export track metadata: "C:/Users/
Debug [Main]: TrackCollection
Debug [Main]: TrackDAO: Saving track 3 QFileInfo(
Debug [Main]: TrackDAO: Updating track in database 3 QFileInfo(
Debug [Main]: BaseTrackCache(
My first Idea was that this this is because of a looking up the file properties in windows explorer? But this also happens when I do not touch the file at all with other applications than Mixxx. It also happens after a fresh restart of Windows.
It is a Windows 10 Runnning in a virtual Box.
Interestingly the renaming works after I have loaded the track into a deck and edit the metadata while paying.
Changed in mixxx: | |
status: | New → In Progress |
assignee: | nobody → Daniel Schürmann (daschuer) |
Changed in mixxx: | |
status: | In Progress → Fix Committed |
Changed in mixxx: | |
status: | Fix Committed → Fix Released |
This is IMHO an important bug because if the metadata export does not always work, you cannot rely on it and the whole feature is kind of moot.
I am not sure what is the best solution, and if we are ever able to fix it entirely because on windows we don't know when a virus scanner kicks in or such.
For now I think we must not fail silently, leaving the inconsistent state.
We may revert the edit and issue a pop up or such.
Or make the dirty flag persistent to delay the metadata write across Mixxx restarts.
Ideas?