Mercurial > minori
comparison 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 |
comparison
equal
deleted
inserted
replaced
227:c4f03f83b252 | 228:d030b30526d5 |
---|---|
43 for (const auto& media : result.media) { | 43 for (const auto& media : result.media) { |
44 for (const auto& info : media.information) { | 44 for (const auto& info : media.information) { |
45 switch (info.type) { | 45 switch (info.type) { |
46 case animia::MediaInfoType::File: | 46 case animia::MediaInfoType::File: |
47 case animia::MediaInfoType::Title: | 47 case animia::MediaInfoType::Title: |
48 vec.push_back(std::filesystem::path(info.value).filename().string()); | 48 vec.push_back(std::filesystem::path(info.value).filename().u8string()); |
49 success |= true; | 49 success |= true; |
50 default: | 50 default: |
51 break; | 51 break; |
52 } | 52 } |
53 } | 53 } |