From 25e22c7c7d8e5c76ae8fd94eb798fcef5a41843c Mon Sep 17 00:00:00 2001 From: wr61 Date: Mon, 23 Jan 2006 19:28:29 +0000 Subject: adapt for 1.3.38 (MsgReplaying) git-svn-id: https://vdr-muggle.svn.sourceforge.net/svnroot/vdr-muggle/trunk/muggle-plugin@918 e10066b5-e1e2-0310-b819-94efdf66514b --- HISTORY | 1 + vdr_player.c | 12 ++++++++++++ 2 files changed, 13 insertions(+) diff --git a/HISTORY b/HISTORY index ea712a4..32d1956 100644 --- a/HISTORY +++ b/HISTORY @@ -275,3 +275,4 @@ XXXXXXXXXX: Version 0.0.8-ALPHA automatically create it. - Orders with Track as last key field: Now work correctly even if the track numbers are not known +- adapt for vdr 1.3.38 diff --git a/vdr_player.c b/vdr_player.c index d1116f9..9a3b2b2 100644 --- a/vdr_player.c +++ b/vdr_player.c @@ -1175,7 +1175,11 @@ mgPlayerControl::~mgPlayerControl () { // Stop(); // Notify cleanup all cStatusMonitor +#if VDRVERSNUM >= 10338 cStatus::MsgReplaying (this, 0, 0, false); +#else + cStatus::MsgReplaying (this, 0); +#endif if (m_szLastShowStatusMsg) { free (m_szLastShowStatusMsg); @@ -1202,7 +1206,11 @@ bool mgPlayerControl::Playing (void) void mgPlayerControl::Stop (void) { +#if VDRVERSNUM >= 10338 cStatus::MsgReplaying( this, 0, 0, false ); +#else + cStatus::MsgReplaying( this, 0); +#endif if (player) { delete player; @@ -1853,7 +1861,11 @@ mgPlayerControl::StatusMsgReplaying () free (m_szLastShowStatusMsg); } m_szLastShowStatusMsg = szBuf; +#if VDRVERSNUM >= 10338 cStatus::MsgReplaying (this, m_szLastShowStatusMsg, 0, false); +#else + cStatus::MsgReplaying (this, m_szLastShowStatusMsg); +#endif } else { -- cgit v1.2.3