Bgprocess-plugin
Aus VDR Wiki
(Unterschied zwischen Versionen)
(→Patches) |
Wirbel (Diskussion | Beiträge) |
||
| (12 dazwischenliegende Versionen von 4 Benutzern werden nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
==Beschreibung== | ==Beschreibung== | ||
| − | '''Autor | + | '''Autor:''' |
Mit dem Plugin ist es möglich, via [[SVDRP]] eine Statusanzeige an das [[OSD]] zu senden. | Mit dem Plugin ist es möglich, via [[SVDRP]] eine Statusanzeige an das [[OSD]] zu senden. | ||
| + | ===Status=== | ||
| + | Letztes Update 07/2008 | ||
| + | |||
| + | ==Bilder== | ||
| + | {| | ||
| + | |[[Bild:bgprocess-plugin-00.jpg|thumb|none|''kurze beschreibung'']] | ||
| + | |[[Bild:bgprocess-plugin-01.jpg|thumb|none|''kurze beschreibung'']] | ||
| + | |} | ||
| + | |||
| + | ==[[SVDRP]] Befehle== | ||
Syntax wie folgt. | Syntax wie folgt. | ||
| Zeile 24: | Zeile 34: | ||
</pre> | </pre> | ||
| − | Letzte Zeile beendet | + | Letzte Zeile beendet den entsprechenden Status. |
| − | + | ==Patches== | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
<pre> | <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 | ||
| Zeile 58: | Zeile 50: | ||
</pre> | </pre> | ||
| − | < | + | Der tlphrases-Patch ist nicht vollständig |
| − | < | + | <pre> |
| − | + | diff --git a/i18n.h b/i18n.h | |
| + | index ee84e4c..c625a5e 100644 | ||
| + | --- a/i18n.h | ||
| + | +++ b/i18n.h | ||
| + | @@ -13,6 +13,8 @@ | ||
| + | #include <vdr/i18n.h> | ||
| + | #include <vdr/config.h> // for VDRVERSNUM define only | ||
| + | |||
| + | +#if VDRVERSNUM < 10507 | ||
| + | extern const tI18nPhrase tlPhrases[]; | ||
| + | +#endif | ||
| + | |||
| + | #endif //_I18N__H | ||
| + | </pre> | ||
| + | |||
| + | An einer Stelle ist eine Klammer falsch gesetzt: | ||
| + | <pre> | ||
| + | diff --git a/bgprocess.c b/bgprocess.c | ||
| + | index 69206bb..eff2a10 100644 | ||
| + | --- a/bgprocess.c | ||
| + | +++ b/bgprocess.c | ||
| + | @@ -330,7 +330,7 @@ void BgProcessMenu::ShowBgProcesses() | ||
| + | Clear(); | ||
| + | if (iter == bgProcessList.end() && CompletedList.size()==0) | ||
| + | { | ||
| + | - Add(new cOsdItem(" "),osUnknown,false); | ||
| + | + Add(new cOsdItem(" ",osUnknown,false)); | ||
| + | Add(new cOsdItem(tr(" No background process running"),osUnknown,false)); | ||
| + | } | ||
| + | for (; iter != bgProcessList.end(); iter++) | ||
| + | </pre> | ||
| − | + | ==Aktuelle Version== | |
| − | + | [http://ftp.uni-kl.de/pub/linux/gentoo/distfiles/vdr-bgprocess-0.1.0.tgz 0.1.0] | |
| − | + | ||
| − | + | ||
| − | + | ||
==Links== | ==Links== | ||
| − | # | + | # https://raw.github.com/CReimer/vdr4arch/master/plugins/vdr-bgprocess/bgprocess-osditem-fix.diff benötigte Patches für VDR 1.7.x |
| − | # | + | # https://raw.github.com/CReimer/vdr4arch/master/plugins/vdr-bgprocess/bgprocess-tlphrases-fix.diff Benötigte Patches für VDR 1.7.x |
| − | [[Kategorie:Plugins]][[Kategorie:Svdrp-anwendungen]] | + | [[Kategorie:Plugins]] |
| + | [[Kategorie:Svdrp-anwendungen]] | ||
| + | [[Kategorie:Admin-Plugins]] | ||
{{i18n|bgprocess-plugin}} | {{i18n|bgprocess-plugin}} | ||
Aktuelle Version vom 30. August 2013, 15:53 Uhr
Inhaltsverzeichnis |
[Bearbeiten] Beschreibung
Autor:
Mit dem Plugin ist es möglich, via SVDRP eine Statusanzeige an das OSD zu senden.
[Bearbeiten] Status
Letztes Update 07/2008
[Bearbeiten] Bilder
[Bearbeiten] SVDRP Befehle
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.
[Bearbeiten] 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;
}
Der tlphrases-Patch ist nicht vollständig
diff --git a/i18n.h b/i18n.h index ee84e4c..c625a5e 100644 --- a/i18n.h +++ b/i18n.h @@ -13,6 +13,8 @@ #include <vdr/i18n.h> #include <vdr/config.h> // for VDRVERSNUM define only +#if VDRVERSNUM < 10507 extern const tI18nPhrase tlPhrases[]; +#endif #endif //_I18N__H
An einer Stelle ist eine Klammer falsch gesetzt:
diff --git a/bgprocess.c b/bgprocess.c
index 69206bb..eff2a10 100644
--- a/bgprocess.c
+++ b/bgprocess.c
@@ -330,7 +330,7 @@ void BgProcessMenu::ShowBgProcesses()
Clear();
if (iter == bgProcessList.end() && CompletedList.size()==0)
{
- Add(new cOsdItem(" "),osUnknown,false);
+ Add(new cOsdItem(" ",osUnknown,false));
Add(new cOsdItem(tr(" No background process running"),osUnknown,false));
}
for (; iter != bgProcessList.end(); iter++)
[Bearbeiten] Aktuelle Version
[Bearbeiten] Links
- https://raw.github.com/CReimer/vdr4arch/master/plugins/vdr-bgprocess/bgprocess-osditem-fix.diff benötigte Patches für VDR 1.7.x
- https://raw.github.com/CReimer/vdr4arch/master/plugins/vdr-bgprocess/bgprocess-tlphrases-fix.diff Benötigte Patches für VDR 1.7.x