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

MythTV mythtv at cvs.mythtv.org
Wed Dec 5 22:02:44 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>):

 Replying to [comment:13 anonymous]:
 > I don't have the above log message regarding upnp.  I have a backend
 with multiple frontends - my ip addresses in mythtv-setup are the correct
 ip address of the backend and not loopback.
 >

 What version of mythbackend are you running (mythbackend --version)?  The
 code that allows mythweb to ask for preview pixmaps was finalized (I
 believe) in changesets [13022] and [13208].  Anything older probably won't
 work.

 You can test the output of the UPnP pixmap request with wget.  Do
 something like this:

 {{{
 wget
 'http://127.0.0.1:6544/Myth/GetPreviewImage?ChanId=1054&StartTime=2007-08-19T12:00:00&Height=0&Width=100&SecsIn=79/data/cache/1054_20070819120000.mpg.100x0x79.png'
 }}}

 This is how MythWeb gets its pixmap previews.  It does a
 file_get_contents() call on line 565 (or thereabouts) in
 modules/tv/includes/objects/Program.php.

 I had to patch my mythbackend to allow UPnP on 127.0.0.1 to get this
 working again.

 --
 Joe Ripley
 vitaminjoe at gmail.com

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


More information about the mythtv-commits mailing list