
<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://www.linuxtv.org/vdrwiki/skins/common/feed.css?270"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.linuxtv.org/vdrwiki/index.php?title=Vdr2qiv-plugin&amp;feed=atom&amp;action=history</id>
		<title>Vdr2qiv-plugin - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.linuxtv.org/vdrwiki/index.php?title=Vdr2qiv-plugin&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://www.linuxtv.org/vdrwiki/index.php?title=Vdr2qiv-plugin&amp;action=history"/>
		<updated>2013-05-21T16:48:23Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.16.5</generator>

	<entry>
		<id>http://www.linuxtv.org/vdrwiki/index.php?title=Vdr2qiv-plugin&amp;diff=4379&amp;oldid=prev</id>
		<title>84.136.209.110: vdr2qiv documented</title>
		<link rel="alternate" type="text/html" href="http://www.linuxtv.org/vdrwiki/index.php?title=Vdr2qiv-plugin&amp;diff=4379&amp;oldid=prev"/>
				<updated>2006-08-06T16:16:34Z</updated>
		
		<summary type="html">&lt;p&gt;vdr2qiv documented&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Description==&lt;br /&gt;
&lt;br /&gt;
This plugin has been written for the following scenario: The VDR is connected in the &amp;quot;usual&amp;quot; way to a TV, but&lt;br /&gt;
the TV also has a VGA input to which the videocard of the VDR is connected, running an X server.&lt;br /&gt;
&lt;br /&gt;
One would like to display images using the X server, but keeping all the other functionality the old way.&lt;br /&gt;
The idea of this plugin is to act as a gateway: When loaded, the plugin starts an external image viewer&lt;br /&gt;
and forwards commands received from the remote to the viewer.&lt;br /&gt;
&lt;br /&gt;
Warning: This plugin is a total hack. I only document it here in the hope that it will be useful for someone&lt;br /&gt;
anyway. To get it running some tinkering is required.&lt;br /&gt;
&lt;br /&gt;
==Download==&lt;br /&gt;
&lt;br /&gt;
All required files can be found in this archive: http://www.jan.vornberger.net/sonstiges/vdr2qiv.tar.gz&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
It should be possible to compile and load the plugin like every VDR plugin. The plugin expects to find&lt;br /&gt;
a wrapper script called vdr2qiv.sh in /usr/local/bin/. If you don't like that path, you can change it in&lt;br /&gt;
vdr2qiv.c. Once the plugin is loaded, it starts this wrapper script which in turn starts the external&lt;br /&gt;
image viewer.&lt;br /&gt;
&lt;br /&gt;
For the external image viewer Qiv is used, which the wrapper script expects to find in /usr/local/bin&lt;br /&gt;
under the name &amp;quot;qiv_vdr&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The image viewer has been patched by me as well (as I said, quite a hack *g*) to be able to receive the&lt;br /&gt;
commands from the plugin. To make this possible the process signal USR2 is used, as well as a pipe in&lt;br /&gt;
/video/vdr2qiv.pipe. This pipe has to be created with &amp;quot;mkfifo /video/vdr2qiv.pipe&amp;quot;. Should you want to change&lt;br /&gt;
these paths as well, changes in the plugin as well as the qiv patch are needed.&lt;br /&gt;
&lt;br /&gt;
The Qiv version I used can be download here: http://www.klografx.net/qiv/download/qiv-2.0-src.tgz&lt;br /&gt;
The archive contains a patch that can be applied with &amp;quot;patch &amp;lt; qiv-2.0_vdr.patch&amp;quot;. Qiv can then be compiled&lt;br /&gt;
and the binary copied over to /usr/local/bin/qiv_vdr.&lt;br /&gt;
&lt;br /&gt;
To be able to open the image viewer an X servers needs to be running and the wrapper script&lt;br /&gt;
needs to have the required rights to start and display Qiv.&lt;br /&gt;
&lt;br /&gt;
After loading the plugin it displays a small help site which documents how to control qiv from the remote.&lt;br /&gt;
&lt;br /&gt;
==Conclusion==&lt;br /&gt;
&lt;br /&gt;
Yes, it's a total hack and absolutely tailored to my system (hardcoded paths and the like). But maybe someone&lt;br /&gt;
wants to realize a similar project and this can be a starting point. I'd be glad to hear from someone, so maybe&lt;br /&gt;
you could drop me a quick line at jan@uos.de. That way I'd also know if I should document future hacks or if&lt;br /&gt;
they are just to much focused on my specific situation to be of any use for someone else.&lt;/div&gt;</summary>
		<author><name>84.136.209.110</name></author>	</entry>

	</feed>