[mythtv-users] Printable TV Guide

Ma Begaj derliebegott at gmail.com
Thu Jun 4 16:09:15 UTC 2009


2009/6/4 Michael T. Dean <mtdean at thirdcontact.com>:
>> I like the idea very much. But it could be maybe even simpler:
>>
>> 1. save mythtweb guide page with "wget http://localhost/mythtv/....."
>> 2. converts html to pdf: there are a lot of html2pdf converter:
>> http://www.google.com/search?q=html2pdf
>> 3. print it
>>
>>
>> problem 1: you cannot choose the day or something similar
>> -> you could use one button on your remote for "print today" and
>> another button for "print tommorow"
>>
>
> I'm guessing you're referring to the lack of a user-interface for choosing
> as MythWeb allows you to choose:
>
> /tv/list?time=1244132641
>
> where the time is the Unix time (seconds since 1970-01-01 00:00:00 UTC).

Yes, I was referring to that.

>
>> problem 2: not enough place on one A4 paper.
>> -> you could make a custom CSS which could put more information on the
>> paper by using smaller fonts, smaller channel icons...
>
> and removing the not-required header section.
>
> Or, better may be using the MythXML interface to request raw XML data and
> transform (only the data you want) using XSL-T (for HTML, for example) or
> XSL-FO (for direct-to-PDF or whatever).  See
>  http://www.gossamer-threads.com/lists/mythtv/dev/323174#323174 for info on
> using MythXML.  (Note that in trunk, the information is returned
> inclusively, but in 0.21-fixes, it's exclusive.  So, in trunk if you request
> shows from StartTime = EndTime, you'll get all shows that overlap that
> particular time.  If you do the same in -fixes, you'll get no shows, as no
> shows are fully contained within that particular time span.)

That is probably much cleaner. Thanks for the link.


M.


More information about the mythtv-users mailing list