[mythtv-commits] Ticket #5235: MythWeb Recordings Limit Patch

MythTV mythtv at cvs.mythtv.org
Mon Apr 21 19:55:15 UTC 2008

#5235: MythWeb Recordings Limit Patch
 Reporter:  jhoff at elitepcrepair.com  |       Owner:  xris   
     Type:  patch                    |      Status:  new    
 Priority:  minor                    |   Milestone:  unknown
Component:  mythweb                  |     Version:  unknown
 Severity:  low                      |     Mlocked:  0      
 So this is my first patch to MythWeb. Hell it's my first patch to
 anything, so it's not the cleanest approach, nor is it the most user-
 friendly, however what it lacks in style it makes up for in functionality.

 Basically, it's a patch to add a "Limit" field to the "Recorded Programs"
 module for MythWeb. I got tired of my 500+ recordings loading everytime
 and I wanted to just have it truncate after displaying X amount of

 I also added a textbox to the table that allows you to put in a "custom"
 limit ( the $Limit variable defined in modules/tv/recordings.php ). If no
 limit is specified, it will use the pre-defined limit, which is by default
 commented out. If left uncommented, it will always show everything.

 Finally, there is a little modification to the "summary" line at the
 bottom to indicate how many recordings are being viewed.

 Like I said, not the cleanest, but I know some people have been looking
 for something like this. Hopefully someone with a better feel for the
 modules can better integrate it, but for now, it works.

 Should work against current SVN Trunk ( 17106 )

Ticket URL: <http://svn.mythtv.org/trac/ticket/5235>
MythTV <http://www.mythtv.org/>

More information about the mythtv-commits mailing list