Emby-ScripterX
Emby-ScripterX copied to clipboard
%item.library.name% cannot be substituted when it is in Chinese
Test on {On Media Item Added Complete}
Thank you for reporting this issue! I'll look into it! :)
I've just added a video file with a chinese simplified name, and checked the emby log for onMediaItemAddedComplete and it shows :-
2022-04-20 23:24:33.065 Info Emby ScripterX: onMediaItemAddedComplete: Movies - 局域网访问局域网访问局域网访问局域网访问局域网访问局域网访问局域网访问
The %item.library.name% here is 'Movies' and the movie title is '局域网访问局域网访问局域网访问局域网访问局域网访问局域网访问局域网访问'
Is the issue more so if the library name is in chinese?
I've just now added another library, with a chinese simplified name, and copied this movie into it, and in my emby log it shows :-
2022-04-20 23:28:49.917 Info Emby ScripterX: onMediaItemAddedComplete: 局域网访问 - 局域网访问局域网访问局域网访问局域网访问局域网访问局域网访问局域网访问
%item.library.name% cannot be substituted when the library where the media file is located is Chinese, but it is OK when the media library is English
2022-04-20 21:56:03.341 Info HttpClient: GET https://api.day.app/XXXXXXXXXXX/电影入库:科拉尔金矿(2018)/库属:%item.library.name%
The library where the media is located is 电影, and %item.library.name% was not converted to 电影 at the time of request
Sorry! I don't understand English! I can only use translation instead, which makes you very tired. I hope you can understand what I mean