diff src/track/media.cc @ 228:d030b30526d5

config: remove unused username parameter from anilist auth
author Paper <mrpapersonic@gmail.com>
date Tue, 09 Jan 2024 08:05:36 -0500
parents 649786bae914
children 69f4768a820c
line wrap: on
line diff
--- a/src/track/media.cc	Mon Jan 08 21:30:18 2024 -0500
+++ b/src/track/media.cc	Tue Jan 09 08:05:36 2024 -0500
@@ -45,7 +45,7 @@
 				switch (info.type) {
 					case animia::MediaInfoType::File:
 					case animia::MediaInfoType::Title:
-						vec.push_back(std::filesystem::path(info.value).filename().string());
+						vec.push_back(std::filesystem::path(info.value).filename().u8string());
 						success |= true;
 					default:
 						break;