Main
FAQ
Status
To-Do List
Links
Download
Members
Command Protocol
|
Tuner Commands:
Name: |
| onTuner |
|
Description: |
|
Turns the tuner on (and everything else off) and
automatically shows the main window if it was
hidden.
|
|
Parameters: |
| none |
|
Return values: |
| none |
Name: |
| fetchPresets |
|
Description: |
| Returns the channel preset numbers and names. Presets are stored when the user
scans for channels using the control panel applet. |
|
Parameters: |
| none |
|
Return values: |
| n: channel preset number |
| n+1: channel name |
| where n >= 0 |
Name: |
| getChannel |
|
Description: |
| Returns the currently selected preset channel. |
|
Parameters: |
| none |
|
Return values: |
| 1: channel preset number, as returned by fetchPresets |
Name: |
| setChannel |
|
Description: |
| Selects the given preset channel to be displayed. If the tuner is off, calling
setChannel will automatically turn the tuner on as well. The main window must be visible or setChannel
will fail. |
|
Parameters: |
| 1: channel preset number, as returned by fetchPresets |
|
Return values: |
| none |
|
|
|