0002772: user/subchannel not properly removed when timeshifting/recording fails. (1 Viewer)

MediaPortal-Bot

Worlds greatest bot!
March 26, 2007
3,715
180
Home Country
Germany Germany
I realized (by accident) that when I tuned a scrambled channel on my FTA dvb-t tunercard (with no CI) I received a no PMT found error.

I could accept this fine.

Except when I tried to tune any of the other FTA channels on the same card it would fail on all these until tvservice was restarted.

I discovered that the stop (user) methods in both timeshifter and recorder classes would only properly remove the user if:

IsTimeShifting(ref user)) == true
or
IsRecording(ref user)) == true

The problem is in "Timeshifter.Start"

It will in various places, where timeshifting failed, call "Stop(ref user)"
In most cases now "IsTimeShifting" is "false", since we are dealing with a failure situation.

The result is that the subch. is never removed, neither is the user.
Nor are the AudioVideoEvent removed, as well as the manual reset events.

http://mantis.team-mediaportal.com/view.php?id=2772

Open the issue in Mantis...
 

Users who are viewing this thread

Top Bottom