mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-10 22:10:15 -05:00
Check & fix UTF-8 strings before adding/updating files
This commit is contained in:
@@ -284,6 +284,8 @@ process_media_file(char *file, time_t mtime, off_t size, int compilation)
|
||||
|
||||
fixup_tags(&mfi);
|
||||
|
||||
unicode_fixup_mfi(&mfi);
|
||||
|
||||
if (mfi.id == 0)
|
||||
db_file_add(&mfi);
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user