Opened 18 years ago
Closed 18 years ago
#1472 closed defect (fixed)
network command "play seek HH:MM:SS" ignores hours
Reported by: | 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...
Note: See
TracTickets for help on using
tickets.
(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.