Opened 14 years ago

Closed 14 years ago

#1472 closed defect (fixed)

network command "play seek HH:MM:SS" ignores hours

Reported by: grhowes@… Owned by: cpinkham
Priority: minor Milestone: unknown
Component: mythtv Version:
Severity: medium Keywords: telnet
Cc: Ticket locked: no

Description

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...

Change History (1)

comment:1 Changed 14 years ago by cpinkham

Resolution: fixed
Status: newclosed

(In [9396]) Fix NetworkControl? playback seeking on recordings over 1 hour long. Closes #1472.

Also, modify the "query location" times to be always padded to two digits each for the hour, minute, and seconds fields to make parsing easier on clients.

Note: See TracTickets for help on using tickets.