1
0
mirror of https://github.com/rofafor/vdr-plugin-femon.git synced 2023-10-10 11:36:53 +00:00

Compare commits

..

7 Commits

Author SHA1 Message Date
Rolf Ahrenberg
d9f977e302 Updated HISTORY. 2010-12-27 10:30:43 +02:00
Rolf Ahrenberg
ebfc153940 Added support for LDFLAGS. 2010-12-14 19:25:09 +02:00
Rolf Ahrenberg
f3c52fab6e Tweaked translation files. 2010-12-08 10:47:24 +02:00
Rolf Ahrenberg
b682dbf0fe Updated translation files. 2010-12-04 19:06:15 +02:00
Rolf Ahrenberg
b4673bdece Fixed detection of replaying. 2010-10-29 21:16:01 +03:00
Rolf Ahrenberg
c3b0254b2e Added Makefile depencency for objects. 2010-10-11 23:27:30 +03:00
Rolf Ahrenberg
b8c7fdddb7 Updated for vdr-1.7.16. 2010-09-19 23:19:33 +03:00
14 changed files with 58 additions and 40 deletions

View File

@@ -402,3 +402,10 @@ VDR Plugin 'femon' Revision History
- Added preliminary support for LATM.
- Updated Italian translation (Thanks to Diego Pierotto).
- Fixed a crash in femon service (Thanks to Wolfgang Astleitner).
2010-12-27: Version 1.7.9
- Updated for vdr-1.7.16.
- Added Makefile depencency for objects.
- Fixed detection of replaying.
- Added support for LDFLAGS.

View File

@@ -24,6 +24,7 @@ VERSION = $(shell grep 'static const char VERSION\[\] *=' $(PLUGIN).c | awk '{ p
CXX ?= g++
CXXFLAGS ?= -fPIC -g -O2 -Wall -Wextra -Wswitch-default -Wfloat-equal -Wundef -Wpointer-arith -Wconversion -Wcast-align -Wredundant-decls -Wno-unused-parameter -Woverloaded-virtual -Wno-parentheses
LDFLAGS ?= -Wl,--as-needed
### The directory environment:
@@ -71,7 +72,7 @@ all: libvdr-$(PLUGIN).so i18n
### Implicit rules:
%.o: %.c
%.o: %.c Makefile
$(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) $<
### Dependencies:
@@ -111,7 +112,7 @@ i18n: $(I18Nmsgs) $(I18Npot)
### Targets:
libvdr-$(PLUGIN).so: $(OBJS)
$(CXX) $(CXXFLAGS) -shared $(OBJS) -o $@
$(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) -o $@
ifndef FEMON_DEBUG
@$(STRIP) $@
endif

12
femon.c
View File

@@ -7,18 +7,18 @@
#include <vdr/menu.h>
#include <vdr/remote.h>
#include <vdr/menu.h>
#include <vdr/player.h>
#include "femoncfg.h"
#include "femonreceiver.h"
#include "femonosd.h"
#include "femonservice.h"
#include "femontools.h"
#if defined(APIVERSNUM) && APIVERSNUM < 10713
#error "VDR-1.7.13 API version or greater is required!"
#if defined(APIVERSNUM) && APIVERSNUM < 10716
#error "VDR-1.7.16 API version or greater is required!"
#endif
static const char VERSION[] = "1.7.8";
static const char VERSION[] = "1.7.9";
static const char DESCRIPTION[] = trNOOP("DVB Signal Information Monitor (OSD)");
static const char MAINMENUENTRY[] = trNOOP("Signal Information");
@@ -97,7 +97,7 @@ cOsdObject *cPluginFemon::MainMenuAction(void)
{
// Perform the action when selected from the main VDR menu.
debug("%s()\n", __PRETTY_FUNCTION__);
if (cReplayControl::NowReplaying() || (Channels.Count() <= 0))
if (cControl::Control() || (Channels.Count() <= 0))
Skins.Message(mtInfo, tr("Femon not available"));
else
return cFemonOsd::Instance(true);
@@ -196,7 +196,7 @@ cString cPluginFemon::SVDRPCommand(const char *Command, const char *Option, int
return cString("Cannot open femon plugin while replaying");
}
if (!cFemonOsd::Instance())
cRemote::CallPlugin("femon");
cRemote::CallPlugin(Name());
return cString("Opening femon plugin");
}
else if (strcasecmp(Command, "QUIT") == 0) {

View File

@@ -24,7 +24,7 @@ cFemonConfig::cFemonConfig(void)
analyzestream = 1;
calcinterval = 20;
usesvdrp = 0;
svdrpport = 2001;
svdrpport = 6419;
strncpy(svdrpip, "0.0.0.0", sizeof(svdrpip));
}

View File

@@ -9,10 +9,11 @@ msgid ""
msgstr ""
"Project-Id-Version: femon 1.7.8\n"
"Report-Msgid-Bugs-To: <see README>\n"
"POT-Creation-Date: 2010-06-23 12:14+0300\n"
"PO-Revision-Date: 2007-08-12 23:22+0300\n"
"POT-Creation-Date: 2010-10-10 10:10+0300\n"
"PO-Revision-Date: 2010-10-10 10:10+0300\n"
"Last-Translator: Christian Wieninger\n"
"Language-Team: <vdr@linuxtv.org>\n"
"Language-Team: German <vdr@linuxtv.org>\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=ISO-8859-15\n"
"Content-Transfer-Encoding: 8bit\n"

View File

@@ -7,10 +7,11 @@ msgid ""
msgstr ""
"Project-Id-Version: femon 1.7.8\n"
"Report-Msgid-Bugs-To: <see README>\n"
"POT-Creation-Date: 2010-06-23 12:14+0300\n"
"PO-Revision-Date: 2007-08-12 23:22+0300\n"
"POT-Creation-Date: 2010-10-10 10:10+0300\n"
"PO-Revision-Date: 2010-10-10 10:10+0300\n"
"Last-Translator: Luis Palacios\n"
"Language-Team: <vdr@linuxtv.org>\n"
"Language-Team: Spanish <vdr@linuxtv.org>\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=ISO-8859-15\n"
"Content-Transfer-Encoding: 8bit\n"

View File

@@ -7,10 +7,11 @@ msgid ""
msgstr ""
"Project-Id-Version: femon 1.7.8\n"
"Report-Msgid-Bugs-To: <see README>\n"
"POT-Creation-Date: 2010-06-23 12:14+0300\n"
"PO-Revision-Date: 2007-08-12 23:22+0300\n"
"POT-Creation-Date: 2010-10-10 10:10+0300\n"
"PO-Revision-Date: 2010-10-10 10:10+0300\n"
"Last-Translator: Arthur Konovalov\n"
"Language-Team: <vdr@linuxtv.org>\n"
"Language-Team: Estonian <vdr@linuxtv.org>\n"
"Language: et\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=ISO-8859-13\n"
"Content-Transfer-Encoding: 8bit\n"

View File

@@ -7,10 +7,11 @@ msgid ""
msgstr ""
"Project-Id-Version: femon 1.7.8\n"
"Report-Msgid-Bugs-To: <see README>\n"
"POT-Creation-Date: 2010-06-23 12:14+0300\n"
"PO-Revision-Date: 2007-08-12 23:22+0300\n"
"POT-Creation-Date: 2010-10-10 10:10+0300\n"
"PO-Revision-Date: 2010-10-10 10:10+0300\n"
"Last-Translator: Rolf Ahrenberg\n"
"Language-Team: <vdr@linuxtv.org>\n"
"Language-Team: Finnish <vdr@linuxtv.org>\n"
"Language: fi\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

View File

@@ -7,10 +7,11 @@ msgid ""
msgstr ""
"Project-Id-Version: femon 1.7.8\n"
"Report-Msgid-Bugs-To: <see README>\n"
"POT-Creation-Date: 2010-06-23 12:14+0300\n"
"PO-Revision-Date: 2008-01-26 09:59+0100\n"
"POT-Creation-Date: 2010-10-10 10:10+0300\n"
"PO-Revision-Date: 2010-10-10 10:10+0300\n"
"Last-Translator: NIVAL Micha<68>l <mnival@club-internet.fr>\n"
"Language-Team: <vdr@linuxtv.org>\n"
"Language-Team: French <vdr@linuxtv.org>\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=ISO-8859-1\n"
"Content-Transfer-Encoding: 8bit\n"

View File

@@ -8,10 +8,11 @@ msgid ""
msgstr ""
"Project-Id-Version: femon 1.7.8\n"
"Report-Msgid-Bugs-To: <see README>\n"
"POT-Creation-Date: 2010-06-23 12:14+0300\n"
"PO-Revision-Date: 2010-03-29 00:24+0100\n"
"POT-Creation-Date: 2010-10-10 10:10+0300\n"
"PO-Revision-Date: 2010-10-10 10:10+0300\n"
"Last-Translator: Diego Pierotto <vdr-italian@tiscali.it>\n"
"Language-Team: <vdr@linuxtv.org>\n"
"Language-Team: Italian <vdr@linuxtv.org>\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"

View File

@@ -7,10 +7,11 @@ msgid ""
msgstr ""
"Project-Id-Version: femon 1.7.8\n"
"Report-Msgid-Bugs-To: <see README>\n"
"POT-Creation-Date: 2010-06-23 12:14+0300\n"
"PO-Revision-Date: 2007-08-12 23:22+0300\n"
"Last-Translator: Valdemaras Pipiras\n"
"Language-Team: <varas@ambernet.lt>\n"
"POT-Creation-Date: 2010-10-10 10:10+0300\n"
"PO-Revision-Date: 2010-10-10 10:10+0300\n"
"Last-Translator: Valdemaras Pipiras <varas@ambernet.lt>\n"
"Language-Team: Lithuanian <vdr@linuxtv.org>\n"
"Language: lt\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

View File

@@ -7,10 +7,11 @@ msgid ""
msgstr ""
"Project-Id-Version: femon 1.7.8\n"
"Report-Msgid-Bugs-To: <see README>\n"
"POT-Creation-Date: 2010-06-23 12:14+0300\n"
"PO-Revision-Date: 2007-08-12 23:22+0300\n"
"POT-Creation-Date: 2010-10-10 10:10+0300\n"
"PO-Revision-Date: 2010-10-10 10:10+0300\n"
"Last-Translator: Vyacheslav Dikonov\n"
"Language-Team: <vdr@linuxtv.org>\n"
"Language-Team: Russian <vdr@linuxtv.org>\n"
"Language: ru\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=ISO-8859-5\n"
"Content-Transfer-Encoding: 8bit\n"

View File

@@ -7,10 +7,11 @@ msgid ""
msgstr ""
"Project-Id-Version: femon 1.7.8\n"
"Report-Msgid-Bugs-To: <see README>\n"
"POT-Creation-Date: 2010-06-23 12:14+0300\n"
"PO-Revision-Date: 2009-09-21 21:36+0800\n"
"POT-Creation-Date: 2010-10-10 10:10+0300\n"
"PO-Revision-Date: 2010-10-10 10:10+0300\n"
"Last-Translator: NanFeng <nfgx@21cn.com>\n"
"Language-Team: <vdr@linuxtv.org>\n"
"Language-Team: Chinese (simplified) <vdr@linuxtv.org>\n"
"Language: zh_CN\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

View File

@@ -7,10 +7,11 @@ msgid ""
msgstr ""
"Project-Id-Version: femon 1.7.8\n"
"Report-Msgid-Bugs-To: <see README>\n"
"POT-Creation-Date: 2010-06-23 12:14+0300\n"
"PO-Revision-Date: 2009-09-21 21:36+0800\n"
"POT-Creation-Date: 2010-10-10 10:10+0300\n"
"PO-Revision-Date: 2010-10-10 10:10+0300\n"
"Last-Translator: NanFeng <nfgx@21cn.com>\n"
"Language-Team: <vdr@linuxtv.org>\n"
"Language-Team: Chinese (traditional) <vdr@linuxtv.org>\n"
"Language: zh_TW\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"