mirror of
https://github.com/rofafor/vdr-plugin-iptv.git
synced 2023-10-10 11:37:03 +00:00
Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
04c194ffc7 | ||
|
|
40125dd9bb | ||
|
|
c5a7598544 | ||
|
|
4e8e26a4b3 | ||
|
|
9ec10262d4 | ||
|
|
501701e3d3 | ||
|
|
53b5644973 | ||
|
|
17b4709c30 | ||
|
|
2bff3d0f8f |
6
.gitignore
vendored
Normal file
6
.gitignore
vendored
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
.dependencies
|
||||||
|
*.o
|
||||||
|
*.so
|
||||||
|
*~
|
||||||
|
po/*.pot
|
||||||
|
po/*.mo
|
||||||
11
HISTORY
11
HISTORY
@@ -43,7 +43,7 @@ VDR Plugin 'iptv' Revision History
|
|||||||
|
|
||||||
- Updated for vdr-1.5.15.
|
- Updated for vdr-1.5.15.
|
||||||
- Replaced asprintf with cString.
|
- Replaced asprintf with cString.
|
||||||
- Updated French translation (Thanks to Micha<EFBFBD>l Nival).
|
- Updated French translation (Thanks to Michaël Nival).
|
||||||
- Modified VDR locale support detection.
|
- Modified VDR locale support detection.
|
||||||
- Added preliminary automatic Pid scanning functionality.
|
- Added preliminary automatic Pid scanning functionality.
|
||||||
- Modified channels.conf format to enable/disable channel
|
- Modified channels.conf format to enable/disable channel
|
||||||
@@ -63,3 +63,12 @@ VDR Plugin 'iptv' Revision History
|
|||||||
- Updated vlc2iptv script for new channels.conf format.
|
- Updated vlc2iptv script for new channels.conf format.
|
||||||
- Added pluginparam patch for vdr-1.7.0.
|
- Added pluginparam patch for vdr-1.7.0.
|
||||||
- Added new example scripts from VDR-WIKI.
|
- Added new example scripts from VDR-WIKI.
|
||||||
|
|
||||||
|
2008-10-12: Version 0.2.2
|
||||||
|
|
||||||
|
- Converted HISTORY and fi_FI.po to UTF-8.
|
||||||
|
- Updated Italian translation (Thanks to Diego Pierotto).
|
||||||
|
- Tweaked pid scanner parameters for HD broadcasts.
|
||||||
|
- Fixed opening of fifo tap.
|
||||||
|
- Updated iptvstream.sh script to support optional video resolution settings.
|
||||||
|
- Optimized streamer thread termination.
|
||||||
|
|||||||
2
Makefile
2
Makefile
@@ -120,7 +120,7 @@ dist: clean
|
|||||||
@-rm -rf $(TMPDIR)/$(ARCHIVE)
|
@-rm -rf $(TMPDIR)/$(ARCHIVE)
|
||||||
@mkdir $(TMPDIR)/$(ARCHIVE)
|
@mkdir $(TMPDIR)/$(ARCHIVE)
|
||||||
@cp -a * $(TMPDIR)/$(ARCHIVE)
|
@cp -a * $(TMPDIR)/$(ARCHIVE)
|
||||||
@tar czf $(PACKAGE).tgz -C $(TMPDIR) --exclude CVS $(ARCHIVE)
|
@tar czf $(PACKAGE).tgz -C $(TMPDIR) $(ARCHIVE)
|
||||||
@-rm -rf $(TMPDIR)/$(ARCHIVE)
|
@-rm -rf $(TMPDIR)/$(ARCHIVE)
|
||||||
@echo Distribution package created as $(PACKAGE).tgz
|
@echo Distribution package created as $(PACKAGE).tgz
|
||||||
|
|
||||||
|
|||||||
4
README
4
README
@@ -3,8 +3,8 @@ This is an IPTV plugin for the Video Disk Recorder (VDR).
|
|||||||
Written by: Rolf Ahrenberg
|
Written by: Rolf Ahrenberg
|
||||||
< R o l f . A h r e n b e r g @ s c i . f i >
|
< R o l f . A h r e n b e r g @ s c i . f i >
|
||||||
|
|
||||||
Antti Sepp<EFBFBD>l<EFBFBD>
|
Antti Seppälä
|
||||||
<a j h s e p p a @ n i k s u l a . h u t . f i >
|
< a . s e p p a l a @ g m a i l . c o m >
|
||||||
|
|
||||||
Project's homepage: http://www.saunalahti.fi/~rahrenbe/vdr/iptv/
|
Project's homepage: http://www.saunalahti.fi/~rahrenbe/vdr/iptv/
|
||||||
|
|
||||||
|
|||||||
1
common.c
1
common.c
@@ -3,7 +3,6 @@
|
|||||||
*
|
*
|
||||||
* See the README file for copyright information and how to reach the author.
|
* See the README file for copyright information and how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: common.c,v 1.10 2008/01/30 21:57:33 rahrenbe Exp $
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <vdr/tools.h>
|
#include <vdr/tools.h>
|
||||||
|
|||||||
1
common.h
1
common.h
@@ -3,7 +3,6 @@
|
|||||||
*
|
*
|
||||||
* See the README file for copyright information and how to reach the author.
|
* See the README file for copyright information and how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: common.h,v 1.20 2008/02/17 19:18:47 rahrenbe Exp $
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __IPTV_COMMON_H
|
#ifndef __IPTV_COMMON_H
|
||||||
|
|||||||
1
config.c
1
config.c
@@ -3,7 +3,6 @@
|
|||||||
*
|
*
|
||||||
* See the README file for copyright information and how to reach the author.
|
* See the README file for copyright information and how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: config.c,v 1.21 2008/02/01 21:54:24 rahrenbe Exp $
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|||||||
1
config.h
1
config.h
@@ -3,7 +3,6 @@
|
|||||||
*
|
*
|
||||||
* See the README file for copyright information and how to reach the author.
|
* See the README file for copyright information and how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: config.h,v 1.20 2008/02/01 21:54:24 rahrenbe Exp $
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __IPTV_CONFIG_H
|
#ifndef __IPTV_CONFIG_H
|
||||||
|
|||||||
6
device.c
6
device.c
@@ -3,7 +3,6 @@
|
|||||||
*
|
*
|
||||||
* See the README file for copyright information and how to reach the author.
|
* See the README file for copyright information and how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: device.c,v 1.87 2008/04/02 22:55:04 rahrenbe Exp $
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
@@ -24,7 +23,8 @@ cIptvDevice::cIptvDevice(unsigned int Index)
|
|||||||
pidScanEnabled(false),
|
pidScanEnabled(false),
|
||||||
mutex()
|
mutex()
|
||||||
{
|
{
|
||||||
debug("cIptvDevice::cIptvDevice(%d)\n", deviceIndex);
|
//debug("cIptvDevice::cIptvDevice(%d)\n", deviceIndex);
|
||||||
|
isyslog("creating IPTV device %d (CardIndex=%d)", deviceIndex, CardIndex());
|
||||||
tsBuffer = new cRingBufferLinear(MEGABYTE(IptvConfig.GetTsBufferSize()),
|
tsBuffer = new cRingBufferLinear(MEGABYTE(IptvConfig.GetTsBufferSize()),
|
||||||
(TS_SIZE * IptvConfig.GetReadBufferTsCount()),
|
(TS_SIZE * IptvConfig.GetReadBufferTsCount()),
|
||||||
false, "IPTV");
|
false, "IPTV");
|
||||||
@@ -49,7 +49,7 @@ cIptvDevice::cIptvDevice(unsigned int Index)
|
|||||||
cString filename = cString::sprintf(IPTV_DVR_FILENAME, deviceIndex);
|
cString filename = cString::sprintf(IPTV_DVR_FILENAME, deviceIndex);
|
||||||
stat(filename, &sb);
|
stat(filename, &sb);
|
||||||
if (S_ISFIFO(sb.st_mode)) {
|
if (S_ISFIFO(sb.st_mode)) {
|
||||||
dvrFd = open(filename, O_WRONLY | O_NONBLOCK);
|
dvrFd = open(filename, O_RDWR | O_NONBLOCK);
|
||||||
if (dvrFd >= 0)
|
if (dvrFd >= 0)
|
||||||
dsyslog("IPTV device %d redirecting input stream to '%s'", deviceIndex, *filename);
|
dsyslog("IPTV device %d redirecting input stream to '%s'", deviceIndex, *filename);
|
||||||
}
|
}
|
||||||
|
|||||||
1
device.h
1
device.h
@@ -3,7 +3,6 @@
|
|||||||
*
|
*
|
||||||
* See the README file for copyright information and how to reach the author.
|
* See the README file for copyright information and how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: device.h,v 1.39 2008/02/17 19:18:47 rahrenbe Exp $
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __IPTV_DEVICE_H
|
#ifndef __IPTV_DEVICE_H
|
||||||
|
|||||||
3
iptv.c
3
iptv.c
@@ -3,7 +3,6 @@
|
|||||||
*
|
*
|
||||||
* See the README file for copyright information and how to reach the author.
|
* See the README file for copyright information and how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: iptv.c,v 1.39 2008/03/30 20:25:12 rahrenbe Exp $
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <getopt.h>
|
#include <getopt.h>
|
||||||
@@ -21,7 +20,7 @@
|
|||||||
#error "VDR-1.6.0 API version or greater is required!"
|
#error "VDR-1.6.0 API version or greater is required!"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static const char VERSION[] = "0.2.1";
|
static const char VERSION[] = "0.2.2";
|
||||||
static const char DESCRIPTION[] = trNOOP("Experience the IPTV");
|
static const char DESCRIPTION[] = trNOOP("Experience the IPTV");
|
||||||
|
|
||||||
class cPluginIptv : public cPlugin {
|
class cPluginIptv : public cPlugin {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
# iptvstream.sh can be used by the VDR iptv plugin to transcode external
|
# iptvstream.sh can be used by the VDR iptv plugin to transcode external
|
||||||
# sources
|
# sources
|
||||||
#
|
#
|
||||||
# (C) 2007 Rolf Ahrenberg, Antti Sepp<EFBFBD>l<EFBFBD>
|
# (C) 2007 Rolf Ahrenberg, Antti Seppälä
|
||||||
#
|
#
|
||||||
# iptvstream.sh is free software; you can redistribute it and/or modify
|
# iptvstream.sh is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@@ -31,8 +31,10 @@ PARAMETER=${1}
|
|||||||
# Iptv plugin listens this port
|
# Iptv plugin listens this port
|
||||||
PORT=${2}
|
PORT=${2}
|
||||||
|
|
||||||
# Default bitrates for stream transcoding
|
# Default settings for stream transcoding
|
||||||
|
VCODEC=mp2v
|
||||||
VBITRATE=2400
|
VBITRATE=2400
|
||||||
|
ACODEC=mpga
|
||||||
ABITRATE=320
|
ABITRATE=320
|
||||||
|
|
||||||
# There is a way to specify multiple URLs in the same script. The selection is
|
# There is a way to specify multiple URLs in the same script. The selection is
|
||||||
@@ -40,6 +42,8 @@ ABITRATE=320
|
|||||||
case ${PARAMETER} in
|
case ${PARAMETER} in
|
||||||
1)
|
1)
|
||||||
URL=""
|
URL=""
|
||||||
|
WIDTH=720
|
||||||
|
HEIGHT=576
|
||||||
;;
|
;;
|
||||||
2)
|
2)
|
||||||
URL=""
|
URL=""
|
||||||
@@ -57,13 +61,19 @@ if [ -z "${URL}" ]; then
|
|||||||
exit 1;
|
exit 1;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Create transcoding options
|
||||||
|
TRANSCODE_OPTS="vcodec=${VCODEC},acodec=${ACODEC},vb=${VBITRATE},ab=${ABITRATE}"
|
||||||
|
if [ -n "${WIDTH}" -a -n "${HEIGHT}" ] ; then
|
||||||
|
TRANSCODE_OPTS="${TRANSCODE_OPTS},width=${WIDTH},height=${HEIGHT}"
|
||||||
|
fi
|
||||||
|
|
||||||
# Create unique pids for the stream
|
# Create unique pids for the stream
|
||||||
let VPID=${PARAMETER}+1
|
let VPID=${PARAMETER}+1
|
||||||
let APID=${PARAMETER}+2
|
let APID=${PARAMETER}+2
|
||||||
let SPID=${PARAMETER}+3
|
let SPID=${PARAMETER}+3
|
||||||
|
|
||||||
# Capture VLC pid for further management in IPTV plugin
|
# Capture VLC pid for further management in IPTV plugin
|
||||||
vlc "${URL}" --sout "#transcode{vcodec=mp2v,acodec=mpga,vb=${VBITRATE},ab=${ABITRATE}}:standard{access=udp,mux=ts{pid-video=${VPID},pid-audio=${APID},pid-spu=${SPID}},dst=127.0.0.1:${PORT}}" --intf dummy &
|
vlc "${URL}" --sout "#transcode{${TRANSCODE_OPTS}}:standard{access=udp,mux=ts{pid-video=${VPID},pid-audio=${APID},pid-spu=${SPID}},dst=127.0.0.1:${PORT}}" --intf dummy &
|
||||||
|
|
||||||
PID=${!}
|
PID=${!}
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
#
|
#
|
||||||
# vlc2iptv is used by the VDR iptv plugin to transcode external sources
|
# vlc2iptv is used by the VDR iptv plugin to transcode external sources
|
||||||
#
|
#
|
||||||
# (C) 2007 Rolf Ahrenberg, Antti Sepp<EFBFBD>l<EFBFBD>
|
# (C) 2007 Rolf Ahrenberg, Antti Seppälä
|
||||||
# (C) 2007 Tobias Grimm
|
# (C) 2007 Tobias Grimm
|
||||||
#
|
#
|
||||||
# vlc2iptv is free software; you can redistribute it and/or modify
|
# vlc2iptv is free software; you can redistribute it and/or modify
|
||||||
|
|||||||
@@ -3,16 +3,15 @@
|
|||||||
*
|
*
|
||||||
* See the README file for copyright information and how to reach the author.
|
* See the README file for copyright information and how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: pidscanner.c,v 1.7 2008/04/02 22:55:04 rahrenbe Exp $
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
#include "pidscanner.h"
|
#include "pidscanner.h"
|
||||||
|
|
||||||
#define PIDSCANNER_TIMEOUT_IN_MS 15000 /* 15s timeout for detection */
|
#define PIDSCANNER_TIMEOUT_IN_MS 15000 /* 15s timeout for detection */
|
||||||
#define PIDSCANNER_APID_COUNT 10 /* minimum count of audio pid samples for pid detection */
|
#define PIDSCANNER_APID_COUNT 5 /* minimum count of audio pid samples for pid detection */
|
||||||
#define PIDSCANNER_VPID_COUNT 10 /* minimum count of video pid samples for pid detection */
|
#define PIDSCANNER_VPID_COUNT 5 /* minimum count of video pid samples for pid detection */
|
||||||
#define PIDSCANNER_PID_DELTA_COUNT 50 /* minimum count of pid samples for audio/video only pid detection */
|
#define PIDSCANNER_PID_DELTA_COUNT 100 /* minimum count of pid samples for audio/video only pid detection */
|
||||||
|
|
||||||
cPidScanner::cPidScanner(void)
|
cPidScanner::cPidScanner(void)
|
||||||
: timeout(0),
|
: timeout(0),
|
||||||
|
|||||||
@@ -3,7 +3,6 @@
|
|||||||
*
|
*
|
||||||
* See the README file for copyright information and how to reach the author.
|
* See the README file for copyright information and how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: pidscanner.h,v 1.3 2008/02/02 20:51:47 rahrenbe Exp $
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __PIDSCANNER_H
|
#ifndef __PIDSCANNER_H
|
||||||
|
|||||||
38
po/fi_FI.po
38
po/fi_FI.po
@@ -12,7 +12,7 @@ msgstr ""
|
|||||||
"Last-Translator: Rolf Ahrenberg\n"
|
"Last-Translator: Rolf Ahrenberg\n"
|
||||||
"Language-Team: <vdr@linuxtv.org>\n"
|
"Language-Team: <vdr@linuxtv.org>\n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=ISO-8859-15\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
|
||||||
msgid "PAT (0x00)"
|
msgid "PAT (0x00)"
|
||||||
@@ -79,13 +79,13 @@ msgid "Nid"
|
|||||||
msgstr "Verkko-ID"
|
msgstr "Verkko-ID"
|
||||||
|
|
||||||
msgid "Tid"
|
msgid "Tid"
|
||||||
msgstr "L<EFBFBD>hete-ID"
|
msgstr "Lähete-ID"
|
||||||
|
|
||||||
msgid "Rid"
|
msgid "Rid"
|
||||||
msgstr "Radio-ID"
|
msgstr "Radio-ID"
|
||||||
|
|
||||||
msgid "Cannot find unique channel settings!"
|
msgid "Cannot find unique channel settings!"
|
||||||
msgstr "Yksil<EFBFBD>llisi<EFBFBD> kanava-asetuksia ei l<EFBFBD>ydet<EFBFBD>!"
|
msgstr "Yksilöllisiä kanava-asetuksia ei löydetä!"
|
||||||
|
|
||||||
msgid "IPTV Channels"
|
msgid "IPTV Channels"
|
||||||
msgstr "IPTV-kanavat"
|
msgstr "IPTV-kanavat"
|
||||||
@@ -116,21 +116,21 @@ msgid ""
|
|||||||
"\n"
|
"\n"
|
||||||
"Smaller sizes help memory consumption, but are more prone to buffer overflows."
|
"Smaller sizes help memory consumption, but are more prone to buffer overflows."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"M<EFBFBD><EFBFBD>rit<EFBFBD> rengaspuskurin koko TS-l<EFBFBD>hetteelle megatavuina.\n"
|
"Määritä rengaspuskurin koko TS-lähetteelle megatavuina.\n"
|
||||||
"\n"
|
"\n"
|
||||||
"Pienempi rengaspuskuri v<EFBFBD>hent<EFBFBD><EFBFBD> muistinkulutusta, mutta on virhealttiimpi puskurin ylivuodolle."
|
"Pienempi rengaspuskuri vähentää muistinkulutusta, mutta on virhealttiimpi puskurin ylivuodolle."
|
||||||
|
|
||||||
msgid "TS buffer prefill ratio [%]"
|
msgid "TS buffer prefill ratio [%]"
|
||||||
msgstr "TS-puskurin esit<EFBFBD>ytt<EFBFBD>aste [%]"
|
msgstr "TS-puskurin esitäyttöaste [%]"
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"Define a prefill ratio of the ringbuffer for transport streams before data is transferred to VDR.\n"
|
"Define a prefill ratio of the ringbuffer for transport streams before data is transferred to VDR.\n"
|
||||||
"\n"
|
"\n"
|
||||||
"This is useful if streaming media over a slow or unreliable connection."
|
"This is useful if streaming media over a slow or unreliable connection."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"M<EFBFBD><EFBFBD>rittele TS-rengaspuskurin esit<EFBFBD>ytt<EFBFBD>aste, jonka j<EFBFBD>lkeen l<EFBFBD>hetett<EFBFBD> aletaan siirt<EFBFBD>m<EFBFBD><EFBFBD>n eteenp<EFBFBD>in VDR:lle.\n"
|
"Määrittele TS-rengaspuskurin esitäyttöaste, jonka jälkeen lähetettä aletaan siirtämään eteenpäin VDR:lle.\n"
|
||||||
"\n"
|
"\n"
|
||||||
"Puskurin esit<EFBFBD>ytt<EFBFBD> parantaa suoratoistoa hitailla ja ep<EFBFBD>luotettavilla yhteyksill<EFBFBD>."
|
"Puskurin esitäyttö parantaa suoratoistoa hitailla ja epäluotettavilla yhteyksillä."
|
||||||
|
|
||||||
msgid "EXT protocol base port"
|
msgid "EXT protocol base port"
|
||||||
msgstr "EXT-protokollan perusportti"
|
msgstr "EXT-protokollan perusportti"
|
||||||
@@ -140,12 +140,12 @@ msgid ""
|
|||||||
"\n"
|
"\n"
|
||||||
"The port range is defined by the number of IPTV devices. This setting sets the port which is listened for connections from external applications when using the EXT protocol."
|
"The port range is defined by the number of IPTV devices. This setting sets the port which is listened for connections from external applications when using the EXT protocol."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"M<EFBFBD><EFBFBD>rittele EXT-protokollan k<EFBFBD>ytt<EFBFBD>m<EFBFBD> perusportti.\n"
|
"Määrittele EXT-protokollan käyttämä perusportti.\n"
|
||||||
"\n"
|
"\n"
|
||||||
"Porttiavaruuden koko m<EFBFBD><EFBFBD>r<EFBFBD>ytyy k<EFBFBD>ytettyjen IPTV-laitteiden mukaan. Laajennos lukee EXT-protokollan yhteydess<EFBFBD> perusportista dataa, jota ulkoiset ohjelmistot tarjoavat."
|
"Porttiavaruuden koko määräytyy käytettyjen IPTV-laitteiden mukaan. Laajennos lukee EXT-protokollan yhteydessä perusportista dataa, jota ulkoiset ohjelmistot tarjoavat."
|
||||||
|
|
||||||
msgid "Use section filtering"
|
msgid "Use section filtering"
|
||||||
msgstr "K<EFBFBD>yt<EFBFBD> sektioiden suodatusta"
|
msgstr "Käytä sektioiden suodatusta"
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"Define whether the section filtering shall be used.\n"
|
"Define whether the section filtering shall be used.\n"
|
||||||
@@ -153,29 +153,29 @@ msgid ""
|
|||||||
"Section filtering means that IPTV plugin tries to parse and provide VDR with secondary data about the currently active stream. VDR can then use this data for providing various functionalities such as automatic pid change detection and EPG etc.\n"
|
"Section filtering means that IPTV plugin tries to parse and provide VDR with secondary data about the currently active stream. VDR can then use this data for providing various functionalities such as automatic pid change detection and EPG etc.\n"
|
||||||
"Enabling this feature does not affect streams that do not contain section data."
|
"Enabling this feature does not affect streams that do not contain section data."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"M<EFBFBD><EFBFBD>rittele suodatuksen k<EFBFBD>ytt<EFBFBD> sektioille.\n"
|
"Määrittele suodatuksen käyttö sektioille.\n"
|
||||||
"\n"
|
"\n"
|
||||||
"IPTV-laajennos voi suodattaa l<EFBFBD>hetteest<EFBFBD> VDR:lle tarjottavia sektioita, joita k<EFBFBD>ytet<EFBFBD><EFBFBD>n esim. ohjelmaoppaan ja ohjelmatunnisteiden (PID) p<EFBFBD>ivitt<EFBFBD>miseen.\n"
|
"IPTV-laajennos voi suodattaa lähetteestä VDR:lle tarjottavia sektioita, joita käytetään esim. ohjelmaoppaan ja ohjelmatunnisteiden (PID) päivittämiseen.\n"
|
||||||
"Toiminto ei vaikuta l<EFBFBD>hetteeseen, jossa ei ole sektioita."
|
"Toiminto ei vaikuta lähetteeseen, jossa ei ole sektioita."
|
||||||
|
|
||||||
msgid "Disable filters"
|
msgid "Disable filters"
|
||||||
msgstr "Poista suodattimia k<EFBFBD>yt<EFBFBD>st<EFBFBD>"
|
msgstr "Poista suodattimia käytöstä"
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"Define number of section filters to be disabled.\n"
|
"Define number of section filters to be disabled.\n"
|
||||||
"\n"
|
"\n"
|
||||||
"Certain section filters might cause some unwanted behaviour to VDR such as time being falsely synchronized. By black-listing the filters here useful section data can be left intact for VDR to process."
|
"Certain section filters might cause some unwanted behaviour to VDR such as time being falsely synchronized. By black-listing the filters here useful section data can be left intact for VDR to process."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"M<EFBFBD><EFBFBD>rittele k<EFBFBD>yt<EFBFBD>st<EFBFBD> poistettavien suodattimien lukum<EFBFBD><EFBFBD>r<EFBFBD> sektioille.\n"
|
"Määrittele käytöstä poistettavien suodattimien lukumäärä sektioille.\n"
|
||||||
"\n"
|
"\n"
|
||||||
"Tietyt sektiot saattavat aiheuttaa virheellist<EFBFBD> toimintaa VDR:ss<EFBFBD>, esimerkiksi asettavat v<EFBFBD><EFBFBD>r<EFBFBD>n kellonajan, ja n<EFBFBD>iden poistaminen auttaa VDR:<EFBFBD><EFBFBD> toimimaan kunnolla j<EFBFBD>ljelle j<EFBFBD><EFBFBD>vien sektioiden kanssa."
|
"Tietyt sektiot saattavat aiheuttaa virheellistä toimintaa VDR:ssä, esimerkiksi asettavat väärän kellonajan, ja näiden poistaminen auttaa VDR:ää toimimaan kunnolla jäljelle jäävien sektioiden kanssa."
|
||||||
|
|
||||||
#. TRANSLATORS: note the singular!
|
#. TRANSLATORS: note the singular!
|
||||||
msgid "Disable filter"
|
msgid "Disable filter"
|
||||||
msgstr "Poista suodatin k<EFBFBD>yt<EFBFBD>st<EFBFBD>"
|
msgstr "Poista suodatin käytöstä"
|
||||||
|
|
||||||
msgid "Define an ill-behaving filter to be blacklisted."
|
msgid "Define an ill-behaving filter to be blacklisted."
|
||||||
msgstr "M<EFBFBD><EFBFBD>rittele k<EFBFBD>yt<EFBFBD>st<EFBFBD> poistettava suodatin, joka lis<EFBFBD>t<EFBFBD><EFBFBD>n mustalle listalle."
|
msgstr "Määrittele käytöstä poistettava suodatin, joka lisätään mustalle listalle."
|
||||||
|
|
||||||
msgid "Help"
|
msgid "Help"
|
||||||
msgstr "Opaste"
|
msgstr "Opaste"
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ msgstr ""
|
|||||||
"Project-Id-Version: iptv 0.2.0\n"
|
"Project-Id-Version: iptv 0.2.0\n"
|
||||||
"Report-Msgid-Bugs-To: Rolf Ahrenberg\n"
|
"Report-Msgid-Bugs-To: Rolf Ahrenberg\n"
|
||||||
"POT-Creation-Date: 2008-02-01 23:43+0200\n"
|
"POT-Creation-Date: 2008-02-01 23:43+0200\n"
|
||||||
"PO-Revision-Date: 2008-03-30 05:26+0100\n"
|
"PO-Revision-Date: 2008-07-13 03:28+0100\n"
|
||||||
"Last-Translator: Diego Pierotto <vdr-italian@tiscali.it>\n"
|
"Last-Translator: Diego Pierotto <vdr-italian@tiscali.it>\n"
|
||||||
"Language-Team: Italian\n"
|
"Language-Team: Italian\n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
@@ -122,7 +122,7 @@ msgstr ""
|
|||||||
"Dimensioni più piccole aiutano il consumo di memoria, ma sono più inclini a generare buffer overflows."
|
"Dimensioni più piccole aiutano il consumo di memoria, ma sono più inclini a generare buffer overflows."
|
||||||
|
|
||||||
msgid "TS buffer prefill ratio [%]"
|
msgid "TS buffer prefill ratio [%]"
|
||||||
msgstr "Percentuale riempimento buffer TS [%]"
|
msgstr "Riempimento buffer TS [%]"
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"Define a prefill ratio of the ringbuffer for transport streams before data is transferred to VDR.\n"
|
"Define a prefill ratio of the ringbuffer for transport streams before data is transferred to VDR.\n"
|
||||||
|
|||||||
@@ -3,7 +3,6 @@
|
|||||||
*
|
*
|
||||||
* See the README file for copyright information and how to reach the author.
|
* See the README file for copyright information and how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: protocolext.c,v 1.24 2008/02/17 19:18:47 rahrenbe Exp $
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/wait.h>
|
#include <sys/wait.h>
|
||||||
|
|||||||
@@ -3,7 +3,6 @@
|
|||||||
*
|
*
|
||||||
* See the README file for copyright information and how to reach the author.
|
* See the README file for copyright information and how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: protocolext.h,v 1.10 2008/02/17 19:18:47 rahrenbe Exp $
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __IPTV_PROTOCOLEXT_H
|
#ifndef __IPTV_PROTOCOLEXT_H
|
||||||
|
|||||||
@@ -3,7 +3,6 @@
|
|||||||
*
|
*
|
||||||
* See the README file for copyright information and how to reach the author.
|
* See the README file for copyright information and how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: protocolfile.c,v 1.15 2008/01/04 23:36:37 ajhseppa Exp $
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
|||||||
@@ -3,7 +3,6 @@
|
|||||||
*
|
*
|
||||||
* See the README file for copyright information and how to reach the author.
|
* See the README file for copyright information and how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: protocolfile.h,v 1.8 2008/01/04 23:36:37 ajhseppa Exp $
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __IPTV_PROTOCOLFILE_H
|
#ifndef __IPTV_PROTOCOLFILE_H
|
||||||
|
|||||||
@@ -3,7 +3,6 @@
|
|||||||
*
|
*
|
||||||
* See the README file for copyright information and how to reach the author.
|
* See the README file for copyright information and how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: protocolhttp.c,v 1.25 2008/04/02 22:55:04 rahrenbe Exp $
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|||||||
@@ -3,7 +3,6 @@
|
|||||||
*
|
*
|
||||||
* See the README file for copyright information and how to reach the author.
|
* See the README file for copyright information and how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: protocolhttp.h,v 1.12 2008/01/04 23:36:37 ajhseppa Exp $
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __IPTV_PROTOCOLHTTP_H
|
#ifndef __IPTV_PROTOCOLHTTP_H
|
||||||
|
|||||||
@@ -3,7 +3,6 @@
|
|||||||
*
|
*
|
||||||
* See the README file for copyright information and how to reach the author.
|
* See the README file for copyright information and how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: protocolif.h,v 1.8 2008/01/30 21:57:33 rahrenbe Exp $
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __IPTV_PROTOCOLIF_H
|
#ifndef __IPTV_PROTOCOLIF_H
|
||||||
|
|||||||
@@ -3,7 +3,6 @@
|
|||||||
*
|
*
|
||||||
* See the README file for copyright information and how to reach the author.
|
* See the README file for copyright information and how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: protocoludp.c,v 1.22 2008/01/04 23:36:37 ajhseppa Exp $
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|||||||
@@ -3,7 +3,6 @@
|
|||||||
*
|
*
|
||||||
* See the README file for copyright information and how to reach the author.
|
* See the README file for copyright information and how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: protocoludp.h,v 1.13 2008/01/04 23:36:37 ajhseppa Exp $
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __IPTV_PROTOCOLUDP_H
|
#ifndef __IPTV_PROTOCOLUDP_H
|
||||||
|
|||||||
@@ -3,7 +3,6 @@
|
|||||||
*
|
*
|
||||||
* See the README file for copyright information and how to reach the author.
|
* See the README file for copyright information and how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: sectionfilter.c,v 1.19 2008/02/17 19:18:47 rahrenbe Exp $
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "sectionfilter.h"
|
#include "sectionfilter.h"
|
||||||
|
|||||||
@@ -3,7 +3,6 @@
|
|||||||
*
|
*
|
||||||
* See the README file for copyright information and how to reach the author.
|
* See the README file for copyright information and how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: sectionfilter.h,v 1.8 2008/02/17 19:18:47 rahrenbe Exp $
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __IPTV_SECTIONFILTER_H
|
#ifndef __IPTV_SECTIONFILTER_H
|
||||||
|
|||||||
1
setup.c
1
setup.c
@@ -3,7 +3,6 @@
|
|||||||
*
|
*
|
||||||
* See the README file for copyright information and how to reach the author.
|
* See the README file for copyright information and how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: setup.c,v 1.58 2008/04/02 20:22:48 rahrenbe Exp $
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|||||||
1
setup.h
1
setup.h
@@ -3,7 +3,6 @@
|
|||||||
*
|
*
|
||||||
* See the README file for copyright information and how to reach the author.
|
* See the README file for copyright information and how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: setup.h,v 1.21 2008/02/19 22:29:02 rahrenbe Exp $
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __IPTV_SETUP_H
|
#ifndef __IPTV_SETUP_H
|
||||||
|
|||||||
@@ -3,7 +3,6 @@
|
|||||||
*
|
*
|
||||||
* See the README file for copyright information and how to reach the author.
|
* See the README file for copyright information and how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: sidscanner.c,v 1.1 2007/10/01 18:14:57 rahrenbe Exp $
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <libsi/section.h>
|
#include <libsi/section.h>
|
||||||
|
|||||||
@@ -3,7 +3,6 @@
|
|||||||
*
|
*
|
||||||
* See the README file for copyright information and how to reach the author.
|
* See the README file for copyright information and how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: sidscanner.h,v 1.1 2007/10/01 18:14:57 rahrenbe Exp $
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __SIDSCANNER_H
|
#ifndef __SIDSCANNER_H
|
||||||
|
|||||||
1
socket.c
1
socket.c
@@ -3,7 +3,6 @@
|
|||||||
*
|
*
|
||||||
* See the README file for copyright information and how to reach the author.
|
* See the README file for copyright information and how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: socket.c,v 1.7 2008/01/30 21:57:33 rahrenbe Exp $
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|||||||
1
socket.h
1
socket.h
@@ -3,7 +3,6 @@
|
|||||||
*
|
*
|
||||||
* See the README file for copyright information and how to reach the author.
|
* See the README file for copyright information and how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: socket.h,v 1.3 2007/10/21 19:32:15 ajhseppa Exp $
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __IPTV_SOCKET_H
|
#ifndef __IPTV_SOCKET_H
|
||||||
|
|||||||
@@ -3,7 +3,6 @@
|
|||||||
*
|
*
|
||||||
* See the README file for copyright information and how to reach the author.
|
* See the README file for copyright information and how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: statistics.c,v 1.22 2008/01/19 21:08:03 ajhseppa Exp $
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
|||||||
@@ -3,7 +3,6 @@
|
|||||||
*
|
*
|
||||||
* See the README file for copyright information and how to reach the author.
|
* See the README file for copyright information and how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: statistics.h,v 1.11 2008/01/19 21:08:03 ajhseppa Exp $
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __IPTV_STATISTICS_H
|
#ifndef __IPTV_STATISTICS_H
|
||||||
|
|||||||
@@ -3,7 +3,6 @@
|
|||||||
*
|
*
|
||||||
* See the README file for copyright information and how to reach the author.
|
* See the README file for copyright information and how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: streamer.c,v 1.33 2008/04/04 20:55:44 rahrenbe Exp $
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <vdr/thread.h>
|
#include <vdr/thread.h>
|
||||||
@@ -46,11 +45,11 @@ void cIptvStreamer::Action(void)
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
mutex->Unlock();
|
mutex->Unlock();
|
||||||
cCondWait::SleepMs(100); // to reduce cpu load
|
sleep.Wait(100); // to reduce cpu load
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
cCondWait::SleepMs(100); // and avoid busy loop
|
sleep.Wait(100); // and avoid busy loop
|
||||||
}
|
}
|
||||||
debug("cIptvStreamer::Action(): Exiting\n");
|
debug("cIptvStreamer::Action(): Exiting\n");
|
||||||
}
|
}
|
||||||
@@ -70,6 +69,7 @@ bool cIptvStreamer::Close(void)
|
|||||||
{
|
{
|
||||||
debug("cIptvStreamer::Close()\n");
|
debug("cIptvStreamer::Close()\n");
|
||||||
// Stop thread
|
// Stop thread
|
||||||
|
sleep.Signal();
|
||||||
if (Running())
|
if (Running())
|
||||||
Cancel(3);
|
Cancel(3);
|
||||||
// Close the protocol. A mutex should be taken here to avoid a race condition
|
// Close the protocol. A mutex should be taken here to avoid a race condition
|
||||||
|
|||||||
@@ -3,7 +3,6 @@
|
|||||||
*
|
*
|
||||||
* See the README file for copyright information and how to reach the author.
|
* See the README file for copyright information and how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: streamer.h,v 1.16 2008/04/04 20:55:44 rahrenbe Exp $
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __IPTV_STREAMER_H
|
#ifndef __IPTV_STREAMER_H
|
||||||
@@ -21,6 +20,7 @@ class cIptvStreamer : public cThread, public cIptvStreamerStatistics {
|
|||||||
private:
|
private:
|
||||||
cRingBufferLinear* ringBuffer;
|
cRingBufferLinear* ringBuffer;
|
||||||
cMutex* mutex;
|
cMutex* mutex;
|
||||||
|
cCondWait sleep;
|
||||||
unsigned char* readBuffer;
|
unsigned char* readBuffer;
|
||||||
unsigned int readBufferLen;
|
unsigned int readBufferLen;
|
||||||
cIptvProtocolIf* protocol;
|
cIptvProtocolIf* protocol;
|
||||||
|
|||||||
Reference in New Issue
Block a user