VDR Portal
Register Calendar Members List Team Members Search Frequently Asked Questions Gallery Go to the Main Page

VDR Portal » Developer » C / C++ / Scripten » commands.conf + reccmds.con submenu patch » Hello Guest [Login|Register]
Last Post | First Unread Post Print Page | Recommend to a Friend | Add Thread to Favorites
Pages (2): [1] 2 next » Post New Thread Post Reply
Go to the bottom of this page commands.conf + reccmds.con submenu patch
Author
Post « Previous Thread | Next Thread »
Albu Albu is a male
Jungspund


Registration Date: 08.10.2003
Posts: 10

commands.conf + reccmds.con submenu patch Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

Hallo,

ich bin erst vor wenigen Tagen (durch die c't) auf den Trichter gekommen mir einen digitalen Videorekorder zusammenzubasteln. Inzwischen habe ich auch alles soweit kompiliert und zum Laufen gebracht. Echt schon genial was man so alles mit dem Teil anstellen kann. cool

Was mich aber schon nach kurzer Zeit störte, sind diese langen OSD Menus, wobei das merkwürdige Sprungverhalten beim Blättern sein übriges tut. Deshalb habe ich mich heute abend mal hingesetzt und eine kleine Modifikation gebastelt (da mein Suchen kein Ergebnis gebracht hat, und "Doc" in http://www.vdrportal.de/board/thread.php?threadid=5764&sid= soetwas ähnliches gedacht hat) .
Diese erlaubt es innerhalb der Dateien reccmds.conf und commands.conf nahezu beliebige Hierarchien aufzubauen. Dadurch wird es möglich sehr schnell durch Kommandos durchzunavigieren, da man jetzt einfach über die Ziffern gehen kann.

Der diff ist auf vdr Version 1.2.5 anzuwenden. Defaultmäßig ist die Funktionalität abgeschaltet, erst durch DEFINES += -DCMD_SUBMENUS im Makefile wird er aktiv.
Die Hierarchiestufen in den beiden Dateien werden durch vorangestellte '-' (Minus) angezeigt. Dabei gilt je mehr '-' Zeichen, desto tiefer die Schachtelungstiefe.
Beispiel:
Divx : echo "nix"
-to DivxList : ......
-Remove from DivxList? : .....
-Activate Divx? : .....
DVD
-to DVDList : .....
-Grab : echo "nix"
--DVD Grab background : ....
--DVD Grab subback : ....

erzeugt ein Record-Commands OSD mit Divx und DVD. Mit der Auswahl eines Eintrages wird das jeweilige Untermenu angezeigt.
Wie tief die Verschachtelung geht und wie weit die Erweiterung Fehler abfängt bleibt zu testen. Bei mir läuft es jedenfalls Augenzwinkern

Attachment:
txt vdr-1.2.5-reccmnd-submenu.txt (4.45 KB, 204 downloads)


__________________
Play Space Taxi
08.10.2003 23:05 Albu is offline Send an Email to Albu Homepage of Albu Search for Posts by Albu Add Albu to your Buddy List
schelli schelli is a male
Haudegen


images/avatars/avatar-587.jpg

Registration Date: 02.06.2003
Posts: 540
Herkunft: Mama+Papa

OT: Play Space Taxi Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

Nur kurz zum Patch:
von der Idee her echt klasse!!! Freude

und dann gleich zu deiner Signatur:
Play Space Taxi ...

... is ja irgendwie voll geil, kommt aber laaaaaaaaaaaaaaaaaaaaaaaaaaaaaang nicht ans Original ran Freude

Die verrauchte C64-"Sprach"-ausgabe von "Hey Taxi!" war halt doch was, was man nicht so einfach imitieren kann Zunge raus

schelli Sonnenschein

__________________
Scenic D6 Umbau; Asus-P3B-F; Celeron 633Mhz; 256MB; 360GB; DVD+-RW; DD5.1; GLCD 240x128; 1x DVB-S Rev. 1.6

08.10.2003 23:19 schelli is offline Send an Email to schelli Search for Posts by schelli Add schelli to your Buddy List
Albu Albu is a male
Jungspund


Registration Date: 08.10.2003
Posts: 10

Thread Starter Thread Started by Albu
RE: OT: Play Space Taxi Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

naja das Space Taxi ist auch schon gut zwei Jahre alt und hat seit "Fertigstellung" / Release keine größeren Änderungen mehr erfahren... vielleicht wird es mal irgendwann weitergebastelt, wenn mal mehr Zeit ist Augenzwinkern

__________________
Play Space Taxi

This post has been edited 1 time(s), it was last edited by Albu: 08.10.2003 23:30.

08.10.2003 23:26 Albu is offline Send an Email to Albu Homepage of Albu Search for Posts by Albu Add Albu to your Buddy List
Dirk Dirk is a male
Moderator


images/avatars/avatar-674.gif

Registration Date: 27.07.2002
Posts: 4,047
Herkunft: vom Rande der Zivilisation

RE: commands.conf + reccmds.con submenu patch Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

Hi

Dein patch bringt in zusammenhang mit dem Komplettpatch folgendes Problem:
code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
++ -g -O2 -Wall -Woverloaded-virtual -c -DREMOTE_KBD -DREMOTE_LIRC -D_GNU_SOURCE -DVIDEODIR="/video" 
-DPLUGINDIR="./PLUGINS/lib" -DVFAT -I../DVB/include config.c
In file included from svdrp.h:13,
                 from interface.h:16,
                 from config.c:14:
tools.h:161: warning: `virtual void cListBase::Add(cListObject*, cListObject*)'
   was hidden
recording.h:139: warning:   by `cMark* cMarks::Add(int)'
In file included from menuitems.h:13,
                 from plugin.h:14,
                 from config.c:15:
tools.h:161: warning: `virtual void cListBase::Add(cListObject*, cListObject*)'
   was hidden
osd.h:168: warning:   by `void cOsdMenu::Add(cOsdItem*, bool, cOsdItem*)'
config.c:145: default argument given for parameter 2 of `void
   cCommands::Add(cListObject*, cListObject* = 0)'
config.h:238: after previous specification in `virtual void
   cCommands::Add(cListObject*, cListObject* = 0)'
make: *** [config.o] Error 1


Gruß Dirk

__________________
Freude Heute ist nicht alle Tage, ich schreib wieder, keine Frage Freude

VDR1: Silverstone LC14M, AMD X2-BE2350,2GB/1,5TB,DVB-s/s2/c,Gentoo,Kernel 2.6.31,VDR-1.7.9
VDR2: Asus M3N78pro,A64-X2 5400+,4GB/4TB,DVB-s/PVR250,Gentoo,Kernel 2.6.31,vdr-1.6.0
VDR3: Acer V66LT-4, P3@600,256MB/160GB HDD,DVB-s/c,Gentoo,Kernel 2.6.18,vdr-1.5.14
VDR4: Intel M770, 2GB/160GB HDD, DVB-t Kernel 2.6.32,VDR-1.6.0


08.10.2003 23:56 Dirk is offline Send an Email to Dirk Search for Posts by Dirk Add Dirk to your Buddy List
Albu Albu is a male
Jungspund


Registration Date: 08.10.2003
Posts: 10

Thread Starter Thread Started by Albu
Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

den Komplettpatch hab ich glaub ich gar nicht drauf....

aber probier mal in der config.c Zeile 145 das "= NULL" wegzumachen und guck, obs dann geht...

__________________
Play Space Taxi
09.10.2003 00:03 Albu is offline Send an Email to Albu Homepage of Albu Search for Posts by Albu Add Albu to your Buddy List
Dirk Dirk is a male
Moderator


images/avatars/avatar-674.gif

Registration Date: 27.07.2002
Posts: 4,047
Herkunft: vom Rande der Zivilisation

Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

Hi

die Warnungen sind noch da, aber übersetzt hat er!

Danke

__________________
Freude Heute ist nicht alle Tage, ich schreib wieder, keine Frage Freude

VDR1: Silverstone LC14M, AMD X2-BE2350,2GB/1,5TB,DVB-s/s2/c,Gentoo,Kernel 2.6.31,VDR-1.7.9
VDR2: Asus M3N78pro,A64-X2 5400+,4GB/4TB,DVB-s/PVR250,Gentoo,Kernel 2.6.31,vdr-1.6.0
VDR3: Acer V66LT-4, P3@600,256MB/160GB HDD,DVB-s/c,Gentoo,Kernel 2.6.18,vdr-1.5.14
VDR4: Intel M770, 2GB/160GB HDD, DVB-t Kernel 2.6.32,VDR-1.6.0


09.10.2003 00:07 Dirk is offline Send an Email to Dirk Search for Posts by Dirk Add Dirk to your Buddy List
Albu Albu is a male
Jungspund


Registration Date: 08.10.2003
Posts: 10

Thread Starter Thread Started by Albu
Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

ich hab mir grade mal den komplettpatch runtergeladen und teste ihn gerade selbst aus, ggfs. aktualisiere ich den Patch nochmal, allerdings hat er bei mir ohne murren kompiliert... vermutlich liegt das an der gcc / g++ Version... korrekt ist auf jeden Fall die Version ohne = NULL

na mal sehen smile

__________________
Play Space Taxi
09.10.2003 00:12 Albu is offline Send an Email to Albu Homepage of Albu Search for Posts by Albu Add Albu to your Buddy List
Dirk Dirk is a male
Moderator


images/avatars/avatar-674.gif

Registration Date: 27.07.2002
Posts: 4,047
Herkunft: vom Rande der Zivilisation

Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

ich hab hier gcc-3.2.3

__________________
Freude Heute ist nicht alle Tage, ich schreib wieder, keine Frage Freude

VDR1: Silverstone LC14M, AMD X2-BE2350,2GB/1,5TB,DVB-s/s2/c,Gentoo,Kernel 2.6.31,VDR-1.7.9
VDR2: Asus M3N78pro,A64-X2 5400+,4GB/4TB,DVB-s/PVR250,Gentoo,Kernel 2.6.31,vdr-1.6.0
VDR3: Acer V66LT-4, P3@600,256MB/160GB HDD,DVB-s/c,Gentoo,Kernel 2.6.18,vdr-1.5.14
VDR4: Intel M770, 2GB/160GB HDD, DVB-t Kernel 2.6.32,VDR-1.6.0


09.10.2003 00:16 Dirk is offline Send an Email to Dirk Search for Posts by Dirk Add Dirk to your Buddy List
Albu Albu is a male
Jungspund


Registration Date: 08.10.2003
Posts: 10

Thread Starter Thread Started by Albu
Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

meiner ist 2.95.4.... könnte also schon sein

hmm dieser Komplettpatch hat jetzt ein paar meiner Plugins zerschossen - die muß ich wohl neu kompilieren...

__________________
Play Space Taxi
09.10.2003 00:36 Albu is offline Send an Email to Albu Homepage of Albu Search for Posts by Albu Add Albu to your Buddy List
Dirk Dirk is a male
Moderator


images/avatars/avatar-674.gif

Registration Date: 27.07.2002
Posts: 4,047
Herkunft: vom Rande der Zivilisation

Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

ich übersetze immer nach dem patchen von vdr neu!

__________________
Freude Heute ist nicht alle Tage, ich schreib wieder, keine Frage Freude

VDR1: Silverstone LC14M, AMD X2-BE2350,2GB/1,5TB,DVB-s/s2/c,Gentoo,Kernel 2.6.31,VDR-1.7.9
VDR2: Asus M3N78pro,A64-X2 5400+,4GB/4TB,DVB-s/PVR250,Gentoo,Kernel 2.6.31,vdr-1.6.0
VDR3: Acer V66LT-4, P3@600,256MB/160GB HDD,DVB-s/c,Gentoo,Kernel 2.6.18,vdr-1.5.14
VDR4: Intel M770, 2GB/160GB HDD, DVB-t Kernel 2.6.32,VDR-1.6.0


09.10.2003 00:40 Dirk is offline Send an Email to Dirk Search for Posts by Dirk Add Dirk to your Buddy List
Dirk Dirk is a male
Moderator


images/avatars/avatar-674.gif

Registration Date: 27.07.2002
Posts: 4,047
Herkunft: vom Rande der Zivilisation

Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

Hi

hmmm, funzt bei mir nicht !?!

egal, erstmal schlafen großes Grinsen

__________________
Freude Heute ist nicht alle Tage, ich schreib wieder, keine Frage Freude

VDR1: Silverstone LC14M, AMD X2-BE2350,2GB/1,5TB,DVB-s/s2/c,Gentoo,Kernel 2.6.31,VDR-1.7.9
VDR2: Asus M3N78pro,A64-X2 5400+,4GB/4TB,DVB-s/PVR250,Gentoo,Kernel 2.6.31,vdr-1.6.0
VDR3: Acer V66LT-4, P3@600,256MB/160GB HDD,DVB-s/c,Gentoo,Kernel 2.6.18,vdr-1.5.14
VDR4: Intel M770, 2GB/160GB HDD, DVB-t Kernel 2.6.32,VDR-1.6.0


09.10.2003 00:50 Dirk is offline Send an Email to Dirk Search for Posts by Dirk Add Dirk to your Buddy List
kuehnch
Jungspund


Registration Date: 08.10.2003
Posts: 35

Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

Wirklich super dieser Patch! Endlich nicht mehr ewig scrollen Augenzwinkern
Dank dir

Christoph
09.10.2003 01:00 kuehnch is offline Send an Email to kuehnch Homepage of kuehnch Search for Posts by kuehnch Add kuehnch to your Buddy List
Albu Albu is a male
Jungspund


Registration Date: 08.10.2003
Posts: 10

Thread Starter Thread Started by Albu
Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

Du mußt den Eintrag im Makefile
DEFINES += -DCMD_SUBMENUS
noch einfügen, der hat es nicht ins diff geschafft....

__________________
Play Space Taxi
09.10.2003 01:01 Albu is offline Send an Email to Albu Homepage of Albu Search for Posts by Albu Add Albu to your Buddy List
Dirk Dirk is a male
Moderator


images/avatars/avatar-674.gif

Registration Date: 27.07.2002
Posts: 4,047
Herkunft: vom Rande der Zivilisation

Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

Okay, ich geb mit jetzt mal selber nen

umleitung

__________________
Freude Heute ist nicht alle Tage, ich schreib wieder, keine Frage Freude

VDR1: Silverstone LC14M, AMD X2-BE2350,2GB/1,5TB,DVB-s/s2/c,Gentoo,Kernel 2.6.31,VDR-1.7.9
VDR2: Asus M3N78pro,A64-X2 5400+,4GB/4TB,DVB-s/PVR250,Gentoo,Kernel 2.6.31,vdr-1.6.0
VDR3: Acer V66LT-4, P3@600,256MB/160GB HDD,DVB-s/c,Gentoo,Kernel 2.6.18,vdr-1.5.14
VDR4: Intel M770, 2GB/160GB HDD, DVB-t Kernel 2.6.32,VDR-1.6.0


09.10.2003 01:04 Dirk is offline Send an Email to Dirk Search for Posts by Dirk Add Dirk to your Buddy List
memed memed is a male
Haudegen


Registration Date: 02.03.2003
Posts: 546

Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

Hi,

super patch, der sollte auf jeden fall auch auf die vdr mailing liste ...

gruß MeMeD

__________________
--
viel spass am geraet
---
AMD1100/512 # 200GB-VDR # 220GB-DIVX #
1.3 Siemens # 2.1 Haupauge(primary) # RH 7.3
09.10.2003 03:48 memed is offline Send an Email to memed Homepage of memed Search for Posts by memed Add memed to your Buddy List
Mase Mase is a male
Freiherr


images/avatars/avatar-106.jpg

Registration Date: 14.04.2003
Posts: 1,687
Herkunft: Saarlouis

Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

Kann mir mal jemand sagen, was da falsch ist? Die Submenüs werden nicht
geöffnet. Ich bekomm nur das echo als Ausgabe.

Werbefilter: echo "submenu"
-Werbefilter starten: /usr/local/src/noad/startnoad.sh
-Werbefilter anhalten?: /usr/local/src/noad/stopnoad.sh
-Schnittliste ansehen: /usr/local/src/noad/viewmarks.sh
-Werbefilter Uebersicht: /usr/local/src/noad/countnoad.sh
-Alle Werbefilter anhalten?: killall noad
Archiv: echo "submenu"
-Entferne archivierte Aufzeichnung?: /usr/local/bin/handlearchived.sh -clean
-Spiele archivierte Aufzeichnung wieder ein: /usr/local/bin/handlearchived.sh -restore
-Lösche Archivmarkierung?: /usr/local/bin/handlearchived.sh -delmark
VDRConvert: echo "submenu"
-DVD: echo "submenu"
--Zur DVD-Liste: /usr/local/bin/ins.sh vdr2dvd
--Entferne von DVD-Liste?: /usr/local/bin/del.sh vdr2dvd
--Aktiviere DVD-Liste?: /usr/local/bin/convstart.sh vdr2dvd
--Zeige DVD-Liste: /usr/local/bin/cap.sh vdr2dvd
--DVD Hintergrundbild (Hauptmenue): /usr/local/bin/grab.sh "background.pnm"
--DVD Hintergrundbild (Untermenue): /usr/local/bin/grab.sh "subbackground.pnm"
--Letzter status Grab: cat /tmp/vdrgrab
--Erstelle DVD sofort?: /usr/local/bin/convnow.sh vdr2dvd

__________________
VDR1:
Gehäuse: Silverstone LC17
Mainboard: Asus A7N-8X-E deluxe
CPU: AMD Athlon XP3200+
Arbeitsspeicher: MDT DDR400 2GB (2x512MB 1x1GB)
HDD: 2x200GB 1x400GB IDE
DVB1: Technotrend S2300 mit Speichermod
DVB2: Technotrend Budget CI
Hauppauge PVR350
AV-Board
OS: Debian stable
VDR: 1.6.0 mit ext-Patch, div. Plugins

VDR2:
Samsung SMT-7020S mit Wakeup-Board
OS: Debian stable
VDR: 1.6.0 mit ext-Patch, div. Plugins

May the force be with us!
08.06.2006 22:28 Mase is offline Send an Email to Mase Search for Posts by Mase Add Mase to your Buddy List
TomG TomG is a male
Großherzog


Registration Date: 09.01.2004
Posts: 3,716
Herkunft: Berlin

Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

quote:
Original von Mase
Kann mir mal jemand sagen, was da falsch ist? Die Submenüs werden nicht
geöffnet. Ich bekomm nur das echo als Ausgabe.


Welche Patch-Version? Mit dem normalen Aufnahmen-Menü oder mit Extrecmenu-Plugin?

Beim Extrecmenu-Plugin werden in der aktuellen Version die Untermenüs nur angezeigt, wenn BIGPATCHVERSION gesetzt ist.

Tom

__________________
c't-VDR: VDRdevel / experimental (1.7.15) + Paket-Übersicht --- Kaffeekasse
09.06.2006 01:00 TomG is offline Send an Email to TomG Homepage of TomG Search for Posts by TomG Add TomG to your Buddy List
Mase Mase is a male
Freiherr


images/avatars/avatar-106.jpg

Registration Date: 14.04.2003
Posts: 1,687
Herkunft: Saarlouis

Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

Die normale commands.conf funktioniert.
Ich verwende die Version 0.7 und extrecmenu.
Wo muss ich BIGPATCHVERSION setzen?
Meinst du beim Compilieren von VDR "make BIGPATCHVERSION=1"?

__________________
VDR1:
Gehäuse: Silverstone LC17
Mainboard: Asus A7N-8X-E deluxe
CPU: AMD Athlon XP3200+
Arbeitsspeicher: MDT DDR400 2GB (2x512MB 1x1GB)
HDD: 2x200GB 1x400GB IDE
DVB1: Technotrend S2300 mit Speichermod
DVB2: Technotrend Budget CI
Hauppauge PVR350
AV-Board
OS: Debian stable
VDR: 1.6.0 mit ext-Patch, div. Plugins

VDR2:
Samsung SMT-7020S mit Wakeup-Board
OS: Debian stable
VDR: 1.6.0 mit ext-Patch, div. Plugins

May the force be with us!

This post has been edited 1 time(s), it was last edited by Mase: 09.06.2006 16:31.

09.06.2006 16:29 Mase is offline Send an Email to Mase Search for Posts by Mase Add Mase to your Buddy List
Mase Mase is a male
Freiherr


images/avatars/avatar-106.jpg

Registration Date: 14.04.2003
Posts: 1,687
Herkunft: Saarlouis

Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

nordlicht hat mir folgenden Lösungsvorschlag gemacht:
[ANNOUNCE] ExtRecMenu-Plugin 0.11
Funktioniert jetzt.

__________________
VDR1:
Gehäuse: Silverstone LC17
Mainboard: Asus A7N-8X-E deluxe
CPU: AMD Athlon XP3200+
Arbeitsspeicher: MDT DDR400 2GB (2x512MB 1x1GB)
HDD: 2x200GB 1x400GB IDE
DVB1: Technotrend S2300 mit Speichermod
DVB2: Technotrend Budget CI
Hauppauge PVR350
AV-Board
OS: Debian stable
VDR: 1.6.0 mit ext-Patch, div. Plugins

VDR2:
Samsung SMT-7020S mit Wakeup-Board
OS: Debian stable
VDR: 1.6.0 mit ext-Patch, div. Plugins

May the force be with us!
10.06.2006 09:00 Mase is offline Send an Email to Mase Search for Posts by Mase Add Mase to your Buddy List
TomG TomG is a male
Großherzog


Registration Date: 09.01.2004
Posts: 3,716
Herkunft: Berlin

Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

quote:
Original von Mase
Meinst du beim Compilieren von VDR "make BIGPATCHVERSION=1"?


Nicht beim Compilieren des VDR, sondern von Extrecmenu. Das müsste klappen. Aber der Vorschlag von nordlicht, einfach den #ifdef zu entfernen, geht genauso.

Tom

__________________
c't-VDR: VDRdevel / experimental (1.7.15) + Paket-Übersicht --- Kaffeekasse
11.06.2006 14:56 TomG is offline Send an Email to TomG Homepage of TomG Search for Posts by TomG Add TomG to your Buddy List
Pages (2): [1] 2 next » Tree Structure | Board Structure
Jump to:
Post New Thread Post Reply
VDR Portal » Developer » C / C++ / Scripten » commands.conf + reccmds.con submenu patch

www.vdr-portal.de VDR Portal © 2002-2006 by genka
Forum Software: Burning Board 2.3.4, Developed by WoltLab GmbH