mirror of
https://github.com/rofafor/vdr-plugin-femon.git
synced 2023-10-10 11:36:53 +00:00
Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5e16064c33 | ||
|
|
cf8920ddd6 | ||
|
|
1e3b10faa7 | ||
|
|
b7a41c8d78 | ||
|
|
635f99fda6 | ||
|
|
0f45bd7f51 |
6
HISTORY
6
HISTORY
@@ -421,3 +421,9 @@ VDR Plugin 'femon' Revision History
|
||||
and quality used to provide information for the OSD.
|
||||
- Added cppcheck target into Makefile.
|
||||
- Refactored bitstream code.
|
||||
|
||||
2012-01-15: Version 1.7.12
|
||||
|
||||
- Updated for vdr-1.7.23.
|
||||
- Updated SVDRP interface.
|
||||
- Added Hungarian translation (Thanks to Fuley Istvan).
|
||||
|
||||
90
femon.c
90
femon.c
@@ -14,11 +14,11 @@
|
||||
#include "femonservice.h"
|
||||
#include "femontools.h"
|
||||
|
||||
#if defined(APIVERSNUM) && APIVERSNUM < 10722
|
||||
#error "VDR-1.7.22 API version or greater is required!"
|
||||
#if defined(APIVERSNUM) && APIVERSNUM < 10723
|
||||
#error "VDR-1.7.23 API version or greater is required!"
|
||||
#endif
|
||||
|
||||
static const char VERSION[] = "1.7.11";
|
||||
static const char VERSION[] = "1.7.12";
|
||||
static const char DESCRIPTION[] = trNOOP("DVB Signal Information Monitor (OSD)");
|
||||
static const char MAINMENUENTRY[] = trNOOP("Signal Information");
|
||||
|
||||
@@ -135,13 +135,13 @@ bool cPluginFemon::Service(const char *Id, void *Data)
|
||||
FemonService_v1_0 *data = (FemonService_v1_0*)Data;
|
||||
if (!cDevice::ActualDevice())
|
||||
return false;
|
||||
int ndx = cDevice::ActualDevice()->CardIndex();
|
||||
data->fe_name = getFrontendName(ndx);
|
||||
data->fe_status = getFrontendStatus(ndx);
|
||||
data->fe_snr = getSNR(ndx);
|
||||
data->fe_signal = getSignal(ndx);
|
||||
data->fe_ber = getBER(ndx);
|
||||
data->fe_unc = getUNC(ndx);
|
||||
cDvbDevice *dev = dynamic_cast<cDvbDevice*>(cDevice::ActualDevice());
|
||||
data->fe_name = getFrontendName(dev);
|
||||
data->fe_status = getFrontendStatus(dev);
|
||||
data->fe_snr = getSNR(dev);
|
||||
data->fe_signal = getSignal(dev);
|
||||
data->fe_ber = getBER(dev);
|
||||
data->fe_unc = getUNC(dev);
|
||||
data->video_bitrate = cFemonOsd::Instance() ? cFemonOsd::Instance()->GetVideoBitrate() : 0.0;
|
||||
data->audio_bitrate = cFemonOsd::Instance() ? cFemonOsd::Instance()->GetAudioBitrate() : 0.0;
|
||||
data->dolby_bitrate = cFemonOsd::Instance() ? cFemonOsd::Instance()->GetDolbyBitrate() : 0.0;
|
||||
@@ -163,30 +163,30 @@ const char **cPluginFemon::SVDRPHelpPages(void)
|
||||
" Switch to next possible device.",
|
||||
"PREV\n"
|
||||
" Switch to previous possible device.",
|
||||
"INFO\n"
|
||||
" Print the current frontend information.",
|
||||
"NAME\n"
|
||||
" Print the current frontend name.",
|
||||
"STAT\n"
|
||||
" Print the current frontend status.",
|
||||
"STRG\n"
|
||||
" Print the current signal strength.",
|
||||
"QUAL\n"
|
||||
" Print the current signal quality.",
|
||||
"SGNL\n"
|
||||
" Print the current signal strength from driver.",
|
||||
"SNRA\n"
|
||||
" Print the current signal-to-noise ratio from driver.",
|
||||
"BERA\n"
|
||||
" Print the current bit error rate.",
|
||||
"UNCB\n"
|
||||
" Print the current uncorrected blocks rate.",
|
||||
"INFO <card index>\n"
|
||||
" Print the frontend information.",
|
||||
"NAME <card index>\n"
|
||||
" Print the frontend name.",
|
||||
"STAT <card index>\n"
|
||||
" Print the frontend status.",
|
||||
"STRG <card index>\n"
|
||||
" Print the signal strength.",
|
||||
"QUAL <card index>\n"
|
||||
" Print the signal quality.",
|
||||
"SGNL <card index>\n"
|
||||
" Print the signal strength from driver.",
|
||||
"SNRA <card index>\n"
|
||||
" Print the signal-to-noise ratio from driver.",
|
||||
"BERA <card index>\n"
|
||||
" Print the bit error rate.",
|
||||
"UNCB <card index>\n"
|
||||
" Print the uncorrected blocks rate.",
|
||||
"VIBR\n"
|
||||
" Print the actual device and current video bitrate [Mbit/s].",
|
||||
" Print the current video bitrate [Mbit/s].",
|
||||
"AUBR\n"
|
||||
" Print the actual device and current audio bitrate [kbit/s].",
|
||||
" Print the current audio bitrate [kbit/s].",
|
||||
"DDBR\n"
|
||||
" Print the actual device and current dolby bitrate [kbit/s].",
|
||||
" Print the current dolby bitrate [kbit/s].",
|
||||
NULL
|
||||
};
|
||||
return HelpPages;
|
||||
@@ -194,6 +194,12 @@ const char **cPluginFemon::SVDRPHelpPages(void)
|
||||
|
||||
cString cPluginFemon::SVDRPCommand(const char *Command, const char *Option, int &ReplyCode)
|
||||
{
|
||||
cDvbDevice *dev = dynamic_cast<cDvbDevice*>(cDevice::ActualDevice());
|
||||
if (*Option && isnumber(Option)) {
|
||||
cDvbDevice *dev2 = dynamic_cast<cDvbDevice*>(cDevice::GetDevice(strtol(Option, NULL, 10)));
|
||||
if (dev2)
|
||||
dev = dev2;
|
||||
}
|
||||
if (strcasecmp(Command, "OPEN") == 0) {
|
||||
if (cReplayControl::NowReplaying()) {
|
||||
ReplyCode = 550; // Requested action not taken
|
||||
@@ -221,33 +227,33 @@ cString cPluginFemon::SVDRPCommand(const char *Command, const char *Option, int
|
||||
return cString("Cannot switch device");
|
||||
}
|
||||
else if (strcasecmp(Command, "INFO") == 0) {
|
||||
return getFrontendInfo(cDevice::ActualDevice()->CardIndex());
|
||||
return getFrontendInfo(dev);
|
||||
}
|
||||
else if (strcasecmp(Command, "NAME") == 0) {
|
||||
return getFrontendName(cDevice::ActualDevice()->CardIndex());
|
||||
return getFrontendName(dev);
|
||||
}
|
||||
else if (strcasecmp(Command, "STAT") == 0) {
|
||||
return getFrontendStatus(cDevice::ActualDevice()->CardIndex());
|
||||
return getFrontendStatus(dev);
|
||||
}
|
||||
else if (strcasecmp(Command, "STRG") == 0) {
|
||||
return cString::sprintf("%d on device #%d", cDevice::ActualDevice()->SignalStrength(), cDevice::ActualDevice()->CardIndex());
|
||||
return cString::sprintf("%d on device #%d", dev->SignalStrength(), dev->CardIndex());
|
||||
}
|
||||
else if (strcasecmp(Command, "QUAL") == 0) {
|
||||
return cString::sprintf("%d on device #%d", cDevice::ActualDevice()->SignalQuality(), cDevice::ActualDevice()->CardIndex());
|
||||
return cString::sprintf("%d on device #%d", dev->SignalQuality(), dev->CardIndex());
|
||||
}
|
||||
else if (strcasecmp(Command, "SGNL") == 0) {
|
||||
int value = getSignal(cDevice::ActualDevice()->CardIndex());
|
||||
return cString::sprintf("%04X (%02d%%) on device #%d", value, value / 655, cDevice::ActualDevice()->CardIndex());
|
||||
int value = getSignal(dev);
|
||||
return cString::sprintf("%04X (%02d%%) on device #%d", value, value / 655, dev->CardIndex());
|
||||
}
|
||||
else if (strcasecmp(Command, "SNRA") == 0) {
|
||||
int value = getSNR(cDevice::ActualDevice()->CardIndex());
|
||||
return cString::sprintf("%04X (%02d%%) on device #%d", value, value / 655, cDevice::ActualDevice()->CardIndex());
|
||||
int value = getSNR(dev);
|
||||
return cString::sprintf("%04X (%02d%%) on device #%d", value, value / 655, dev->CardIndex());
|
||||
}
|
||||
else if (strcasecmp(Command, "BERA") == 0) {
|
||||
return cString::sprintf("%08X on device #%d", getBER(cDevice::ActualDevice()->CardIndex()), cDevice::ActualDevice()->CardIndex());
|
||||
return cString::sprintf("%08X on device #%d", getBER(dev), dev->CardIndex());
|
||||
}
|
||||
else if (strcasecmp(Command, "UNCB") == 0) {
|
||||
return cString::sprintf("%08X on device #%d", getUNC(cDevice::ActualDevice()->CardIndex()), cDevice::ActualDevice()->CardIndex());
|
||||
return cString::sprintf("%08X on device #%d", getUNC(dev), dev->CardIndex());
|
||||
}
|
||||
else if (strcasecmp(Command, "VIBR") == 0) {
|
||||
if (cFemonOsd::Instance())
|
||||
|
||||
19
femonosd.c
19
femonosd.c
@@ -419,7 +419,7 @@ void cFemonOsd::DrawInfoWindow(void)
|
||||
offset += OSDROWHEIGHT;
|
||||
switch (channel->Source() & cSource::st_Mask) {
|
||||
case cSource::stSat:
|
||||
OSDDRAWINFOLINE(*cString::sprintf("DVB-S%s #%d - %s", (m_FrontendInfo.caps & 0x10000000) ? "2" : "", (m_SvdrpFrontend >= 0) ? m_SvdrpFrontend : cDevice::ActualDevice()->CardIndex(), m_FrontendInfo.name));
|
||||
OSDDRAWINFOLINE(*cString::sprintf("%s #%d - %s", *getSatelliteSystem(dtp.System()), (m_SvdrpFrontend >= 0) ? m_SvdrpFrontend : cDevice::ActualDevice()->CardIndex(), m_FrontendInfo.name));
|
||||
offset += OSDROWHEIGHT;
|
||||
OSDDRAWINFOLEFT( trVDR("Frequency"), *getFrequencyMHz(channel->Frequency()));
|
||||
OSDDRAWINFORIGHT(trVDR("Source"), *cSource::ToString(channel->Source()));
|
||||
@@ -430,7 +430,8 @@ void cFemonOsd::DrawInfoWindow(void)
|
||||
OSDDRAWINFOLEFT( trVDR("Inversion"), *getInversion(dtp.Inversion()));
|
||||
OSDDRAWINFORIGHT(trVDR("CoderateH"), *getCoderate(dtp.CoderateH()));
|
||||
offset += OSDROWHEIGHT;
|
||||
OSDDRAWINFOLEFT( trVDR("System"), *getSystem(dtp.System()));
|
||||
OSDDRAWINFOLEFT( trVDR("System"), *getSatelliteSystem(dtp.System()));
|
||||
if (dtp.System())
|
||||
OSDDRAWINFORIGHT(trVDR("RollOff"), *getRollOff(dtp.RollOff()));
|
||||
break;
|
||||
|
||||
@@ -448,7 +449,7 @@ void cFemonOsd::DrawInfoWindow(void)
|
||||
break;
|
||||
|
||||
case cSource::stTerr:
|
||||
OSDDRAWINFOLINE(*cString::sprintf("DVB-T #%d - %s", (m_SvdrpFrontend >= 0) ? m_SvdrpFrontend : cDevice::ActualDevice()->CardIndex(), m_FrontendInfo.name));
|
||||
OSDDRAWINFOLINE(*cString::sprintf("%s #%d - %s", *getTerrestrialSystem(dtp.System()), (m_SvdrpFrontend >= 0) ? m_SvdrpFrontend : cDevice::ActualDevice()->CardIndex(), m_FrontendInfo.name));
|
||||
offset += OSDROWHEIGHT;
|
||||
OSDDRAWINFOLEFT( trVDR("Frequency"), *getFrequencyMHz(channel->Frequency()));
|
||||
OSDDRAWINFORIGHT(trVDR("Transmission"), *getTransmission(dtp.Transmission()));
|
||||
@@ -461,6 +462,10 @@ void cFemonOsd::DrawInfoWindow(void)
|
||||
offset += OSDROWHEIGHT;
|
||||
OSDDRAWINFOLEFT( trVDR("Hierarchy"), *getHierarchy(dtp.Hierarchy()));
|
||||
OSDDRAWINFORIGHT(trVDR("Guard"), *getGuard(dtp.Guard()));
|
||||
offset += OSDROWHEIGHT;
|
||||
OSDDRAWINFOLEFT( trVDR("System"), *getTerrestrialSystem(dtp.System()));
|
||||
if (dtp.System())
|
||||
OSDDRAWINFORIGHT(trVDR("PlpId"), *cString::sprintf("%d", dtp.PlpId()));
|
||||
break;
|
||||
|
||||
default:
|
||||
@@ -622,8 +627,8 @@ void cFemonOsd::Show(void)
|
||||
{
|
||||
debug("%s()\n", __PRETTY_FUNCTION__);
|
||||
eTrackType track = cDevice::PrimaryDevice()->GetCurrentAudioTrack();
|
||||
cString dev = cString::sprintf(FRONTEND_DEVICE, cDevice::ActualDevice()->CardIndex(), 0);
|
||||
m_Frontend = open(dev, O_RDONLY | O_NONBLOCK);
|
||||
cDvbDevice *dev = dynamic_cast<cDvbDevice*>(cDevice::ActualDevice());
|
||||
m_Frontend = dev ? open(*cString::sprintf(FRONTEND_DEVICE, dev->Adapter(), dev->Frontend()), O_RDONLY | O_NONBLOCK) : -1;
|
||||
if (m_Frontend >= 0) {
|
||||
if (ioctl(m_Frontend, FE_GET_INFO, &m_FrontendInfo) < 0) {
|
||||
if (!femonConfig.usesvdrp)
|
||||
@@ -680,8 +685,8 @@ void cFemonOsd::ChannelSwitch(const cDevice * device, int channelNumber)
|
||||
if (!device->IsPrimaryDevice() || !channelNumber || cDevice::PrimaryDevice()->CurrentChannel() != channelNumber)
|
||||
return;
|
||||
close(m_Frontend);
|
||||
cString dev = cString::sprintf(FRONTEND_DEVICE, cDevice::ActualDevice()->CardIndex(), 0);
|
||||
m_Frontend = open(dev, O_RDONLY | O_NONBLOCK);
|
||||
cDvbDevice *dev = dynamic_cast<cDvbDevice*>(cDevice::ActualDevice());
|
||||
m_Frontend = dev ? open(*cString::sprintf(FRONTEND_DEVICE, dev->Adapter(), dev->Frontend()), O_RDONLY | O_NONBLOCK) : -1;
|
||||
if (m_Frontend >= 0) {
|
||||
if (ioctl(m_Frontend, FE_GET_INFO, &m_FrontendInfo) < 0) {
|
||||
if (!femonConfig.usesvdrp)
|
||||
|
||||
73
femontools.c
73
femontools.c
@@ -76,7 +76,7 @@ static const char *getUserString(int Value, const tDvbParameterMap *Map)
|
||||
return "---";
|
||||
}
|
||||
|
||||
cString getFrontendInfo(int cardIndex)
|
||||
cString getFrontendInfo(cDvbDevice *device)
|
||||
{
|
||||
cString info;
|
||||
struct dvb_frontend_info value;
|
||||
@@ -86,13 +86,15 @@ cString getFrontendInfo(int cardIndex)
|
||||
uint32_t ber = 0;
|
||||
uint32_t unc = 0;
|
||||
cChannel *channel = Channels.GetByNumber(cDevice::CurrentChannel());
|
||||
cString dev = cString::sprintf(FRONTEND_DEVICE, cardIndex, 0);
|
||||
|
||||
int fe = open(dev, O_RDONLY | O_NONBLOCK);
|
||||
if (!device)
|
||||
return info;
|
||||
|
||||
int fe = open(*cString::sprintf(FRONTEND_DEVICE, device->Adapter(), device->Frontend()), O_RDONLY | O_NONBLOCK);
|
||||
if (fe < 0)
|
||||
return NULL;
|
||||
return info;
|
||||
|
||||
info = cString::sprintf("CARD:%d\nSTRG:%d\nQUAL:%d", cardIndex, cDevice::ActualDevice()->SignalStrength(), cDevice::ActualDevice()->SignalQuality());
|
||||
info = cString::sprintf("CARD:%d\nSTRG:%d\nQUAL:%d", device->CardIndex(), device->SignalStrength(), device->SignalQuality());
|
||||
|
||||
if (ioctl(fe, FE_GET_INFO, &value) >= 0)
|
||||
info = cString::sprintf("%s\nTYPE:%d\nNAME:%s", *info, value.type, value.name);
|
||||
@@ -117,42 +119,48 @@ cString getFrontendInfo(int cardIndex)
|
||||
return info;
|
||||
}
|
||||
|
||||
cString getFrontendName(int cardIndex)
|
||||
cString getFrontendName(cDvbDevice *device)
|
||||
{
|
||||
struct dvb_frontend_info value;
|
||||
cString dev = cString::sprintf(FRONTEND_DEVICE, cardIndex, 0);
|
||||
|
||||
int fe = open(dev, O_RDONLY | O_NONBLOCK);
|
||||
if (!device)
|
||||
return NULL;
|
||||
|
||||
int fe = open(*cString::sprintf(FRONTEND_DEVICE, device->Adapter(), device->Frontend()), O_RDONLY | O_NONBLOCK);
|
||||
if (fe < 0)
|
||||
return NULL;
|
||||
memset(&value, 0, sizeof(value));
|
||||
ioctl(fe, FE_GET_INFO, &value);
|
||||
close(fe);
|
||||
|
||||
return (cString::sprintf("%s on device #%d", value.name, cardIndex));
|
||||
return (cString::sprintf("%s on device #%d", value.name, device->CardIndex()));
|
||||
}
|
||||
|
||||
cString getFrontendStatus(int cardIndex)
|
||||
cString getFrontendStatus(cDvbDevice *device)
|
||||
{
|
||||
fe_status_t value;
|
||||
cString dev = cString::sprintf(FRONTEND_DEVICE, cardIndex, 0);
|
||||
|
||||
int fe = open(dev, O_RDONLY | O_NONBLOCK);
|
||||
if (!device)
|
||||
return NULL;
|
||||
|
||||
int fe = open(*cString::sprintf(FRONTEND_DEVICE, device->Adapter(), device->Frontend()), O_RDONLY | O_NONBLOCK);
|
||||
if (fe < 0)
|
||||
return NULL;
|
||||
memset(&value, 0, sizeof(value));
|
||||
ioctl(fe, FE_READ_STATUS, &value);
|
||||
close(fe);
|
||||
|
||||
return (cString::sprintf("Status %s:%s:%s:%s:%s on device #%d", (value & FE_HAS_LOCK) ? "LOCKED" : "-", (value & FE_HAS_SIGNAL) ? "SIGNAL" : "-", (value & FE_HAS_CARRIER) ? "CARRIER" : "-", (value & FE_HAS_VITERBI) ? "VITERBI" : "-", (value & FE_HAS_SYNC) ? "SYNC" : "-", cardIndex));
|
||||
return (cString::sprintf("Status %s:%s:%s:%s:%s on device #%d", (value & FE_HAS_LOCK) ? "LOCKED" : "-", (value & FE_HAS_SIGNAL) ? "SIGNAL" : "-", (value & FE_HAS_CARRIER) ? "CARRIER" : "-", (value & FE_HAS_VITERBI) ? "VITERBI" : "-", (value & FE_HAS_SYNC) ? "SYNC" : "-", device->CardIndex()));
|
||||
}
|
||||
|
||||
uint16_t getSignal(int cardIndex)
|
||||
uint16_t getSignal(cDvbDevice *device)
|
||||
{
|
||||
uint16_t value = 0;
|
||||
cString dev = cString::sprintf(FRONTEND_DEVICE, cardIndex, 0);
|
||||
|
||||
int fe = open(dev, O_RDONLY | O_NONBLOCK);
|
||||
if (!device)
|
||||
return (value);
|
||||
|
||||
int fe = open(*cString::sprintf(FRONTEND_DEVICE, device->Adapter(), device->Frontend()), O_RDONLY | O_NONBLOCK);
|
||||
if (fe < 0)
|
||||
return (value);
|
||||
ioctl(fe, FE_READ_SIGNAL_STRENGTH, &value);
|
||||
@@ -161,12 +169,14 @@ uint16_t getSignal(int cardIndex)
|
||||
return (value);
|
||||
}
|
||||
|
||||
uint16_t getSNR(int cardIndex)
|
||||
uint16_t getSNR(cDvbDevice *device)
|
||||
{
|
||||
uint16_t value = 0;
|
||||
cString dev = cString::sprintf(FRONTEND_DEVICE, cardIndex, 0);
|
||||
|
||||
int fe = open(dev, O_RDONLY | O_NONBLOCK);
|
||||
if (!device)
|
||||
return (value);
|
||||
|
||||
int fe = open(*cString::sprintf(FRONTEND_DEVICE, device->Adapter(), device->Frontend()), O_RDONLY | O_NONBLOCK);
|
||||
if (fe < 0)
|
||||
return (value);
|
||||
ioctl(fe, FE_READ_SNR, &value);
|
||||
@@ -175,12 +185,14 @@ uint16_t getSNR(int cardIndex)
|
||||
return (value);
|
||||
}
|
||||
|
||||
uint32_t getBER(int cardIndex)
|
||||
uint32_t getBER(cDvbDevice *device)
|
||||
{
|
||||
uint32_t value = 0;
|
||||
cString dev = cString::sprintf(FRONTEND_DEVICE, cardIndex, 0);
|
||||
|
||||
int fe = open(dev, O_RDONLY | O_NONBLOCK);
|
||||
if (!device)
|
||||
return (value);
|
||||
|
||||
int fe = open(*cString::sprintf(FRONTEND_DEVICE, device->Adapter(), device->Frontend()), O_RDONLY | O_NONBLOCK);
|
||||
if (fe < 0)
|
||||
return (value);
|
||||
ioctl(fe, FE_READ_BER, &value);
|
||||
@@ -189,12 +201,14 @@ uint32_t getBER(int cardIndex)
|
||||
return (value);
|
||||
}
|
||||
|
||||
uint32_t getUNC(int cardIndex)
|
||||
uint32_t getUNC(cDvbDevice *device)
|
||||
{
|
||||
uint32_t value = 0;
|
||||
cString dev = cString::sprintf(FRONTEND_DEVICE, cardIndex, 0);
|
||||
|
||||
int fe = open(dev, O_RDONLY | O_NONBLOCK);
|
||||
if (!device)
|
||||
return (value);
|
||||
|
||||
int fe = open(*cString::sprintf(FRONTEND_DEVICE, device->Adapter(), device->Frontend()), O_RDONLY | O_NONBLOCK);
|
||||
if (fe < 0)
|
||||
return (value);
|
||||
ioctl(fe, FE_READ_UNCORRECTED_BLOCKS, &value);
|
||||
@@ -347,9 +361,14 @@ cString getModulation(int value)
|
||||
return cString::sprintf("%s", getUserString(value, ModulationValues));
|
||||
}
|
||||
|
||||
cString getSystem(int value)
|
||||
cString getTerrestrialSystem(int value)
|
||||
{
|
||||
return cString::sprintf("%s", getUserString(value, SystemValues));
|
||||
return cString::sprintf("%s", getUserString(value, SystemValuesTerr));
|
||||
}
|
||||
|
||||
cString getSatelliteSystem(int value)
|
||||
{
|
||||
return cString::sprintf("%s", getUserString(value, SystemValuesSat));
|
||||
}
|
||||
|
||||
cString getRollOff(int value)
|
||||
|
||||
18
femontools.h
18
femontools.h
@@ -10,6 +10,7 @@
|
||||
|
||||
#include <stdint.h>
|
||||
#include <vdr/channels.h>
|
||||
#include <vdr/dvbdevice.h>
|
||||
#include <vdr/remux.h>
|
||||
#include <vdr/tools.h>
|
||||
|
||||
@@ -25,15 +26,15 @@
|
||||
|
||||
#define FRONTEND_DEVICE "/dev/dvb/adapter%d/frontend%d"
|
||||
|
||||
cString getFrontendInfo(int cardIndex = 0);
|
||||
cString getFrontendName(int cardIndex = 0);
|
||||
cString getFrontendStatus(int cardIndex = 0);
|
||||
cString getFrontendInfo(cDvbDevice *device);
|
||||
cString getFrontendName(cDvbDevice *device);
|
||||
cString getFrontendStatus(cDvbDevice *device);
|
||||
|
||||
uint16_t getSNR(int cardIndex = 0);
|
||||
uint16_t getSignal(int cardIndex = 0);
|
||||
uint16_t getSNR(cDvbDevice *device);
|
||||
uint16_t getSignal(cDvbDevice *device);
|
||||
|
||||
uint32_t getBER(int cardIndex = 0);
|
||||
uint32_t getUNC(int cardIndex = 0);
|
||||
uint32_t getBER(cDvbDevice *device);
|
||||
uint32_t getUNC(cDvbDevice *device);
|
||||
|
||||
cString getApids(const cChannel *channel);
|
||||
cString getDpids(const cChannel *channel);
|
||||
@@ -51,7 +52,8 @@ cString getInversion(int value);
|
||||
cString getHierarchy(int value);
|
||||
cString getGuard(int value);
|
||||
cString getModulation(int value);
|
||||
cString getSystem(int value);
|
||||
cString getTerrestrialSystem(int value);
|
||||
cString getSatelliteSystem(int value);
|
||||
cString getRollOff(int value);
|
||||
cString getResolution(int width, int height, int scan);
|
||||
cString getAspectRatio(int value);
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: vdr-femon 1.7.10\n"
|
||||
"Project-Id-Version: vdr-femon 1.7.12\n"
|
||||
"Report-Msgid-Bugs-To: <see README>\n"
|
||||
"POT-Creation-Date: 2010-10-10 10:10+0300\n"
|
||||
"PO-Revision-Date: 2010-10-10 10:10+0300\n"
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: vdr-femon 1.7.10\n"
|
||||
"Project-Id-Version: vdr-femon 1.7.12\n"
|
||||
"Report-Msgid-Bugs-To: <see README>\n"
|
||||
"POT-Creation-Date: 2010-10-10 10:10+0300\n"
|
||||
"PO-Revision-Date: 2010-10-10 10:10+0300\n"
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: vdr-femon 1.7.10\n"
|
||||
"Project-Id-Version: vdr-femon 1.7.12\n"
|
||||
"Report-Msgid-Bugs-To: <see README>\n"
|
||||
"POT-Creation-Date: 2010-10-10 10:10+0300\n"
|
||||
"PO-Revision-Date: 2010-10-10 10:10+0300\n"
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: vdr-femon 1.7.10\n"
|
||||
"Project-Id-Version: vdr-femon 1.7.12\n"
|
||||
"Report-Msgid-Bugs-To: <see README>\n"
|
||||
"POT-Creation-Date: 2010-10-10 10:10+0300\n"
|
||||
"PO-Revision-Date: 2010-10-10 10:10+0300\n"
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: vdr-femon 1.7.10\n"
|
||||
"Project-Id-Version: vdr-femon 1.7.12\n"
|
||||
"Report-Msgid-Bugs-To: <see README>\n"
|
||||
"POT-Creation-Date: 2010-10-10 10:10+0300\n"
|
||||
"PO-Revision-Date: 2010-10-10 10:10+0300\n"
|
||||
|
||||
387
po/hu_HU.po
Normal file
387
po/hu_HU.po
Normal file
@@ -0,0 +1,387 @@
|
||||
# VDR plugin language source file.
|
||||
# Copyright (C) 2007 Rolf Ahrenberg
|
||||
# This file is distributed under the same license as the femon package.
|
||||
# F<>ley Istv<74>n <ifuley at tigercomp dot ro>, 2011
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: vdr-femon 1.7.12\n"
|
||||
"Report-Msgid-Bugs-To: <see README>\n"
|
||||
"POT-Creation-Date: 2010-10-10 10:10+0200\n"
|
||||
"PO-Revision-Date: 2010-10-10 10:10+0200\n"
|
||||
"Last-Translator: F<>ley Istv<74>n <ifuley at tigercomp dot ro>\n"
|
||||
"Language-Team: Hungarian <ifuley at tigercomp dot ro>\n"
|
||||
"Language: hu\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=iso-8859-2\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Poedit-Language: Hungarian\n"
|
||||
"X-Poedit-Country: HUNGARY\n"
|
||||
"X-Poedit-SourceCharset: iso-8859-2\n"
|
||||
|
||||
msgid "DVB Signal Information Monitor (OSD)"
|
||||
msgstr "DVB jelszint monitor (OSD)"
|
||||
|
||||
msgid "Signal Information"
|
||||
msgstr "Jel inform<72>ci<63>"
|
||||
|
||||
msgid "Femon not available"
|
||||
msgstr "Femon nem el<65>rhet<65>"
|
||||
|
||||
msgid "basic"
|
||||
msgstr "alap"
|
||||
|
||||
msgid "transponder"
|
||||
msgstr "transponder"
|
||||
|
||||
msgid "stream"
|
||||
msgstr "adatfolyam (stream)"
|
||||
|
||||
msgid "AC-3"
|
||||
msgstr "AC-3"
|
||||
|
||||
msgid "Classic"
|
||||
msgstr "Klasszikus"
|
||||
|
||||
msgid "Elchi"
|
||||
msgstr "Elchi"
|
||||
|
||||
msgid "ST:TNG"
|
||||
msgstr "ST:TNG"
|
||||
|
||||
msgid "DeepBlue"
|
||||
msgstr "S<>t<EFBFBD>tk<74>k"
|
||||
|
||||
msgid "Moronimo"
|
||||
msgstr "Moronimo"
|
||||
|
||||
msgid "Enigma"
|
||||
msgstr "Enigma"
|
||||
|
||||
msgid "EgalsTry"
|
||||
msgstr "EgalsTry"
|
||||
|
||||
msgid "Duotone"
|
||||
msgstr "K<>tsz<73>n<EFBFBD> (duotone)"
|
||||
|
||||
msgid "SilverGreen"
|
||||
msgstr "Ez<45>st-z<>ld"
|
||||
|
||||
msgid "Hide main menu entry"
|
||||
msgstr "Men<65>bejegyz<79>s elrejt<6A>se"
|
||||
|
||||
msgid "Define whether the main menu entry is hidden."
|
||||
msgstr "Meghat<61>rozza, hogy megjelenjen-e a f<>men<65>ben."
|
||||
|
||||
msgid "Default display mode"
|
||||
msgstr "Alap<61>rtelmezett megjelen<65>t<EFBFBD>si m<>d"
|
||||
|
||||
msgid "Define the default display mode at startup."
|
||||
msgstr "Bekapcsol<6F>skor melyik megjelen<65>t<EFBFBD>si m<>ddal induljon."
|
||||
|
||||
msgid "Define the used OSD skin."
|
||||
msgstr "Az OSD b<>r kiv<69>laszt<7A>sa."
|
||||
|
||||
msgid "Define the used OSD theme."
|
||||
msgstr "Az OSD t<>ma kiv<69>laszt<7A>sa."
|
||||
|
||||
msgid "Position"
|
||||
msgstr "Elhelyez<65>s"
|
||||
|
||||
msgid "Define the position of OSD."
|
||||
msgstr "A k<>perny<6E>elhelyez<65>s kiv<69>laszt<7A>sa"
|
||||
|
||||
msgid "Downscale OSD size [%]"
|
||||
msgstr "Az OSD lem<65>retez<65>se [%]"
|
||||
|
||||
msgid "Define the downscale ratio for OSD size."
|
||||
msgstr "Az OSD m<>ret<65>nek lem<65>retez<65>se sz<73>zal<61>kban."
|
||||
|
||||
msgid "Red limit [%]"
|
||||
msgstr "Piros sz<73>nt hat<61>ra [%]"
|
||||
|
||||
msgid "Define a limit for red bar, which is used to indicate a bad signal."
|
||||
msgstr "A piros s<>v hat<61>r<EFBFBD>nak be<62>ll<6C>t<EFBFBD>sa, ezt haszn<7A>ljuk a nem el<65>gs<67>ges jelszint kijelz<6C>s<EFBFBD>hez."
|
||||
|
||||
msgid "Green limit [%]"
|
||||
msgstr "Z<>ld sz<73>nt hat<61>ra [%]"
|
||||
|
||||
msgid "Define a limit for green bar, which is used to indicate a good signal."
|
||||
msgstr "A z<>ld s<>v hat<61>r<EFBFBD>nak be<62>ll<6C>t<EFBFBD>sa, ezt haszn<7A>ljuk az el<65>gs<67>ges jelszint kijelz<6C>s<EFBFBD>hez."
|
||||
|
||||
msgid "OSD update interval [0.1s]"
|
||||
msgstr "OSD friss<73>t<EFBFBD>s<EFBFBD>nek gyakoris<69>ga [0.1mp]"
|
||||
|
||||
msgid "Define an interval for OSD updates. The smaller interval generates higher CPU load."
|
||||
msgstr "Meghat<61>rozza, hogy milyen gyakran legyen friss<73>tve az OSD. Kisebb intervallum nagyobb CPU terhel<65>st eredm<64>nyez."
|
||||
|
||||
msgid "Analyze stream"
|
||||
msgstr "Adatfolyam (stream) elemz<6D>se."
|
||||
|
||||
msgid "Define whether the DVB stream is analyzed and bitrates calculated."
|
||||
msgstr "Meghat<61>rozza, hogy a DVB adatfolyam elemz<6D>sre ker<65>lj<6C>n-e, <20>s sz<73>mol<6F>djon-e bitr<74>ta."
|
||||
|
||||
msgid "Calculation interval [0.1s]"
|
||||
msgstr "Sz<53>m<EFBFBD>t<EFBFBD>s gyakoris<69>ga [0.1mp]"
|
||||
|
||||
msgid "Define an interval for calculation. The bigger interval generates more stable values."
|
||||
msgstr "Meghat<61>rozza, hogy milyen gyakran t<>rt<72>njen sz<73>m<EFBFBD>t<EFBFBD>s. Nagyobb intervallum pontosabb <20>rt<72>keket eredm<64>nyez."
|
||||
|
||||
msgid "Use SVDRP service"
|
||||
msgstr "SVDRP szolg<6C>ltat<61>s haszn<7A>lata."
|
||||
|
||||
msgid "Define whether the SVDRP service is used in client/server setups."
|
||||
msgstr "Ki-bekapcsolja az SVDRP szolg<6C>ltat<61>st, amely kliens-szerver k<>rnyezetben haszn<7A>latos."
|
||||
|
||||
msgid "SVDRP service port"
|
||||
msgstr "Az SVDRP szolg<6C>ltat<61>s portja"
|
||||
|
||||
msgid "Define the port number of SVDRP service."
|
||||
msgstr "Meghat<61>rozza, hogy melyik porton fut az SVDRP."
|
||||
|
||||
msgid "SVDRP service IP"
|
||||
msgstr "Az SVDRP szolg<6C>ltat<61>s IP-je"
|
||||
|
||||
msgid "Define the IP address of SVDRP service."
|
||||
msgstr "Meghat<61>rozza, hogy milyen IP c<>men fut az SVDRP szolg<6C>ltat<61>s."
|
||||
|
||||
msgid "Help"
|
||||
msgstr "Seg<65>ts<74>g"
|
||||
|
||||
msgid "Video"
|
||||
msgstr "Video"
|
||||
|
||||
msgid "Audio"
|
||||
msgstr "Audio"
|
||||
|
||||
msgid "Transponder Information"
|
||||
msgstr "Transponder inf<6E>"
|
||||
|
||||
msgid "Apid"
|
||||
msgstr "Apid"
|
||||
|
||||
msgid "Dpid"
|
||||
msgstr "Dpid"
|
||||
|
||||
msgid "Spid"
|
||||
msgstr "Spid"
|
||||
|
||||
msgid "Nid"
|
||||
msgstr "Nid"
|
||||
|
||||
msgid "Tid"
|
||||
msgstr "Tid"
|
||||
|
||||
msgid "Rid"
|
||||
msgstr "Rid"
|
||||
|
||||
msgid "Coderate"
|
||||
msgstr "Coderate"
|
||||
|
||||
msgid "Stream Information"
|
||||
msgstr "Adatfolyam inf<6E>"
|
||||
|
||||
msgid "Video Stream"
|
||||
msgstr "Vide<64> adatfolyam"
|
||||
|
||||
msgid "Codec"
|
||||
msgstr "Kodek"
|
||||
|
||||
msgid "Bitrate"
|
||||
msgstr "Bitr<74>ta"
|
||||
|
||||
msgid "Aspect Ratio"
|
||||
msgstr "M<>retar<61>ny"
|
||||
|
||||
msgid "Frame Rate"
|
||||
msgstr "K<>pfriss<73>t<EFBFBD>s"
|
||||
|
||||
msgid "Video Format"
|
||||
msgstr "Vide<64> form<72>tum"
|
||||
|
||||
msgid "Resolution"
|
||||
msgstr "Felbont<6E>s"
|
||||
|
||||
msgid "Audio Stream"
|
||||
msgstr "Hang adatfolyam"
|
||||
|
||||
msgid "Channel Mode"
|
||||
msgstr "Hangs<67>v m<>d"
|
||||
|
||||
msgid "Sampling Frequency"
|
||||
msgstr "Mintav<61>telez<65>si frekvencia"
|
||||
|
||||
msgid "AC-3 Stream"
|
||||
msgstr "AC-3 adatfolyam"
|
||||
|
||||
msgid "Bit Stream Mode"
|
||||
msgstr "Bit Stream m<>d"
|
||||
|
||||
msgid "Audio Coding Mode"
|
||||
msgstr "Hang k<>dol<6F>si m<>d"
|
||||
|
||||
msgid "Center Mix Level"
|
||||
msgstr "K<>z<EFBFBD>pcsatorna kever<65>si jelszintje"
|
||||
|
||||
msgid "Surround Mix Level"
|
||||
msgstr "T<>rhat<61>s csatorna kever<65>si szintje"
|
||||
|
||||
msgid "Dolby Surround Mode"
|
||||
msgstr "Dolby Surround m<>d"
|
||||
|
||||
msgid "Low Frequency Effects"
|
||||
msgstr "LFE - alacsony frekvenci<63>s effektek"
|
||||
|
||||
msgid "Dialogue Normalization"
|
||||
msgstr "P<>rbesz<73>d jelszint normaliz<69>l<EFBFBD>sa"
|
||||
|
||||
msgid "Fixed"
|
||||
msgstr "<22>lland<6E>"
|
||||
|
||||
msgid "Analog"
|
||||
msgstr "analog"
|
||||
|
||||
msgid "MPEG-2"
|
||||
msgstr "MPEG-2"
|
||||
|
||||
msgid "H.264"
|
||||
msgstr "H.264"
|
||||
|
||||
msgid "MPEG-1 Layer I"
|
||||
msgstr "MPEG-1 Layer I"
|
||||
|
||||
msgid "MPEG-1 Layer II"
|
||||
msgstr "MPEG-1 Layer II"
|
||||
|
||||
msgid "MPEG-1 Layer III"
|
||||
msgstr "MPEG-1 Layer III"
|
||||
|
||||
msgid "MPEG-2 Layer I"
|
||||
msgstr "MPEG-2 Layer I"
|
||||
|
||||
msgid "MPEG-2 Layer II"
|
||||
msgstr "MPEG-2 Layer II"
|
||||
|
||||
msgid "MPEG-2 Layer III"
|
||||
msgstr "MPEG-2 Layer III"
|
||||
|
||||
msgid "HE-AAC"
|
||||
msgstr "HE-AAC"
|
||||
|
||||
msgid "LATM"
|
||||
msgstr "LATM"
|
||||
|
||||
msgid "stereo"
|
||||
msgstr "sztere<72>"
|
||||
|
||||
msgid "joint Stereo"
|
||||
msgstr "joint sztere<72>"
|
||||
|
||||
msgid "dual"
|
||||
msgstr "du<64>l"
|
||||
|
||||
msgid "mono"
|
||||
msgstr "mon<6F>"
|
||||
|
||||
msgid "interlaced"
|
||||
msgstr "v<>ltotts<74>vos"
|
||||
|
||||
msgid "progressive"
|
||||
msgstr "progressz<73>v"
|
||||
|
||||
msgid "reserved"
|
||||
msgstr "fenntartott"
|
||||
|
||||
msgid "extended"
|
||||
msgstr "kiterjesztett"
|
||||
|
||||
msgid "unknown"
|
||||
msgstr "ismeretlen"
|
||||
|
||||
msgid "component"
|
||||
msgstr "komponens"
|
||||
|
||||
msgid "PAL"
|
||||
msgstr "PAL"
|
||||
|
||||
msgid "NTSC"
|
||||
msgstr "NTSC"
|
||||
|
||||
msgid "SECAM"
|
||||
msgstr "SECAM"
|
||||
|
||||
msgid "MAC"
|
||||
msgstr "MAC"
|
||||
|
||||
msgid "Hz"
|
||||
msgstr "Hz"
|
||||
|
||||
msgid "Complete Main (CM)"
|
||||
msgstr "Mestercsatorna (CM)"
|
||||
|
||||
msgid "Music and Effects (ME)"
|
||||
msgstr "Zene <20>s effektek (ME)"
|
||||
|
||||
msgid "Visually Impaired (VI)"
|
||||
msgstr "L<>t<EFBFBD>sk<73>rosultak (VI)"
|
||||
|
||||
msgid "Hearing Impaired (HI)"
|
||||
msgstr "Hall<6C>sk<73>rosultak (HI)"
|
||||
|
||||
msgid "Dialogue (D)"
|
||||
msgstr "P<>rbesz<73>d (D)"
|
||||
|
||||
msgid "Commentary (C)"
|
||||
msgstr "Narr<72>ci<63> (C)"
|
||||
|
||||
msgid "Emergency (E)"
|
||||
msgstr "S<>rg<72>ss<73>gi (E)"
|
||||
|
||||
msgid "Voice Over (VO)"
|
||||
msgstr "R<>besz<73>l<EFBFBD>s (VO)"
|
||||
|
||||
msgid "Karaoke"
|
||||
msgstr "Karaoke"
|
||||
|
||||
msgid "Ch1"
|
||||
msgstr "Ch1"
|
||||
|
||||
msgid "Ch2"
|
||||
msgstr "Ch2"
|
||||
|
||||
msgid "C"
|
||||
msgstr "K"
|
||||
|
||||
msgid "L"
|
||||
msgstr "B"
|
||||
|
||||
msgid "R"
|
||||
msgstr "J"
|
||||
|
||||
msgid "S"
|
||||
msgstr "S"
|
||||
|
||||
msgid "SL"
|
||||
msgstr "BS"
|
||||
|
||||
msgid "SR"
|
||||
msgstr "JS"
|
||||
|
||||
msgid "dB"
|
||||
msgstr "dB"
|
||||
|
||||
msgid "not indicated"
|
||||
msgstr "nincs felt<6C>ntetve"
|
||||
|
||||
msgid "MHz"
|
||||
msgstr "MHz"
|
||||
|
||||
msgid "free"
|
||||
msgstr "szabad"
|
||||
|
||||
msgid "Mbit/s"
|
||||
msgstr "Mbit/s"
|
||||
|
||||
msgid "kbit/s"
|
||||
msgstr "kbit/s"
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: vdr-femon 1.7.10\n"
|
||||
"Project-Id-Version: vdr-femon 1.7.12\n"
|
||||
"Report-Msgid-Bugs-To: <see README>\n"
|
||||
"POT-Creation-Date: 2010-10-10 10:10+0300\n"
|
||||
"PO-Revision-Date: 2010-10-10 10:10+0300\n"
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: vdr-femon 1.7.10\n"
|
||||
"Project-Id-Version: vdr-femon 1.7.12\n"
|
||||
"Report-Msgid-Bugs-To: <see README>\n"
|
||||
"POT-Creation-Date: 2010-10-10 10:10+0300\n"
|
||||
"PO-Revision-Date: 2010-10-10 10:10+0300\n"
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: vdr-femon 1.7.10\n"
|
||||
"Project-Id-Version: vdr-femon 1.7.12\n"
|
||||
"Report-Msgid-Bugs-To: <see README>\n"
|
||||
"POT-Creation-Date: 2010-10-10 10:10+0300\n"
|
||||
"PO-Revision-Date: 2010-10-10 10:10+0300\n"
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: vdr-femon 1.7.10\n"
|
||||
"Project-Id-Version: vdr-femon 1.7.12\n"
|
||||
"Report-Msgid-Bugs-To: <see README>\n"
|
||||
"POT-Creation-Date: 2010-10-10 10:10+0300\n"
|
||||
"PO-Revision-Date: 2010-10-10 10:10+0300\n"
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: vdr-femon 1.7.10\n"
|
||||
"Project-Id-Version: vdr-femon 1.7.12\n"
|
||||
"Report-Msgid-Bugs-To: <see README>\n"
|
||||
"POT-Creation-Date: 2010-10-10 10:10+0300\n"
|
||||
"PO-Revision-Date: 2010-10-10 10:10+0300\n"
|
||||
|
||||
Reference in New Issue
Block a user