Opened 15 years ago

Closed 14 years ago

#7407 closed defect (fixed)

NetworkControl interface plays the wrong recording

Reported by: stichnot@… Owned by: cpinkham
Priority: minor Milestone: 0.23
Component: MythTV - General Version: unknown
Severity: medium Keywords:
Cc: Ticket locked: no

Description

The frontend telnet interface plays the wrong recording. In the logs below, I entered the command "play program 1021 2009-10-21T20:58:00". Regardless of the program requested, it always plays the first recording in the currently selected recording group.

2009-10-23 08:57:36.756 NetworkControl: Trying to PLAY program '1021' @ '2009-10-21T20:58:00'
2009-10-23 08:57:36.827 TV: StartTV() -- begin
2009-10-23 08:57:36.827 TV: ctor
2009-10-23 08:57:36.881 TV: DrawUnusedRects() -- begin
2009-10-23 08:57:36.881 TV: DrawUnusedRects() -- end
2009-10-23 08:57:36.882 TV: tv->Playback() -- begin
2009-10-23 08:57:36.890 TV: tv->Playback() -- end
2009-10-23 08:57:36.891 TV: StartTV -- process events begin
2009-10-23 08:57:36.934 TV: HandleStateChange(0) -- begin
2009-10-23 08:57:36.935 TV: Attempting to change from None to Watching WatchingPreRecorded
2009-10-23 08:57:36.938 RingBuf(myth://192.168.0.205:6543/1111_20091019195800.mpg): OpenFile(myth://192.168.0.205:6543/1111_20091019195800.mpg, 12)
2009-10-23 08:57:37.075 RingBuf(myth://192.168.0.205:6543/1111_20091019195800.mpg): CalcReadAheadThresh(0 KB)
                         -> threshhold(64 KB) min read(0 KB) blk size(32 KB)
2009-10-23 08:57:37.125 TV: StartPlayer(0, Watching WatchingPreRecorded, main) -- begin
$ mythfrontend --version
Please include all output in bug reports.
MythTV Version   : 22575M
MythTV Branch    : trunk
Network Protocol : 50
Library API      : 0.22.20091022-1
QT Version       : 4.5.2
Options compiled in:
 linux release using_oss using_alsa using_backend using_dvb using_frontend using_hdhomerun using_hdpvr using_iptv using_ivtv using_joystick_menu using_lirc using_mheg using_opengl_video using_opengl_vsync using_qtwebkit using_v4l using_x11 using_xrandr using_xv using_bindings_perl using_bindings_python using_opengl using_vdpau using_ffmpeg_threads using_live using_mheg

Attachments (2)

netcontrol_play_prog.patch (1.5 KB) - added by foobum <foobum@…> 14 years ago.
netcontrol_play.patch (1.8 KB) - added by chrisribe@… 14 years ago.
Uses play() instead of playSelected(). I'm not really sure of the implications, but it works. Also added an extra delay to NetworkControl::processPlay() to keep UI from getting stuck on Watch Recordings screen.

Download all attachments as: .zip

Change History (5)

Changed 14 years ago by foobum <foobum@…>

Attachment: netcontrol_play_prog.patch added

comment:1 Changed 14 years ago by foobum <foobum@…>

Attached patch fixes it by iterating over recording list in NetworkControl (rather than MythUIButtonList::SetValueByData()) and comparing chanid and recstartts. Corrects MythUIButtonList::GetItemNext().

Changed 14 years ago by chrisribe@…

Attachment: netcontrol_play.patch added

Uses play() instead of playSelected(). I'm not really sure of the implications, but it works. Also added an extra delay to NetworkControl::processPlay() to keep UI from getting stuck on Watch Recordings screen.

comment:2 Changed 14 years ago by paulh

Owner: changed from Isaac Richards to cpinkham
Status: newassigned

comment:3 Changed 14 years ago by cpinkham

Milestone: unknown0.23
Resolution: fixed
Status: assignedclosed

This should have been fixed by [23376] and [23381].

Note: See TracTickets for help on using tickets.