2011-03-06 18:34:10.066 [DEBUG][3] PLAYBACK_ENDED@1.1
2011-03-06 18:34:10.067 [DEBUG][3] About to store playback position information
2011-03-06 18:34:10.068 [ERROR][3] Unexpected error handling PLAYBACK_ENDED: System.NullReferenceException: Object reference not set to an instance of an object.
at NextPVR.MVP.MVPServerForm.UpdateLiveTVLastestDuration()
at NextPVR.MVP.MVPServerForm.GetDuration()
at NextPVR.Players.VideoPlayer.Stop(Boolean informController)
at NextPVR.Players.VideoPlayer.Stop()
at NextPVR.Players.VideoPlayer.PlaybackEnded()
at NextPVR.MVP.MVPServerForm.ControlThread()
Great. The value is stored, the resume button disappears and as a bonus there is a full refresh of the screen. I do see this log message that might simply be there because of the extra logging, music isn't playing here.
Code:
2011-03-06 19:18:26.917 [DEBUG][3] trying to force complete refresh2
2011-03-06 19:18:27.169 [DEBUG][3] TrackEnded()
2011-03-06 19:18:27.169 [ERROR][3] Unexpected error handling PLAYBACK_ENDED: System.NullReferenceException: Object reference not set to an instance of an object.
at NextPVR.Players.MusicPlaybackManager.TrackEnded()
at NextPVR.MVP.MVPServerForm.ControlThread()
I any case I am sure that NMT users will appreciate your efforts. Thanks,