5.0 “nightly”/“prerelease” creates corrupted mediainfo.xml in rare cases
What tinyMediaManager version are you using?
Tested with Version 5.0 “nightly” (2023-11-25), Version 5.0 “prerelease” (2023-11-22), Version 4.3.14 “release”.
What is the actual behavior?
tmm 5.0 “nightly”/“prerelease” creates corrupt mediainfo files in rare case. I guess it's related to the title stored in the media file is in Japanese.
What is the expected behavior?
tmm 5.0 “nightly”/“prerelease” should create valid mediainfo files like tmm 4.3.14 “release”
created by 4.3.14 release (valid)
S13E0492 - One Piece X Toriko-mediainfo_4.3.14.xml
created by 5.0 nightly (corrupted)
S13E0492 - One Piece X Toriko-mediainfo_5.0_nightly.xml
Test file
S13E0492 - One Piece X Toriko.mp4
Log file
Trace file
2023-11-25 11:17:00,968 DEBUG [tmmpool-reloadMI-T1-G3] o.tinymediamanager.core.MediaFileHelper:1129 - could not write mediainfo xml - org.xml.sax.SAXException: An invalid XML character (Unicode: 0xb) was found in the node's character data content.