Skip to content

This simple plugin displays the status of all available dvb devices.

License

Notifications You must be signed in to change notification settings

vdr-projects/vdr-plugin-devstatus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a "plugin" for the Video Disk Recorder (VDR).

Written by:                  Walter Koch <[email protected]>

Project's homepage:          http://www.u32.de/vdr.html#devstatus

Latest version available at: http://www.u32.de/vdr.html#devstatus

See the file COPYING for license information.


Description (version 0.5.0):

This simple plugin displays the status of all
available dvb devices. This could in case of driver
problems. It should works with vdr 2.4.x and maybe 2.2.x,
but not with 1.5.x or earlier. 

For every dvb device known to vdr it shows
* its type (DVB-T, DVB-C (not tested), DVB-S)
* its name 
* its /dev path (/dev/dvb/adapter*)
* its current recordings with their start time and title. 
  Selecting a recording and pressing 'ok' starts it for
  timeshift viewing.
  
  Press the red key to toggle the recordings display. 
  
* the channels the device is currently tuned to.  
  The provider of every channel is also shown. 
  
  The live channel is marked with a plus sign. 
  Crypted channels are marked with a "x".
  There are also marks for radio channels ("r"), tv channels ("t"), 
  video only channels ("v") and payload free channels("?").
  
  The channels are selectable; pressing OK switches to this channel 
  (without exiting the plugin). Pressing the keys "7" or "9"
  will change to the closest transponder with lower or higher frequency.
  Attention: This will break a current recordind on this device!
  
  Press the yellow key to show/hide this channel display. 
  
* the signal strength and the signal / noise ratio of
  the device. Note: Some dvb device driver do not provide this info.
  
  Press the green key to toggle the signal display. 
  Press the blue key to refresh the screen (and thus the values)
  
* The device which delivers the live view is marked with the text "live" 
* the settings are retained between sessions
* there is also a small setup page
  

This plugin is heavily based on the recstatus plugin by 
Christian Wieninger and Mike Constabel 
(<http://www.constabel.net/vdr/plugins.de.htm>). 
To cry it out loudly: devstatus is a renamed version with
additional code. I changed the name to "devstatus" 
because most information this plugin provides 
aren't connected to recordings anymore.

Joe_D at vdr-portal.de implemented the automatic repaint of the screen
as soon as channel are switched or recording starts or stops.
Thanks.


I used also some code from the femon plugin 
(http://www.saunalahti.fi/~rahrenbe/vdr/femon/).


Example OSD output:

                          Device status

--- Device 1   (device with decoder, primary device) ---
satellite card (ST STV0299 DVB-S) - /dev/dvb/adapter0/frontend0
frequency: 12070 MHz, signal: 65%, s/n: 81%
currently no recordings
 1045  t x  PREMIERE START  (PREMIERE)
 3080  t x  TNT SERIE  (PREMIERE)
 3133  t x  BLUE MOVIE Extra  ()
 3134  t x  BLUE MOVIE Gay  ()
 3135  t x  BLUE MOVIE  ()
 3264  t x  Erotik 1  ()
 3265  t x  Erotik 2  ()
 3326  t x  GOLDSTAR TV  (PREMIERE)
 3337  t x  HEIMATKANAL  (PREMIERE)
 3342  t x  HIT24  (PREMIERE)
 3468  t x  RTL CRIME  (PREMIERE)
 3471  t x  RTL PASSION  (PREMIERE)
 3684  r x  P-60ER/70ER  (PREMIERE)
 3685  r x  P-80ER/90ER  (PREMIERE)
 3686  r x  P-COUNTRY  (PREMIERE)
 3687  r x  P-DEUTSCHE CHARTS  (PREMIERE)
 3689  r x  P-LOVE SONGS  (PREMIERE)
 3690  r x  P-RnB/HIP HOP  (PREMIERE)
 3691  r x  P-ROCK HYMNEN  (PREMIERE)

--- Device 2 -- Live  ---
terrestrial card (Philips TDA10045H DVB-T) - /dev/dvb/adapter1/frontend0
frequency: 706 MHz, signal: 80%, s/n: 99%
currently no recordings
  101  t +  Das Erste  (ARD)
  104  t    arte  (ARD)
  118  t    EinsFestival  (ARD)
  120  t    Phoenix  (ARD)

--- Device 3   ---
terrestrial card (Afatech AF9013 DVB-T) - /dev/dvb/adapter2/frontend0
frequency: 746 MHz, signal: 100%, s/n: 0%
currently no recordings
  107  t    SAT.1  (ProSiebenSat.1)
  108  t    ProSieben  (ProSiebenSat.1)
  109  t    kabel eins  (ProSiebenSat.1)
  121  t    N24  (ProSiebenSat.1)


  no recordings     no strength     no channels    Refresh display

    
Example SVDRP-Session:

  PLUG devstatus
  214-Plugin devstatus v0.3.0 - Status of dvb devices
  214-SVDRP commands:
  214-    DEVSTAT   RECNUMBER
  214 End of HELP info
  
  PLUG devstatus RECNUMBER
  900-Number of concurrent recordings:
  900- Device 1: 0
  900-
  900- Device 2: 0
  900
  
  PLUG devstatus DEVSTAT
  900-List of DVB devices:
  900-  --- Device 1 (device with decoder, primary device) ---:
  900-    currently no recordings
  900-
  900-  --- Device 2 ---:
  900-    currently no recordings
  900


----

Some words from the original author of the recstatus plugin:

> The purpose for writing this, was for special testing of my
> configuration. So its unlikely that this plugin will be maintained,
> atleast not from me ;-) But perhaps, someone will find it useful.
> 
> Have fun!
> 
> Christian Wieninger

About

This simple plugin displays the status of all available dvb devices.

Resources

License

Stars

Watchers

Forks