Beispiel #1
0
        protected override void OnPageDestroy(int newWindowId)
        {
            base.OnPageDestroy(newWindowId);
            m_iSelectedItem = GetSelectedItemNo();

            if (!GUIGraphicsContext.IsTvWindow(newWindowId))
            {
                if (TVHome.Card.IsTimeShifting && !(TVHome.Card.IsTimeShifting || TVHome.Card.IsRecording))
                {
                    if (GUIGraphicsContext.ShowBackground)
                    {
                        // stop timeshifting & viewing...
                        TVHome.Card.StopTimeShifting();
                    }
                }
            }
        }
Beispiel #2
0
        protected override void OnPageDestroy(int newWindowId)
        {
            //@ConflictManager.OnConflictsUpdated -= new MediaPortal.TV.Recording.ConflictManager.OnConflictsUpdatedHandler(ConflictManager_OnConflictsUpdated);
            base.OnPageDestroy(newWindowId);
            m_iSelectedItem = GetSelectedItemNo();
            SaveSettings();

            if (!GUIGraphicsContext.IsTvWindow(newWindowId))
            {
                if (TVHome.Card.IsTimeShifting && !(TVHome.Card.IsTimeShifting || TVHome.Card.IsRecording))
                {
                    if (GUIGraphicsContext.ShowBackground)
                    {
                        // stop timeshifting & viewing...

                        TVHome.Card.StopTimeShifting();
                    }
                }
            }
        }