[mythtv-commits] Ticket #3217: Mythweb writes 0 size png thumbnails files in data/cache directory

MythTV mythtv at cvs.mythtv.org
Wed Dec 5 16:31:03 UTC 2007


#3217: Mythweb writes 0 size png thumbnails files in data/cache directory
-----------------------+----------------------------------------------------
 Reporter:  anonymous  |        Owner:  stuartm
     Type:  defect     |       Status:  new    
 Priority:  minor      |    Milestone:  unknown
Component:  upnp       |      Version:  head   
 Severity:  low        |   Resolution:         
  Mlocked:  0          |  
-----------------------+----------------------------------------------------

Comment(by Joe Ripley <vitaminjoe at gmail.com>):

 Since I use 127.0.0.1 as my backend IP address, I commented out the code
 in mediaserver.cpp:

 {{{
 Index: mediaserver.cpp
 ===================================================================
 --- mediaserver.cpp     (revision 15058)
 +++ mediaserver.cpp     (working copy)
 @@ -68,12 +68,12 @@
      m_pHttpServer->m_sSharePath = m_sSharePath;


 -    if (sIP == "localhost" || sIP == "127.0.0.1")
 -    {
 -        VERBOSE(VB_IMPORTANT, "MediaServer:: Bad BackendServerIP Address
 - "
 -                              + sIP + ". Disabling UPnP");
 -        return;
 -    }
 +//    if (sIP == "localhost" || sIP == "127.0.0.1")
 +//    {
 +//        VERBOSE(VB_IMPORTANT, "MediaServer:: Bad BackendServerIP
 Address - "
 +//                              + sIP + ". Disabling UPnP");
 +//        return;
 +//    }

      if (bDisableUPnp)
      {

 }}}

 This fixed the problem with MythWeb's preview pixmap generation code (for
 me).  The code above disables UPnP when using the loopback IP as the
 backend IP.  MythWeb relies on the UPnP code to generate preview pixmaps.
 Commenting it out makes everything work again.

 Is there a good reason to disable UPnP when using the loopback IP?  (nigel
 implemented this in changeset [14889]).

 --
 Joe Ripley
 vitaminjoe at gmail.com

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/3217#comment:14>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list