[mythtv-commits] Ticket #1874: MythWeb-Add never record/forget old options to detail page

MythTV mythtv at cvs.mythtv.org
Sat May 27 00:26:07 UTC 2006

#1874: MythWeb-Add never record/forget old options to detail page
 Reporter:  sphery <mtdean at thirdcontact.com>  |       Owner:  xris
     Type:  patch                             |      Status:  new 
 Priority:  minor                             |   Milestone:      
Component:  mythtv                            |     Version:      
 Severity:  medium                            |  
 The attached patches ( mythweb-never_record_on_detail_page* ) add the
 never record and forget old options to the detail page of the tv module in
 !MythWeb.  They allow you to specify a show should not be recorded even if
 you do not have a matching recording rule (I use it to mark movies I've
 seen so I don't have to remember them myself).

 I'm also using the patch mythweb-
 recstatus_without_subtitle_and_description.patch on my system.  Without
 it, the recstatus query is not performed for shows with neither a
 programid nor seriesid that are missing any of title, subtitle, or
 description.  With !DataDirect listings, that means that the recstatus
 query will not happen for movies (and perhaps other programs).  If the
 recstatus query does not happen, the user will be offered the option to
 mark the program to never record, but will never get confirmation that the
 program was marked to never record.  Also, since rec_never_record() uses a
 REPLACE INTO with NOW() for starttime and endtime, the user can easily
 insert multiple rows for the same program into the oldrecorded table.  If
 the recstatus is known to be either recorded or never record, the user is
 not given the option to Never Record (instead only the option Forget Old).

 Although the patch is simple, I couldn't decide which approach to use for
 the UI.  The patch mythweb-never_record_on_detail_page.patch shows "
 (Forget Old)" after the MythTV status message in the program_details div
 but puts "Never Record" into the "local_links" div.  The patch mythweb-
 never_record_on_detail_page-local_links.patch always shows either "Never
 Record" or "Forget Old" (as appropriate) in the same place in the
 local_links div.

 Having "Forget Old" right after the MythTV Status message seemed very
 appropriate, but didn't leave a good place for "Never Record".  I
 considered placing the "Never Record" option as another radio button under
 "Schedule Options", but decided against it because it applies to the
 program, not to the entire schedule/rule (and users could easily confuse
 it's purpose with canceling a recording rule).  Also, I considered placing
 Never Record before or after the external_searches div in the
 program_title div, but it looked like it was part of the information about
 that show (i.e. that it would never record) as opposed to an option to
 mark it to never record.

 I reused the translations from the "Upcoming Recordings" page; however the
 other links in "local_links" are more verbose, so if you want me to change
 it to use different translations, please let me know.

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

More information about the mythtv-commits mailing list