Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

%item.library.name% cannot be substituted when it is in Chinese #62

Open
zsgcgrs opened this issue Apr 20, 2022 · 6 comments
Open

%item.library.name% cannot be substituted when it is in Chinese #62

zsgcgrs opened this issue Apr 20, 2022 · 6 comments
Assignees

Comments

@zsgcgrs
Copy link

zsgcgrs commented Apr 20, 2022

Test on {On Media Item Added Complete}

@AnthonyMusgrove
Copy link
Owner

Thank you for reporting this issue! I'll look into it! :)

@AnthonyMusgrove
Copy link
Owner

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?

image

@AnthonyMusgrove
Copy link
Owner

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: 局域网访问 - 局域网访问局域网访问局域网访问局域网访问局域网访问局域网访问局域网访问

@zsgcgrs
Copy link
Author

zsgcgrs commented Apr 20, 2022

%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

@zsgcgrs
Copy link
Author

zsgcgrs commented Apr 20, 2022

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

@zsgcgrs
Copy link
Author

zsgcgrs commented Apr 20, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants