Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Commits

Ticket #7487: MythVideo ignoring directories/files with non-ascii characters

 

 

MythTV commits RSS feed   Index | Next | Previous | View Threaded


mythtv at cvs

Nov 2, 2009, 1:40 PM

Post #1 of 6 (502 views)
Permalink
Ticket #7487: MythVideo ignoring directories/files with non-ascii characters

#7487: MythVideo ignoring directories/files with non-ascii characters
-----------------------------------------------+----------------------------
Reporter: Robin Hill <myth@…> | Owner: awithers
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: Plugin - MythVideo | Version: 0.22rc1
Severity: medium | Mlocked: 0
-----------------------------------------------+----------------------------
MythVideo scan is failing to find directories/files with non-ascii
characters (e.g. é, ö). Also, if the directory is named using ASCII
characters but the series title isn't, artwork is downloaded but not
displayed.[[BR]]
[[BR]]
MythTV Version : 22619M[[BR]]
MythTV Branch : branches/release-0-22-fixes[[BR]]
Network Protocol : 50[[BR]]
Library API : 0.22.20091023-1[[BR]]
QT Version : 4.5.2[[BR]]
Options compiled in:[[BR]]
linux release using_oss using_alsa using_backend using_dvb using_frontend
using_iptv using_libfftw3 using_lirc using_mheg using_opengl_video
using_opengl_vsync using_qtwebkit using_x11 using_xrandr using_xv
using_bindings_perl using_bindings_python using_opengl
using_ffmpeg_threads using_live using_mheg

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7487>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Nov 4, 2009, 2:47 PM

Post #2 of 6 (462 views)
Permalink
Re: Ticket #7487: MythVideo ignoring directories/files with non-ascii characters [In reply to]

#7487: MythVideo ignoring directories/files with non-ascii characters
-----------------------------------------------+----------------------------
Reporter: Robin Hill <myth@…> | Owner: awithers
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: Plugin - MythVideo | Version: 0.22rc1
Severity: medium | Mlocked: 0
-----------------------------------------------+----------------------------

Comment(by Robin Hill <myth@…>):

I've had a further dig into this (adding "file,extra" to the backend
verbose settings), and the problem is that the entries are not in the
QFileInfoList in StorageGroup::GetFileInfoList. I can't work out why
though, as I've written a small application which uses the same logic and
that does list all the files/directories.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7487#comment:1>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Nov 4, 2009, 9:00 PM

Post #3 of 6 (458 views)
Permalink
Re: Ticket #7487: MythVideo ignoring directories/files with non-ascii characters [In reply to]

#7487: MythVideo ignoring directories/files with non-ascii characters
-----------------------------------------------+----------------------------
Reporter: Robin Hill <myth@…> | Owner: awithers
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: Plugin - MythVideo | Version: 0.22rc1
Severity: medium | Mlocked: 0
-----------------------------------------------+----------------------------

Comment(by cpinkham):

I'm unable to reproduce this, can you attach the relevant part of the
backend logs when running mythbackend with "-v file,extra,network". That
will list out the directory being scanned and files/subdirs found as they
are added to the result list. I want to see the requests coming into the
backend from the frontend as well as the StorageGroup logs when it did the
directory scan.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7487#comment:2>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Nov 5, 2009, 8:46 AM

Post #4 of 6 (448 views)
Permalink
Re: Ticket #7487: MythVideo ignoring directories/files with non-ascii characters [In reply to]

#7487: MythVideo ignoring directories/files with non-ascii characters
-----------------------------------------------+----------------------------
Reporter: Robin Hill <myth@…> | Owner: awithers
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: Plugin - MythVideo | Version: 0.22rc1
Severity: medium | Mlocked: 0
-----------------------------------------------+----------------------------

Comment(by Robin Hill <myth@…>):

I've attached the log section as requested - this shows it scanning the
Test directory and finding the Test1 and Test3 subdirectories, but
completely missing the Tést2 subdirectory. The attached application uses
the same QT calls to scan the same directory, but lists all three
subdirectories. I can only think that some global setting (e.g. locale)
is being done elsewhere in the MythTV code which is causing QT to ignore
these directories - I can't find any documentation on any applicable QT
settings though.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7487#comment:3>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Nov 16, 2009, 3:54 AM

Post #5 of 6 (378 views)
Permalink
Re: Ticket #7487: MythVideo ignoring directories/files with non-ascii characters [In reply to]

#7487: MythVideo ignoring directories/files with non-ascii characters
-----------------------------------------------+----------------------------
Reporter: Robin Hill <myth@…> | Owner: awithers
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: Plugin - MythVideo | Version: 0.22rc1
Severity: medium | Mlocked: 0
-----------------------------------------------+----------------------------

Comment(by Robin Hill <myth@…>):

I've eventually tracked this down to using "su - mythuser" to launch the
backend - this was failing to set the LC_ALL and LANG environment
variables. Adding these to /etc/environment or launching the backend via
"su mythuser" results in the backend successfully scanning all
directories. These changes aren't required by the test program I wrote
though (it successfully reports all directories in both cases).

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7487#comment:4>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Nov 16, 2009, 3:59 AM

Post #6 of 6 (377 views)
Permalink
Re: Ticket #7487: MythVideo ignoring directories/files with non-ascii characters [In reply to]

#7487: MythVideo ignoring directories/files with non-ascii characters
-----------------------------------------------+----------------------------
Reporter: Robin Hill <myth@…> | Owner: awithers
Type: defect | Status: closed
Priority: minor | Milestone: unknown
Component: Plugin - MythVideo | Version: 0.22rc1
Severity: medium | Resolution: invalid
Mlocked: 0 |
-----------------------------------------------+----------------------------
Changes (by Dibblah):

* status: new => closed
* resolution: => invalid


Comment:

Thanks for reporting back. If your test program doesn't support locales,
it will not exhibit this issue.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7487#comment:5>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits

MythTV commits RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.