Bgprocess-plugin
Aus VDR Wiki
(Unterschied zwischen Versionen)
(→Patches) |
|||
| Zeile 45: | Zeile 45: | ||
===Patches=== | ===Patches=== | ||
| − | < | + | <pre> |
diff -ruN bgprocess-0.1.0.org/bgprocess.c bgprocess-0.1.0/bgprocess.c | diff -ruN bgprocess-0.1.0.org/bgprocess.c bgprocess-0.1.0/bgprocess.c | ||
--- bgprocess-0.1.0.org/bgprocess.c 2008-06-23 22:14:15.000000000 +0200 | --- bgprocess-0.1.0.org/bgprocess.c 2008-06-23 22:14:15.000000000 +0200 | ||
Version vom 18. September 2008, 18:39 Uhr
Inhaltsverzeichnis |
Beschreibung
Autor(en):
Mit dem Plugin ist es möglich, via SVDRP eine Statusanzeige an das OSD zu senden.
Syntax wie folgt.
<NAME> <STARTTIME> <PROZENTZAHL> <BESCHREIBUNG>
- NAME = Anzeige im OSD (links)
- STARTTIME = Identifier, für jeden weiteren Aufruf
- PROZENTZAHL = Wert für den Statusbalken
- BESCHREIBUNG = Anzeige im OSD (rechts)
Einfaches Beispiel:
shell> TIMESTAMP=$(date +%s) shell> svdrpsend.pl plug bgprocess process test $TIMESTAMP 1 test shell> svdrpsend.pl plug bgprocess process test $TIMESTAMP 10 test shell> svdrpsend.pl plug bgprocess process test $TIMESTAMP 101 test
Letzte Zeile beendet, den entsprechenden Status.
Bilder
Patches
diff -ruN bgprocess-0.1.0.org/bgprocess.c bgprocess-0.1.0/bgprocess.c
--- bgprocess-0.1.0.org/bgprocess.c 2008-06-23 22:14:15.000000000 +0200
+++ bgprocess-0.1.0/bgprocess.c 2008-08-16 07:25:18.000000000 +0200
@@ -152,7 +152,6 @@
bool cPluginBgprocess::Initialize(void)
{
// Initialize any background activities the plugin shall perform.
- RegisterI18n(tlPhrases);
return true;
}