[mythtv-commits] Ticket #3217: Mythweb writes 0 size png thumbnails files in data/cache directory
MythTV
mythtv at cvs.mythtv.org
Tue Dec 11 17:44:13 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:16 anonymous]:
> I haven't been able to get the wget to work correctly. I don't think I
am requesting the right URL.
>
I probably quoted it wrong. The URL format is as such:
http://<hostname>:6544/GetPreviewImage?ChanId=<chanid>&StartTime=YYYY-MM-
DDTHH:MM:SS&Height=0&Width=100&SecsIn=79
Using wget:
{{{
wget
'http://127.0.0.1:6544/Myth/GetPreviewImage?ChanId=1054&StartTime=2007-08-19T12:00:00&Height=0&Width=100&SecsIn=79'
-O file.png
}}}
This will connect to 127.0.0.1:6544 and save the preview image from the
recording made from ChanID 1054 on 2007-08-19 @ 12:00:00 to a file called
'file.png'.
If you get a zero byte file, check your mythbackend logs for errors. It
usually means that UPnP is disabled or there was a problem reading the
source video file.
--
Joe Ripley
vitaminjoe at gmail.com
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/3217#comment:17>
MythTV <http://svn.mythtv.org/trac>
MythTV
More information about the mythtv-commits
mailing list