-
-
Notifications
You must be signed in to change notification settings - Fork 448
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
Errors when working with non-English filenames (preview error) #4034
Comments
@u3712 thanks for reporting this bug. Can you please paste one of the filenames that causes the problem? |
"4x01 - Прошлост је родитељ (The Past Is Parent).avi"
"4x01 - Уроки прошлого (The Past Is Parent).avi"
"4x01 - Անցյալը ծնող է (The Past Is Parent).avi"
…________________________________
От: SubJunk ***@***.***>
Отправлено: 19 августа 2023 г. 20:50
Кому: UniversalMediaServer/UniversalMediaServer ***@***.***>
Копия: u3712 ***@***.***>; Mention ***@***.***>
Тема: Re: [UniversalMediaServer/UniversalMediaServer] Errors when working with non-English filenames (preview error) (Issue #4034)
@u3712<https://github.com/u3712> thanks for reporting this bug. Can you please paste one of the filenames that causes the problem?
—
Reply to this email directly, view it on GitHub<#4034 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AJM6QBVQCTVO4I6JEF7HXIDXWERIPANCNFSM6AAAAAA3WZAS5M>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
|
I don't see any errors with the thumbnail generation, but maybe the problem is that the URL we provide to the TV isn't good. I can see in the logs this:
That is the details we send to the TV. These URLs can be different each time UMS runs, so you might have to get the current URLs from the logs yourself. My idea is that maybe some of the special characters are not being encoded properly. You can try them in a browser, e.g. open up these in a browser (but fresh ones from your logs, because the That will test the theory |
That might be the reason, but does the video play properly? It is weird if it accepts the video but not the image, because the video also has that same URL with brackets encoded. I see on the Samsung website, the TV has a firmware update from this year, are you using it? Maybe they fixed the bug https://www.samsung.com/uk/support/model/UE39F5300AKXXU/#downloads |
The update will not help, this is a general malfunction. Yes, and you can not update - there is no update for my model. |
@u3712 since the URLs work via a web browser I think we have isolated the problem as a bug on the TVs. I made this build of UMS to test, which will hopefully serve the thumbnails without the filename part, it should be like |
Ah cool, so the TV doesn't like one of the encoded characters. I will have to come up with a better fix then, because it is still good to use dynamic names. I will upload another fix to test soon, and if that works I will put it in the next release |
No, it's much more complicated. |
Please add(!) this correction to the normal version of UMS. In the current version of UMS (13.6.0), working with non-English characters does not work, and the version you issued "UMS-4034" contains many critical errors. For example, this is what the file viewing marks look like on the “UMS-4034”: add: |
I'm sorry for your wasted time. Everything described in #4060 happens only in the test version of the program that you gave earlier to check the formation of thumbnails. The official version 13.6.0 does not have these problems; version 13.6.0 works stably with all files (but displaying non-English thumbnails does not work). |
Ah I see. Thank you for explaining. There is nothing to forgive, it's an easy mistake to make! |
For information. |
ums_dbg_2023-08-19-21-49.zip
When displaying a movie catalog, UMS creates preview images. If there are only English characters in the file name, pictures are generated correctly. If there are not many (little) non-English characters, the error is not seen. But if there are many characters, more than 10 (15?), then the preview image is not created. Interestingly, the error depends not so much on the number of characters, but on their mutual influence. I have not been able to identify a strict rule. It does not depend on the content of the movie.
This crash occurs in any version of UMS, it was "always". I really hoped that someday it would be fixed, but this has not happened so far.
Remark.
I looked at the first page of the conference, bugreport #3912 caught my eye. It seems to me that there is the same problem - an error in the file name.
Please see the mechanism for reading file names not only English characters.
Thanks for the program - a very good product.
The text was updated successfully, but these errors were encountered: