Difference between revisions of "Epgsync-plugin"

From VDR Wiki
Jump to: navigation, search
(Problems: new release)
Line 13: Line 13:
  
 
==Problems==
 
==Problems==
===Thread priority===
+
===epgsync-plugin 0.0.1===
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:
+
Everyone who uses 0.0.1 should update. With 0.0.1 you may encounter the following problems:
 
+
* Crash when an unexpected error occurs while syncing (connection broken, buffer full, ...)
--- thread.c.orig      2006-09-20 12:52:36.000000000 +0200
+
* Impact of epgsync due to thread priority (like e.g. dropped frames)
+++ 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===
 
===Buffer size===
Line 33: Line 23:
 
Increase the buffer size to e.g. 32k by editing [[svdrpservice-plugin]]'s connection.h:
 
Increase the buffer size to e.g. 32k by editing [[svdrpservice-plugin]]'s connection.h:
 
  #define BUFFER_SIZE KILOBYTE(32)
 
  #define BUFFER_SIZE KILOBYTE(32)
 +
 
==Links==
 
==Links==
 
{|
 
{|

Revision as of 12:30, 27 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

epgsync-plugin 0.0.1

Everyone who uses 0.0.1 should update. With 0.0.1 you may encounter the following problems:

  • Crash when an unexpected error occurs while syncing (connection broken, buffer full, ...)
  • Impact of epgsync due to thread priority (like e.g. dropped frames)

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