Opened 16 years ago
Closed 15 years ago
#8339 closed defect (fixed)
Non ascii video titles in mythweb are truncated
Reported by: | yianniv | Owned by: | Rob Smith |
---|---|---|---|
Priority: | minor | Milestone: | 0.24 |
Component: | Plugin - MythWeb | Version: | Master Head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
Ever since - I think - I moved to storage groups, in the mythvideo screen of mythweb the non-ascii titled videos appear on the left hand side as if they were folders (links). Moreover, some of them are only the left "half" phrases or words, and the right part is gone. Strangely, a <nonasciifile>.avi appears as "<nonasciifile>.a" i.e. the ascii letters "vi" are missing.
No standard phrase length, truncation seems random.
If a folder contains non-ascii videos, they will appear tabbed under the parent folder as sub-folders and the ascii titled videos will appear normally with their icons and titles on the main window.
Is this a misconfiguration on my part (in which case I apologize) or a bug?
There is nothing mentioned in apache.log or mythbackend.log (with -v important)
I hope the description is not too confusing.
The system is Debian Lenny (apache 2.2.9-10+Lenny4)
MythTV Version : 24088M MythTV Branch : trunk Network Protocol : 56 Library API : 0.23.20100404-1 QT Version : 4.5.3 Options compiled in: linux release using_oss using_alsa using_jack using_backend using_dvb using_firewire using_frontend using_hdpvr using_iptv using_ivtv using_libfftw3 using_lirc using_mheg using_opengl_video using_opengl_vsync using_qtdbus using_qtwebkit using_v4l using_x11 using_xrandr using_xv using_xvmc using_xvmc_vld using_xvmcw using_bindings_perl using_bindings_python using_opengl using_vdpau using_ffmpeg_threads using_libavc_5_3 using_live using_mheg
Attachments (1)
Change History (8)
comment:1 by , 15 years ago
Status: | new → infoneeded_new |
---|
comment:2 by , 15 years ago
Sorry, I just noticed your post.
There is for example a folder called Family, and in it, one of the videos is:
Βάπτιση Βασιλικής
What I get on the left frame is:
Family
Βάπτιση Βασιλικ
(there is no blank line between the two, this post creates it)
Many more are truncated, and not on the same letters or word length. Even English letters are cut: Δεσποινίς ετών 39.mk ("v" is missing)
The only Greek files that appear normally as videos on the main frame are isos, which of course, don't play.
These videos are missing from the main frame, the program thinks they are folders.
comment:3 by , 15 years ago
Status: | infoneeded_new → new |
---|
comment:4 by , 15 years ago
Thanks to Meikel Iwer with his #8724 ticket, I followed his tip and changed the LENGTH(filename) to CHAR_LENGTH(filename) in handler.php.
It actually corrects the folder structure, although some folders with only non-ascii filenames appear empty. At least the folders are there, though.
I think more work has to be done, but I can't help any more... Thanks, Meikel.
I am attaching the patch.
by , 15 years ago
Attachment: | handler.diff added |
---|
comment:5 by , 15 years ago
Status: | new → assigned |
---|
comment:6 by , 15 years ago
Milestone: | unknown → 0.24 |
---|
Do they contain letters that map to an ascii /?