Difference between revisions of "Alcd-plugin"

From VDR Wiki
Jump to: navigation, search
(Problems)
Line 1: Line 1:
 
==Description==
 
==Description==
[[Image:Alcd-plugin.jpg|thumb|Screenshot]]
+
'''Authors:''' Andreas Weinberger, Markus Geisler, Helmut Auer
Enables the LCD display of the Activy300 boxes from Siemens and allows navigation in the VDR menu where oversized lines are scrolled. It also shows a progress bar while replaying media.
+
  
The frontpanel buttons of the Activy are also supported. Some additional keypresses are realized by pressing more than one button at once.
+
Das Plugin erlaubt die Nutzung des LCDs einer Fujitsu-Siemens [[Activy]] 300 und auch der neueren Activys.
  
===Usage===
+
Mit der Version 1.2.1 ist es möglich, den nächsten Timer auf dem LCD der Activy nach dem Shutdown anzuzeigen.
{| border=1 cellpadding=2 cellspacing=0 style="border-collapse: collapse;"
+
Das activity_lcdoff.sh, welches HelAu beilegt, funktioniert nur unter gen2vdr 1.1. Deshalb unten ein Beispiel zum selberanpassen.
|- bgcolor=#efdead
+
===Status===
!Key
+
Last Update 02/2010
!Function
+
 
 +
==Bilder==
 +
[[Image:alcd-plugin.jpg|thumb|none|''Einstellungen'']]
 +
 
 +
==Hardwareanforderungen==
 +
* [[Activy]] 300 Media Center von Fujitsu Siemens
 +
 
 +
==Configuration==
 +
cd /usr/local/bin
 +
ln -s [[Struktur|$SOURCEDIR]]/VDR/PLUGINS/src/alcd/scripts/*sh .
 +
 
 +
Dann
 +
-P'acld -r /usr/local/bin/activy.sh'
 +
 
 +
===Parameter===
 +
{| class="wikitable"
 
|-
 
|-
| Up        || Up
+
!Parameter (kurz)
 +
!Parameter (lang)
 +
!Description
 
|-
 
|-
| Down      || Down
+
| -r || --resetscript=<Datei> || Führe Skript nach einem PIC-Reset aus (Standard: keins)
 +
|}
 +
 
 +
===Tipps===
 +
Ein Beispiel für activity_lcdoff.sh wo ihr /video0/~wakeup herbekommt muss man noch schauen
 +
#!/bin/sh
 +
#
 +
# Activy set Display text
 +
# /bin/stty 38400 < /dev/ttyS0
 +
WAKEUP_FILE='/video0/~wakeup'  # LinVDR 0.7
 +
if [ -r /etc/conf.d/vdr ]; then
 +
  source /etc/conf.d/vdr
 +
elif [ -r /etc/sysconfig ]; then
 +
  source /etc/sysconfig
 +
fi
 +
if [ -z "${PLUGINS/*alcd*}" ]; then
 +
  if [ -s "${WAKEUP_FILE}" ] ; then
 +
    read Wakeup < ${WAKEUP_FILE}
 +
   
 +
    IFS=";"
 +
    set -- ${Wakeup}
 +
    NextTimer=${1}
 +
    Channel=${2}
 +
    RecordingName=${3:0:20}
 +
    WakeupTime="$(date -d "1970-01-01 UTC ${NextTimer} seconds" '+%d.%m.%Y - %R')"
 +
    echo "${WakeupTime}"
 +
    echo "${Channel}-${RecordingName}"
 +
    svdrpsend.pl PLUG alcd LOCK
 +
    svdrpsend.pl PLUG alcd PWRLED BLINK
 +
    svdrpsend.pl PLUG alcd SHOW "${WakeupTime}|${RecordingName}"
 +
    svdrpsend.pl PLUG alcd STAY "ON"
 +
    sleep 3
 +
  fi
 +
fi
 +
 
 +
==Version History==
 +
{| width=100% class="wikitable"
 
|-
 
|-
| Left      || Left
+
! Version
 +
! Date
 +
! Description
 +
! Link
 
|-
 
|-
| Right      || Right
+
| 1.5.2
 +
| 03.02.2010
 +
|
 +
* Corrected locale settings
 +
* Fixed a bug causing VDR OSD reset.
 +
* Added gcc 4.4 compatibility (Thanks to Anssi und zzam)
 +
|
 
|-
 
|-
| Ok        || Ok
+
| 1.5.1
 +
| 15.05.2009
 +
|
 +
* Updated italian translation (Thanks to Diego Pierotto)
 +
|
 
|-
 
|-
| Left/Right || Menu
+
| 1.5.0
 +
| 27.04.2009
 +
|
 +
* Added UTF-8 support
 +
* Config Variable Watchdog added
 +
* Added Scrollbar Display (Customizable)
 +
|
 
|-
 
|-
| Up/Down    || <font color=red>Red</font>
+
| 1.4.2
 +
| 04.12.2008
 +
|
 +
* Removed default execution of resetScipt (-r <script> Paramater is needed)
 +
|
 
|-
 
|-
| Up/Right  || <font color=blue>Blue</font>
+
| 1.4.1
 +
| 03.12.2008
 +
|
 +
* Fixed text output via afp-tool
 +
|
 
|-
 
|-
| Left/Down  || Eject CDROM
+
| 1.4.0
 +
| 09.09.2008
 +
|
 +
* Added afp-tool for sending commands to the frontpanel.
 +
|
 
|-
 
|-
| "Power" and short after "ok" || Shutdown
+
| 1.3.1
 +
| 05.09.2008
 +
|
 +
* Some fixes for German Umlauts (will not work on pure UTF systems)
 +
* Fixes for avoiding resets
 +
|
 
|}
 
|}
  
==Hardware requirements==
+
==Current Version==
* Activy 300 Media Center from Fujitsu Siemens
+
[http://www.htpc-forum.de/download/download.php?id=1 Version 1.5.2]
 
+
==Software requirements==
+
* none
+
 
+
==Installation==
+
See [[plugin installation]]
+
 
+
==Problems==
+
* Display "hangs" randomly during heavy channel switching with the Activy300 remote control or keyboard. LIRC remote controls seem to work.
+
* Plugin does also run on "newer" Activys 320/350 but may not on Activy 2xx.
+
 
+
 
==Links==
 
==Links==
{|
+
# [http://www.htpc-forum.de/index.php?url=downloads.php Current Version]
| [1]
+
| http://home.primusnetz.de/mgeisler/alcd
+
| Plugin homepage
+
|}
+
{|
+
| [2]
+
| http://www.htpc-forum.de/
+
|
+
| newer Versions of this Plugin can be found in the Downloads Section
+
|}
+
  
 
[[Category:Plugins]]
 
[[Category:Plugins]]
 
+
[[Category:Externe Anzeige]]
 +
[[Category:Activy]]
 
{{i18n|alcd-plugin}}
 
{{i18n|alcd-plugin}}

Revision as of 15:19, 24 November 2013

Description

Authors: Andreas Weinberger, Markus Geisler, Helmut Auer

Das Plugin erlaubt die Nutzung des LCDs einer Fujitsu-Siemens Activy 300 und auch der neueren Activys.

Mit der Version 1.2.1 ist es möglich, den nächsten Timer auf dem LCD der Activy nach dem Shutdown anzuzeigen. Das activity_lcdoff.sh, welches HelAu beilegt, funktioniert nur unter gen2vdr 1.1. Deshalb unten ein Beispiel zum selberanpassen.

Status

Last Update 02/2010

Bilder

File:Alcd-plugin.jpg
Einstellungen

Hardwareanforderungen

  • Activy 300 Media Center von Fujitsu Siemens

Configuration

cd /usr/local/bin
ln -s $SOURCEDIR/VDR/PLUGINS/src/alcd/scripts/*sh .

Dann

-P'acld -r /usr/local/bin/activy.sh'

Parameter

Parameter (kurz) Parameter (lang) Description
-r --resetscript=<Datei> Führe Skript nach einem PIC-Reset aus (Standard: keins)

Tipps

Ein Beispiel für activity_lcdoff.sh wo ihr /video0/~wakeup herbekommt muss man noch schauen

#!/bin/sh
#
# Activy set Display text
# /bin/stty 38400 < /dev/ttyS0
WAKEUP_FILE='/video0/~wakeup'  # LinVDR 0.7
if [ -r /etc/conf.d/vdr ]; then
  source /etc/conf.d/vdr
elif [ -r /etc/sysconfig ]; then
  source /etc/sysconfig
fi
if [ -z "${PLUGINS/*alcd*}" ]; then
  if [ -s "${WAKEUP_FILE}" ] ; then
    read Wakeup < ${WAKEUP_FILE}
    
    IFS=";"
    set -- ${Wakeup}
    NextTimer=${1}
    Channel=${2}
    RecordingName=${3:0:20}
    WakeupTime="$(date -d "1970-01-01 UTC ${NextTimer} seconds" '+%d.%m.%Y - %R')"
    echo "${WakeupTime}"
    echo "${Channel}-${RecordingName}"
    svdrpsend.pl PLUG alcd LOCK
    svdrpsend.pl PLUG alcd PWRLED BLINK
    svdrpsend.pl PLUG alcd SHOW "${WakeupTime}|${RecordingName}"
    svdrpsend.pl PLUG alcd STAY "ON"
    sleep 3
  fi
fi

Version History

Version Date Description Link
1.5.2 03.02.2010
  • Corrected locale settings
  • Fixed a bug causing VDR OSD reset.
  • Added gcc 4.4 compatibility (Thanks to Anssi und zzam)
1.5.1 15.05.2009
  • Updated italian translation (Thanks to Diego Pierotto)
1.5.0 27.04.2009
  • Added UTF-8 support
  • Config Variable Watchdog added
  • Added Scrollbar Display (Customizable)
1.4.2 04.12.2008
  • Removed default execution of resetScipt (-r <script> Paramater is needed)
1.4.1 03.12.2008
  • Fixed text output via afp-tool
1.4.0 09.09.2008
  • Added afp-tool for sending commands to the frontpanel.
1.3.1 05.09.2008
  • Some fixes for German Umlauts (will not work on pure UTF systems)
  • Fixes for avoiding resets

Current Version

Version 1.5.2

Links

  1. Current Version