United Kingdom
United Kingdom
I don't quite understand the problem, but in general you can make any changes that add functionality and don't break the Media Portal.Is it possible to effect a small change to trust the buffer and leave it in-tact between Channel changes ?
I can confirm that there is a difference between manually changing the channel, and allowing the reminder to change the channel:However, I notice the merged version resets the buffer.. boohoo.
Is it possible to effect a small change to trust the buffer and leave it in-tact between Channel changes ?
United Kingdom
United Kingdom
United Kingdom
if (tvNotifyDlg.IsConfirmed)
{
try
{
//MediaPortal.Player.g_Player.Stop();
bool isPaused = g_Player.Paused;
if (c.IsTv)
{
MediaPortal.GUI.Library.GUIWindowManager.ActivateWindow((int)MediaPortal.GUI.Library.GUIWindow.Window.WINDOW_TV);
TVHome.ViewChannelAndCheck(c);
if (TVHome.Card.IsTimeShifting && TVHome.Card.IdChannel == c.IdChannel)
{
g_Player.ShowFullScreenWindow();
}
}
else if (c.IsRadio)
{
MediaPortal.GUI.Library.GUIWindowManager.ActivateWindow((int)MediaPortal.GUI.Library.GUIWindow.Window.WINDOW_RADIO);
Radio.CurrentChannel = c;
Radio.Play();
}
if (isPaused)
{
g_Player.Pause();
}
}
catch (Exception e)
{
Log.Error("TVHome: TVNotification: Error on starting channel {0} after notification: {1} {2} {3}", notify.Channel.DisplayName, e.Message, e.Source, e.StackTrace);
}
United Kingdom