[mythtv-commits] Ticket #9991: Icon search for channels with ", " in their name does not work

MythTV noreply at mythtv.org
Wed Aug 17 19:32:08 UTC 2011


#9991: Icon search for channels with "," in their name does not work
-------------------------------------------+----------------------------
 Reporter:  dekarl@…                       |          Owner:  danielk
     Type:  Bug Report - General           |         Status:  new
 Priority:  minor                          |      Milestone:  unknown
Component:  MythTV - Mythtv-setup          |        Version:  Trunk Head
 Severity:  low                            |     Resolution:
 Keywords:                                 |  Ticket locked:  0
-------------------------------------------+----------------------------

Comment (by dekarl@…):

 Now that I'm done I see there's a nice error reported to the console, too.
 That's where the part after the comma ends up.
 {{{
 2011-08-17 18:49:11.041244 I  Fetch Icons for channel NDR 90,3
 2011-08-17 18:49:16.084672 E  NetworkOperation Error on Finish: No server
 set to connect to (1): url: '3"'
 2011-08-17 18:49:16.095192 E  Server returned an error status code 0 for
 url: 3"
 }}}


 Manually searching via http://services.mythtv.org/channel-
 icon/search?s=NDR and looking at
 https://github.com/MythTV/mythtv/blob/master/mythtv/programs/mythtv-
 setup/importicons.cpp#L465 makes me think that the csv extraction is
 broken.

 The breakage in the csv parser makes quotes around a comma useless.
 (the quotes get nicely stripped from the string but have no function)
 This leaves escaping the "in string comma" with a backslash at
 services.mythtv.org as the easy fix (which should work for past releases
 instead of only future releases, too).

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/9991#comment:1>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list