Difference between revisions of "Epgsync-plugin"

From VDR Wiki
Jump to: navigation, search
Line 1: Line 1:
 
==Description==
 
==Description==
 
<!-- [[Image:(missing)-plugin.jpg|thumb|Screenshot]] -->
 
<!-- [[Image:(missing)-plugin.jpg|thumb|Screenshot]] -->
 +
Imports the [[EPG]] of an other VDR using the [[Svdrp]] protocol. For connecting the [[svdrpservice-plugin]] is used which has to be installed along with epgsync.
  
 +
The actual import runs as a background thread. You can start the thread from the main menu or automatically whenever the plugin is started.
 
<!-- ==Hardware requirements== -->
 
<!-- ==Hardware requirements== -->
  
 
==Software requirements==
 
==Software requirements==
 +
[[svdrpservice-plugin]] >= 0.0.2
  
 
==Installation==
 
==Installation==
 
See [[plugin installation]]
 
See [[plugin installation]]
  
<!-- ==Problems== -->
+
==Problems==
 +
===Thread priority===
 +
On some systems even the slow channel-by-channel import seems to affect the live picture. Try the following patch to reduce the thread priority:
  
 +
--- thread.c.orig      2006-09-20 12:52:36.000000000 +0200
 +
+++ thread.c    2006-09-20 12:53:08.000000000 +0200
 +
@@ -12,6 +12,8 @@
 +
  #define EPGSYNC_SLEEPMS 30
 +
 +
  void cEpgSyncThread::Action() {
 +
+        SetPriority(15);
 +
+
 +
        plugin = cPluginManager::GetPlugin("svdrpservice");
 +
        if (!plugin) {
 +
                esyslog("EpgSync: Plugin svdrpservice not available");
 +
 +
===Buffer size===
 +
Large EPG entries might exceed the internal buffer size. The log will show something like
 +
svdrpservice: line too long in reply from ...
 +
Increase the buffer size to e.g. 32k by editing [[svdrpservice-plugin]]'s connection.h:
 +
#define BUFFER_SIZE KILOBYTE(32)
 
==Links==
 
==Links==
 
{|
 
{|

Revision as of 12:41, 21 September 2006

Description

Imports the EPG of an other VDR using the Svdrp protocol. For connecting the svdrpservice-plugin is used which has to be installed along with epgsync.

The actual import runs as a background thread. You can start the thread from the main menu or automatically whenever the plugin is started.

Software requirements

svdrpservice-plugin >= 0.0.2

Installation

See plugin installation

Problems

Thread priority

On some systems even the slow channel-by-channel import seems to affect the live picture. Try the following patch to reduce the thread priority:

--- thread.c.orig       2006-09-20 12:52:36.000000000 +0200
+++ thread.c    2006-09-20 12:53:08.000000000 +0200
@@ -12,6 +12,8 @@
 #define EPGSYNC_SLEEPMS 30

 void cEpgSyncThread::Action() {
+        SetPriority(15);
+
        plugin = cPluginManager::GetPlugin("svdrpservice");
        if (!plugin) {
                esyslog("EpgSync: Plugin svdrpservice not available");

Buffer size

Large EPG entries might exceed the internal buffer size. The log will show something like

svdrpservice: line too long in reply from ...

Increase the buffer size to e.g. 32k by editing svdrpservice-plugin's connection.h:

#define BUFFER_SIZE KILOBYTE(32)

Links

[1] http://vdr.schmirler.de/ Plugin homepage