Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: Streamdev 0.3.1 and vdr 1.3.6



On Sun, Mar 28, 2004 at 06:43:21PM +0300, Seppo Ingalsuo wrote:
> Streamdev server compilation fails. Do others have problems in compiling
> these?
>
> I could compile a streamdev server after some conflicting code removal.
> Unfortunately EPG update from server to client doesn't work any more. If
> someone has a working patch to share I would be happy to use it.

diff -drubNB vdr-1.3.6.orig/PLUGINS/src/streamdev-0.3.1/server/connectionVTP.c vdr-1.3.6/PLUGINS/src/streamdev-0.3.1/server/connectionVTP.c
--- vdr-1.3.6.orig/PLUGINS/src/streamdev-0.3.1/server/connectionVTP.c	Mon Feb 16 19:19:12 2004
+++ vdr-1.3.6/PLUGINS/src/streamdev-0.3.1/server/connectionVTP.c	Wed Mar 17 15:10:14 2004
@@ -436,16 +436,28 @@
         if (timer) {
            cTimer t = *timer;
            if (strcasecmp(tail, "ON") == 0)
+#if VDRVERSNUM>=10306
+              t.SetFlags(tfActive);
+#else
               t.SetActive(taActive);
+#endif
            else if (strcasecmp(tail, "OFF") == 0)
+#if VDRVERSNUM>=10306
+              t.ClrFlags(tfActive);
+#else
               t.SetActive(taInactive);
+#endif
            else if (!t.Parse(tail)) {
               Reply(501, "Error in timer settings");
               EXIT_WRAPPER();
               }
            *timer = t;
            Timers.Save();
+#if VDRVERSNUM>=10306
+           isyslog("timer %d modified (%s)", timer->Index() + 1, timer->HasFlags(tfActive) ? "active" : "inactive");
+#else
            isyslog("timer %d modified (%s)", timer->Index() + 1, timer->Active() ? "active" : "inactive");
+#endif
            Reply(250, "%d %s", timer->Index() + 1, timer->ToText(true));
            }
         else

> Thanks,
> Seppo

Ciao,
Andreas
--
Andreas Kool (akool<nospam>@</nospam>gmx.de * http://akool.bei.t-online.de)


-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index