[mythtv-commits] Ticket #2524: Move cursor to newer recording after adding to playlist

MythTV mythtv at cvs.mythtv.org
Tue Oct 3 17:19:21 UTC 2006

#2524: Move cursor to newer recording after adding to playlist
 Reporter:  sphery <mtdean at thirdcontact.com>  |       Owner:  ijr    
     Type:  patch                             |      Status:  new    
 Priority:  minor                             |   Milestone:  unknown
Component:  mythtv                            |     Version:  0.20   
 Severity:  medium                            |  
 Currently, after adding a recording to a playlist, if the cursor is not in
 the title column, the cursor is moved down to the next recording in the
 list.  When the user enables !PlayBoxOrdering (List Newest Recording First
 --which is the default setting), that means that the cursor moves to an
 older recording.  Since you have to add recordings in the order you plan
 to watch them, adding recordings in order would then require moving up two
 recordings, add to playlist, move up two recordings, etc.

 The attached patch simply checks the value of !PlayBoxOrdering and moves
 up if newest recordings are shown first or down if oldest recordings are
 shown first.

 This patch may make things less intuitive in a couple of situations.
 First, if the user is planning to play back the playlist in a random order
 (Shuffle Play), it may seem strange to move to the bottom of the list to
 start adding recordings.  Also, moving to the bottom could be similarly
 strange if the user is creating a playlist for some purpose other than
 playback (i.e. deleting, changing recording or playback group, or setting
 job options for several recordings).  I think, however, that since the
 cursor will always move up or down for a particular user (based on
 !PlayBoxOrdering), it will be easy to adapt--even for those who don't use
 playlists for playing recordings.

 This also has the downside that if a user removes a recording from a
 playlist, it will scroll to a newer recording rather than an older
 recording (i.e. for removing a bunch of just-added recordings from the
 playlist one by one).  I considered checking whether we were adding or
 removing the item, also, but thought that may make the behavior hard to
 predict for the user (especially when the older recording is not in the
 playlist).  If you would prefer that the cursor moves to an older
 recording upon removing an item from the playlist, please let me know and
 I'll modify the patch.

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

More information about the mythtv-commits mailing list