Neutrino Dokus

Das Original Benutzerinterface Neutrino-SD incl. zapit, sectionsd, yWeb etc...
Zwen
Developer
Beiträge: 867
Registriert: Mittwoch 14. August 2002, 19:50

Neutrino Dokus

Beitrag von Zwen »

Hi,

ich habe der Übersicht halber alle sticky Topics mit Neutrino Dokumentationen gelöscht und auf http://www.dbox2.info/ verlinkt.

http://www.dbox2.info/dokumentation.php?catid=3

Zwen
thegoodguy
Erleuchteter
Erleuchteter
Beiträge: 465
Registriert: Mittwoch 14. August 2002, 20:45

Customizing Neutrino

Beitrag von thegoodguy »

Customizing Neutrino:

Custom lcd background images:

Code: Alles auswählen

format: png
color_type: PNG_COLOR_TYPE_PALETTE
bit_depth: 1
width: 120
height: 64
directory: /var/tuxbox/neutrino/lcd or /share/tuxbox/lcdd/icons
filenames: lcd.png, lcd2.png, lcd3.png, power.png, setup.png
Custom locales:

Code: Alles auswählen

format: UTF-8 encoded
directory: /var/tuxbox/config/locale or /share/tuxbox/neutrino/locale
filenames: *.locale
Custom Plugins:

Code: Alles auswählen

directory: /var/tuxbox/plugins or /lib/tuxbox/plugins
Disabling plugin X (X.cfg, X.so) available in /lib/tuxbox/plugins: touch /var/tuxbox/plugins/X.cfg
Custom fonts:

Code: Alles auswählen

see neutrino --help
thegoodguy
Erleuchteter
Erleuchteter
Beiträge: 465
Registriert: Mittwoch 14. August 2002, 20:45

Beitrag von thegoodguy »

The nhttpd API has changed, since a channel is no longer identified by the 32 bit onid-sid but by a 64 bit value (channel_id). The channel_id is always transmitted as a hexadecimal value (without leading '0x'), while the onid-sid value has been transmitted as a decimal value.
Legacy API:http://cvs.tuxbox.org/tuxbox/apps/tuxbo ... cvs-markup
New API:http://cvs.tuxbox.org/tuxbox/apps/tuxbo ... cvs-markup
The API version can be determined using the following call:

Code: Alles auswählen

http://dbox/control/info?httpdversion
The return value can be interpreted as follows:

Code: Alles auswählen

< 3: old API
  3: new API
How can I ensure that my programm works with both the old and new API?

Code: Alles auswählen

There are two feasible options:
- Treat channel_id (resp. the previous onid-sid) as character strings and avoid the deprecated call http://dbox/control/getonidsid)
- use the http://dbox/control/info?httpdversion call to determine which nhttpd version the program is facing and act accordingly
bileen
Interessierter
Interessierter
Beiträge: 26
Registriert: Samstag 7. Mai 2005, 10:54

sorry, Thema war hier falsch

Beitrag von bileen »

Zuletzt geändert von bileen am Dienstag 31. Mai 2005, 10:52, insgesamt 1-mal geändert.
ChakaZulu
Developer
Beiträge: 457
Registriert: Sonntag 23. März 2003, 00:39

Beitrag von ChakaZulu »

Hi,

inzwischen ist das wiki http://wiki.tuxbox-cvs.sourceforge.net die Dokumentationsplatform.
Für das Timerproblem hättest Du eher einen neuen Thread aufmachen sollen.

ciao,

ChakaZulu