[mythtv-commits] Ticket #11937: Channel icons not appearing in guide on remote frontend using IPv6 (v0.27-72-gea5af90)

MythTV noreply at mythtv.org
Wed Nov 6 12:02:43 UTC 2013


#11937: Channel icons not appearing in guide on remote frontend using IPv6
(v0.27-72-gea5af90)
----------------------------------------------+------------------------
     Reporter:  Anthony Messina <amessina@…>  |      Owner:
         Type:  Bug Report - General          |     Status:  new
     Priority:  minor                         |  Milestone:  unknown
    Component:  MythTV - General              |    Version:  0.27-fixes
     Severity:  medium                        |   Keywords:
Ticket locked:  0                             |
----------------------------------------------+------------------------
 I'm having an issue on a remote frontend where no channel icons appear in
 the
 guide, either entering Live TV or scheduling a recording.  The
 mythfrontend -v
 file,gui logs reveal the following group of messages for each channel.  I
 am
 not sure where the "%5" comes from after the icon file name.

 I can confirm that mythconverg does not have "%5" as part of the icon
 name.  I
 can also confirm that the icons exist in the MYTHCONFDIR
 (/etc/mythtv/channels) and are accessible by the user running the backend
 (mythtv).  If it makes a difference, I am using the blue-abstract-wide
 theme.

 {{{
 MythUIHelper:
 LoadCacheImage(myth://ChannelIcons@[<IPv6_addr_redacted>:6543]/this_tv_network.jpg%5,myth:--
 ChannelIcons@[<IPv6_addr_redacted>:6543]-this_tv_network.jpg%5--
 102x85.png)
 ImageLoader::LoadImage(myth:--ChannelIcons@[<IPv6_addr_redacted>:6543]-
 this_tv_network.jpg%5--102x85.png) Found in cache, RefCount = 2
 ImageLoader::LoadImage(myth://ChannelIcons@[<IPv6_addr_redacted>:6543]/this_tv_network.jpg%5)
 Image is NULL
 MythUIHelper: NOT IN RAM CACHE, Adding, and adding to size :myth:--
 ChannelIcons@[<IPv6_addr_redacted>:6543]-wttw_chicago.jpg%5--102x85.png:
 :0:
 MythUIHelper: MythUIHelper::CacheImage : Cache Count = :123: size :164:
 }}}

 After closer inspection, I can see that the "port" portion ":6543" is
 included
 within the brackets, which is causing the failure.

 I've traced back from through MythCoreContext::GetMasterHostPrefix to
 MythCoreContext::GenMythURL and everything *appears* as though it should
 work.
 I cannot figure out why the port is inserted inside of the brackets unless
 the
 following in mythtv/libs/libmythbase/mythcorecontext.cpp isn't working
 ~L676:

 {{{
 #if !defined(QT_NO_IPV6)
     // Basically if it appears to be an IPv6 IP surround the IP with []
 otherwise don't bother
     if (( addr.protocol() == QAbstractSocket::IPv6Protocol ) ||
 (host.contains(":")))
         m_host = "[" + host + "]";
 #endif
 }}}

 MythTV Version : 317d5b7
 MythTV Branch : tag: v0.27
 Network Protocol : 77
 Library API : 0.27.20131021-1
 QT Version : 4.8.5
 Options compiled in:
  linux release use_hidesyms using_alsa using_jack using_oss using_pulse
 using_pulseoutput using_backend using_bindings_perl using_bindings_python
 using_bindings_php using_crystalhd using_dvb using_firewire using_frontend
 using_hdhomerun using_ceton using_hdpvr using_ivtv using_joystick_menu
 using_libcec using_libcrypto using_libdns_sd using_libfftw3 using_libxml2
 using_libudf using_lirc using_mheg using_opengl using_opengl_video
 using_qtwebkit using_qtscript using_qtdbus using_taglib using_v4l2
 using_x11
 using_xrandr using_xv using_bindings_perl using_bindings_python
 using_bindings_php using_mythtranscode using_opengl using_vaapi
 using_vdpau
 using_ffmpeg_threads using_mheg using_libass using_libxml2 using_libudf

 I initially reported this information on the users mailing list:
 http://www.mythtv.org/pipermail/mythtv-users/2013-November/355741.html

--
Ticket URL: <http://code.mythtv.org/trac/ticket/11937>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list