Difference between revisions of "Alcd-plugin"

From VDR Wiki
Jump to: navigation, search
(intial)
(Images)
 
(14 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
==Description==
 
==Description==
[[Image:Alcd-plugin.jpg|thumb|Screenshot]]
+
'''Authors:''' Andreas Weinberger, Markus Geisler, Helmut Auer
The '''alcd plugin''' allows the utilisation of the LCD of the Fujitsu-Siemens Activy 300.
+
  
==Hardware requirements==
+
The plugin allows you to use the LCD of Fujitsu-Siemens [[Activy]] 300 and also the newer Activys.
* Activy 300 Media Center from Fujitsu Siemens  
+
  
==Software requirements==
+
With version 1.2.1 it is possible to display the next timer on the LCD of the Activy after the shutdown.
 +
The activity_lcdoff.sh provided by HelAu, works only under gen2vdr 1.1. Therefore, below is an example which you can adjust by yourselfes.
  
==Installation==
+
===Status===
See [[Plugin installation]]
+
Last Update 02/2010
  
==Problems==
+
==Images==
 +
[[Image:alcd-plugin-00.jpg|thumb|none|''Settings'']]
  
==Links==
+
==Hardware Requirements==
{|
+
* [[Activy]] 300 Media Center from Fujitsu Siemens
| [1]
+
 
| http://home.primusnetz.de/mgeisler/alcd
+
==Configuration==
| Plugin homepage
+
cd /usr/local/bin
 +
ln -s [[Struktur|$SOURCEDIR]]/VDR/PLUGINS/src/alcd/scripts/*sh .
 +
 
 +
add to VDRs command line
 +
-P'acld -r /usr/local/bin/activy.sh'
 +
 
 +
===Params===
 +
{| class="wikitable"
 +
|-
 +
!Parameter (short)
 +
!Parameter (long)
 +
!Description
 +
|-
 +
| -r || --resetscript=<FILE> || exec skript after PIC-Reset (default:none)
 
|}
 
|}
  
[[Category:Plugins]]
+
===Hints===
 +
an example activity_lcdoff.sh
 +
#!/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
  
<!-- Link to german wiki page -->
+
==Version History==
[[de:Alcd-plugin]]
+
{| width=100% class="wikitable"
 +
|-
 +
! 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==
 +
[http://www.htpc-forum.de/download/download.php?id=1 Version 1.5.2]
 +
 
 +
==Links==
 +
# [http://www.htpc-forum.de/index.php?url=downloads.php Current Version]
 +
 
 +
[[Category:Plugins]]
 +
[[Category:External Display]]
 +
[[Category:Activy]]
 +
{{i18n|alcd-plugin}}

Latest revision as of 16:25, 24 November 2013

Description

Authors: Andreas Weinberger, Markus Geisler, Helmut Auer

The plugin allows you to use the LCD of Fujitsu-Siemens Activy 300 and also the newer Activys.

With version 1.2.1 it is possible to display the next timer on the LCD of the Activy after the shutdown. The activity_lcdoff.sh provided by HelAu, works only under gen2vdr 1.1. Therefore, below is an example which you can adjust by yourselfes.

Status

Last Update 02/2010

Images

Settings

Hardware Requirements

  • Activy 300 Media Center from Fujitsu Siemens

Configuration

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

add to VDRs command line

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

Params

Parameter (short) Parameter (long) Description
-r --resetscript=<FILE> exec skript after PIC-Reset (default:none)

Hints

an example activity_lcdoff.sh

#!/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