[mythtv-commits] Ticket #1472: network command "play seek HH:MM:SS" ignores hours

MythTV mythtv at cvs.mythtv.org
Wed Mar 8 17:00:43 UTC 2006


#1472: network command "play seek HH:MM:SS" ignores hours
-----------------------------+----------------------------------------------
 Reporter:  grhowes at mac.com  |       Owner:  cpinkham
     Type:  defect           |      Status:  new     
 Priority:  minor            |   Milestone:          
Component:  mythtv           |     Version:          
 Severity:  medium           |  
-----------------------------+----------------------------------------------
 If you telnet into mythfrontend on version .19 and play a recording over
 an hour in length, you cannot use the "play seek" command to skip to a
 time after 59 minutes 59 seconds.

 It appears that the code in networkcontrol.cpp does not parse the hours
 portion of this particular command.

 Looking in the source line 480
   int hours = tokens[2].left(0).toInt();


 probably should be

   int hours = tokens[2].left(2).toInt();

 This should work, that is...

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


More information about the mythtv-commits mailing list