Epgsync-plugin: Difference between revisions

From VDR Wiki
Jump to navigation Jump to search
No edit summary
(→‎Problems: new release)
Line 13: Line 13:


==Problems==
==Problems==
===Thread priority===
===epgsync-plugin 0.0.1===
Everyone who uses 0.0.1 should update. With 0.0.1 you may encounter the following problems:
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:
* Crash when an unexpected error occurs while syncing (connection broken, buffer full, ...)

* Impact of epgsync due to thread priority (like e.g. dropped frames)
--- 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===
===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 10: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