Dear visitor, welcome to VDR Portal. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
Quoted
Originally posted by DrBoon
Quoted
1. Wenn du sowieso ein Kommando am VDR abschicken willst wieso beendest du dann nicht einfach den xine player. Würde auch noch Strom am Rechner sparen.
mit dem Gedanken hatte ich auch schon gespielt... hatte aber damals beim Versuch öfter das Problem, das nach dem X'ten start des X-Servers der TV "BLAU" bleibt bis man den Rechner neu startet. ( keine ahnung, hab den Fehler nie gefunden. )
das hört sich fein an, hab mir grad die version v0.99.7hg. gezogen, nur ein xine-remote kennt keinen Befehl "close" ... wenn ich close eintipe beendet nur xine-remote seine unterhaltung mit xine-ui. Meinst du evtl STOP ? Nach stop nimmt Play den Stream allerdings nicht mehr auf. This post has been edited 1 times, last edit by "DrBoon" (Apr 13th 2010, 11:36am)
Quoted
Originally posted by DrBoon
das hört sich fein an, hab mir grad die version v0.99.7hg. gezogen, nur ein xine-remote kennt keinen Befehl "close" ... wenn ich close eintipe beendet nur xine-remote seine unterhaltung mit xine-ui. Meinst du evtl STOP ? Nach stop nimmt Play den Stream allerdings nicht mehr auf.
This post has been edited 3 times, last edit by "durchflieger" (Apr 15th 2010, 1:52pm)
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
/**************************************************************************************
* Protocol for "classic" atmolight serial 2ch controller
**************************************************************************************/
static void classic_driver_output_colors(output_driver_t *this_gen, rgb_color_t *colors, rgb_color_t *last_colors) {
serial_output_driver_t *this = (serial_output_driver_t *) this_gen;
uint8_t msg[19];
if (this->devfd < 0)
return;
/* create command */
memset(msg, 0, sizeof(msg));
msg[0] = 0xFF; /* start byte */
msg[1] = msg[2] = 0; /* start channel */
msg[3] = 15; /* number of channels (5 * RGB) */
/* top channel */
if (this->param.top)
{
msg[13] = colors->r;
msg[14] = colors->g;
msg[15] = colors->b;
- colors += this->param.top;
+ ++colors;
+ msg[16] = colors->r;
+ msg[17] = colors->g;
+ msg[18] = colors->b;
+ ++colors;
}
/* bottom channel */
if (this->param.bottom)
{
- msg[16] = colors->r;
- msg[17] = colors->g;
- msg[18] = colors->b;
- colors += this->param.bottom;
}
|
|
|
Source code |
1 |
--post atmo:driver=classic,driver_param=usb:.*ftdi_sio.*vendor:0403.product:6001*,top=2,left=1,right=1,bottom=0,center=0,gamma=5,brightness=125,filter=combined,darkness_limit=10,analyze_size=3,edge_weighting=1,filter_length=300,filter_smoothness=70,filter_threshold=50,start_delay=500,overscan=5 |
|
|
Source code |
1 2 |
modprobe usbserial modprobe ftdi_sio vendor=0x0403 product=0x6001 |
|
|
Source code |
1 2 3 4 5 6 7 8 |
bool cPluginXine::Start(void)
{
// Start any background activities the plugin shall perform.
if (!PluginXine::cXineDevice::Open())
return false;
+ system ( "/usr/bin/vdr-xine.sh &" );
return true;
}
|
This post has been edited 2 times, last edit by "DrBoon" (Apr 16th 2010, 9:10am)
This post has been edited 1 times, last edit by "DrBoon" (Apr 19th 2010, 11:32am)
Quoted
Originally posted by DrBoon
Sorgen macht mir allerdings noch die Ansprechreihenfolge der Controller ( aber das bekommt man bestimmt gelöst).
Quoted
Original von slime
du kannst über eine udev-regel die beiden geräte sauber auf immer die gleichen devices mappen.
|
|
Source code |
1 |
SUBSYSTEMS=="usb", ATTRS{product}=="FT232R USB UART", ATTRS{idProduct}=="6001", ATTRS{idVendor}=="0403", SYMLINK+="ttyUSB_$attr{serial}", KERNEL=="ttyUSB[0123]", MODE="0666"
|

Quoted
Original von durchflieger
Das neue Kommando heisst 'AtmolightEnable'.
Zuordnung zur gewünschten Taste z.B. in der ~/.xine/keymap vornehmen.
Der patch ist gegen das aktuelle xine aus dem hg repository.
This post has been edited 1 times, last edit by "DKVT" (May 7th 2010, 6:10pm)
|
|
Source code |
1 2 3 4 5 6 7 |
libxine-atmo-plugin:
Installiert: (keine)
Kandidat: 0.5+git20100624-1yavdr1
Versions-Tabelle:
0.5+git20100624-1yavdr1 0
500 http://ppa.launchpad.net/yavdr/unstable-vdr/ubuntu/ lucid/main Packages
500 http://ppa.launchpad.net/yavdr/stable-vdr/ubuntu/ lucid/main Packages
|
|
|
Source code |
1 2 3 4 5 6 7 8 |
vdr-plugin-atmo:
Installiert: (keine)
Kandidat: 0.1.3-12yavdr1
Versions-Tabelle:
0.1.3-12yavdr1 0
500 http://ppa.launchpad.net/yavdr/unstable-vdr/ubuntu/ lucid/main Packages
0.1.3-11yavdr1 0
500 http://ppa.launchpad.net/yavdr/stable-vdr/ubuntu/ lucid/main Packages
|
This post has been edited 1 times, last edit by "hotzenplotz5" (Jun 26th 2010, 2:07pm)
This post has been edited 1 times, last edit by "hotzenplotz5" (Jun 26th 2010, 5:17pm)