Timeshift Buffer does not clear when playing back a Recording

I’m not certain if this is a PVR bug, or if it is specific to pvr.hts. Also, I only use (a lightly modified version of) Estuary, so this might be an Estuary bug, although because of the way it presents, I doubt it.

It appears that the references to the Timeshift Buffer in the PVR subsystem is not cleared when it is not immediately replaced by a new Live TV stream. If Live TV is stopped while in the middle of the buffer, the buffer reference remains until a new Live TV is started.

This is most visible/present when watching a Recorded program. If I choose to start watching a Recorded program, either while a Live TV stream in currently playing or after selecting Stop while the playback progress was within the Timeshift Buffer, the Timeshift Buffer progress bar displays above file’s playback progress bar.

To replicate this:

  1. Start playback of a Live TV stream by selecting a Channel.
  2. Pause playback to initiate the display of the Timeshift Buffer.
  3. Optional: Press Stop to cease playback of the Live TV stream, while there still remains time left in the Timeshift Buffer.
  4. Select a recorded program from the PVR Recordings to view/play.
  5. While the Recording is in progress, press Pause to bring up the OSD Progress display.
  6. (In Estuary; actual display may differ based upon skin) The Timeshift Buffer progress bar displays above the Recording’s playback progress bar, and continues to update its end time.

The only way to clear this is to select a new Live TV stream to playback, and stop its playback while at the end of the Timeshift Buffer (i.e., to fast-forward to the end of the stream and return to Now/Live.)

I tried to pull up existing issues to see if this had already been reported, but was unable to do so. Bugs/issues are not tracked through Github, and for some reason the Trac database kept erroring out on me every time I attempted to browse/search through it.