CD-Player Plug-in
Description
This plug-in allows to play an audio CD like the good old CD player. The plug-in allows to display CD text information and CDDB information.
SVDRP Support
The CD-Player can be controlled via "svdrpsend.pl plug cdplayer <command>". The following commands are available:
Command | Description |
---|---|
PLAY | Play a disk |
PAUSE | Pause |
STOP | Stop |
NEXT | Next title |
PREV | Previous title |
Parameters
Parameter (short) | Parameter (long) | Description |
---|---|---|
-d <device> | --device=<device> | CD-Rom Device : /dev/cdrom |
-c <directory> | --configdir=<directory> | Configuration directory (currently only used for still-picture) |
-s <filename> | --stillpic=<filename> | Filename for still picture : cd.mpg |
-S <server name> | --cddbserver=<server name> | Hostname for CDDB server : (default gnudb.gnudb.org) |
-P <port> | --cddbport=<port> | Port for CDDB server : (default 8880) |
-C <directory> | --cddbcache=<directory> | CDDB cache directory |
-N | --disablecddbcache | Disable CDDB cache |
-n | --disablecddb | Disable CDDB query |
Handling
Key | Function |
---|---|
Stop | Exit |
Back, Ok | Configurable, either exit plugin, pause current replay, or no function 2) |
FastFwd | Play faster |
FastRew | Play slower |
Up, Next | Next track |
Down, Prev | Previous track |
Left
|
Toggle auto repeat 1)
|
Red
|
Toggle between shuffle and sorted play 1) |
Green | One minute forward |
Yellow | One minute back |
Blue | Change between title and detail view |
1) available in Version 1.1.0
2) available in Version 1.1.7
Requirements
Installation
Install the plug-in part as usual (see vdr docs if you don't know already). For the still picture the file cd.mpg must be copied from the contrib directory:
mkdir $VDRCONFIG/plugins/cdplayer
cp $SOURCEDIR/VDR/PLUGINS/src/cdplayer/contrib/cd.mpg $VDRCONFIG/plugins/cdplayer
Support for graphtft
For graphtft-support enable "DEFINES += -DUSE_GRAPHTFT" in the Makefile or add this line to the Make.config file of the VDR otherwise graphtft will not display the play list.